List media
Lists media items (photos) for a Google Business Profile location. Returns photo URLs, descriptions, categories, and metadata.
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
Query Parameters
Override which location to query. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
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://zernio.com/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. The updateMask field is required and specifies which fields to update. This endpoint proxies Google's Business Information API locations.patch, so any valid updateMask field is supported. Common fields: regularHours, specialHours, profile.description, websiteUri, phoneNumbers, categories, serviceItems.
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.