LateLate API
Utilities

GMB Media


List Google Business Profile media (photos)

Lists media items (photos) for a Google Business Profile location. Returns photo URLs, descriptions, categories, and metadata.

GET
/v1/accounts/{accountId}/gmb-media
AuthorizationBearer <token>

API key authentication - use your Late API key as a Bearer token

In: header

Path Parameters

accountIdstring

Query Parameters

pageSize?integer

Number of items to return (max 100)

Default100
Rangevalue <= 100
pageToken?string

Pagination token from previous response

Response Body

application/json

application/json

application/json

curl -X GET "https://getlate.dev/api/v1/accounts/string/gmb-media"
{
  "success": true,
  "accountId": "string",
  "locationId": "string",
  "mediaItems": [
    {
      "name": "string",
      "mediaFormat": "PHOTO",
      "sourceUrl": "string",
      "googleUrl": "string",
      "thumbnailUrl": "string",
      "description": "string",
      "createTime": "2019-08-24T14:15:22Z",
      "locationAssociation": {
        "category": "string"
      }
    }
  ],
  "nextPageToken": "string",
  "totalMediaItemsCount": 0
}
{
  "error": "string",
  "details": {}
}
{
  "error": "string",
  "details": {}
}

Upload a photo to Google Business Profile

Creates a media item (photo) for a location from a publicly accessible URL.

Categories determine where the photo appears:

  • COVER - Cover photo
  • PROFILE - Profile photo
  • LOGO - Business logo
  • EXTERIOR - Exterior shots
  • INTERIOR - Interior shots
  • FOOD_AND_DRINK - Food and drink photos
  • MENU - Menu photos
  • PRODUCT - Product photos
  • TEAMS - Team/staff photos
  • ADDITIONAL - Other photos
POST
/v1/accounts/{accountId}/gmb-media
AuthorizationBearer <token>

API key authentication - use your Late API key as a Bearer token

In: header

Path Parameters

accountIdstring
sourceUrlstring

Publicly accessible image URL

mediaFormat?string
Default"PHOTO"
Value in"PHOTO" | "VIDEO"
description?string

Photo description

category?string

Where the photo appears on the listing

Value in"COVER" | "PROFILE" | "LOGO" | "EXTERIOR" | "INTERIOR" | "FOOD_AND_DRINK" | "MENU" | "PRODUCT" | "TEAMS" | "ADDITIONAL"

Response Body

application/json

application/json

application/json

curl -X POST "https://getlate.dev/api/v1/accounts/string/gmb-media" \  -H "Content-Type: application/json" \  -d '{    "sourceUrl": "https://example.com/photos/restaurant-interior.jpg",    "description": "Dining area with outdoor seating",    "category": "INTERIOR"  }'
{
  "success": true,
  "name": "string",
  "mediaFormat": "string",
  "googleUrl": "string"
}
{
  "error": "string",
  "details": {}
}
{
  "error": "string",
  "details": {}
}

Delete a photo from Google Business Profile

DELETE
/v1/accounts/{accountId}/gmb-media
AuthorizationBearer <token>

API key authentication - use your Late API key as a Bearer token

In: header

Path Parameters

accountIdstring

Query Parameters

mediaIdstring

The media item ID to delete

Response Body

application/json

application/json

application/json

curl -X DELETE "https://getlate.dev/api/v1/accounts/string/gmb-media?mediaId=string"
{
  "success": true,
  "deleted": true,
  "mediaId": "string"
}
{
  "error": "string",
  "details": {}
}
{
  "error": "string",
  "details": {}
}