google business profile
List media
Lists media items (photos) for a Google Business Profile location. Returns photo URLs, descriptions, categories, and metadata.
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)
Default
100Range
value <= 100pageToken?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": {}
}Update location details PUT
Updates GBP location details (hours, description, phone, website). The updateMask field is required and specifies which fields to update.
Upload photo POST
Creates a media item (photo) for a location from a publicly accessible URL. Categories determine where the photo appears: COVER, PROFILE, LOGO, EXTERIOR, INTERIOR, FOOD_AND_DRINK, MENU, PRODUCT, TEAMS, ADDITIONAL.