google business profile
Upload photo
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.
AuthorizationBearer <token>
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
accountIdstring
Query Parameters
locationId?string
Override which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
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://zernio.com/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": {}
}