GMB Media
Upload, list, and delete photos for Google Business Profile locations via the Late API
List Google Business Profile media (photos)
Lists media items (photos) for a Google Business Profile location. Returns photo URLs, descriptions, categories, and metadata.
API key authentication - use your Late API key as a Bearer token
In: header
Path Parameters
Query Parameters
Number of items to return (max 100)
100value <= 100Pagination 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 photoPROFILE- Profile photoLOGO- Business logoEXTERIOR- Exterior shotsINTERIOR- Interior shotsFOOD_AND_DRINK- Food and drink photosMENU- Menu photosPRODUCT- Product photosTEAMS- Team/staff photosADDITIONAL- Other photos
API key authentication - use your Late API key as a Bearer token
In: header
Path Parameters
Publicly accessible image URL
"PHOTO""PHOTO" | "VIDEO"Photo description
Where the photo appears on the listing
"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
API key authentication - use your Late API key as a Bearer token
In: header
Path Parameters
Query Parameters
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": {}
}