Zernio
Zernio
API Reference

Google Business Profile

Reviews

Get reviewsGETGet a reviewGETBatch get reviewsPOSTReply to a reviewPOSTDelete a review replyDELETE

Food Menus

Get food menusGETUpdate food menusPUT

Location Details

Get location detailsGETUpdate location detailsPUT

Services

Get servicesGETReplace servicesPUT

Verification

Get verification stateGETFetch verification optionsPOSTStart a verificationPOSTComplete a verificationPOST

Media

List mediaGETUpload photoPOSTDelete photoDELETE

Attributes

Get attributesGETUpdate attributesPUTGet attribute metadataGET

Place Actions

List action linksGETCreate action linkPOSTUpdate action linkPATCHDelete action linkDELETE
Dashboard
llms.txtOpenAPI
OverviewPlatformsAPI ReferenceResources
Google Business Profile

Upload photo

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

Categories determine where the photo appears: CATEGORY_UNSPECIFIED, COVER, PROFILE, LOGO, EXTERIOR, INTERIOR, PRODUCT, FOOD_AND_DRINK, MENU, COMMON_AREA, ROOMS, TEAMS, AT_WORK, ADDITIONAL.


POST
/v1/accounts/{accountId}/gmb-media

Authorization

bearerAuth
AuthorizationBearer <token>

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

In: header

Path Parameters

accountId*string

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.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

{  "success": true,  "name": "string",  "mediaFormat": "string",  "googleUrl": "string"}
Was this page helpful?

List media

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

Delete photo

Deletes a photo or media item from a Google Business Profile location.

sourceUrl*string

Publicly accessible image URL

Formaturi
mediaFormat?string
Default"PHOTO"

Value in

  • "PHOTO"
  • "VIDEO"
description?string

Photo description

Length1 <= length
category?string

Where the photo appears on the listing

Value in

  • "CATEGORY_UNSPECIFIED"
  • "COVER"
  • "PROFILE"
  • "LOGO"
  • "EXTERIOR"
  • "INTERIOR"
  • "PRODUCT"
  • "FOOD_AND_DRINK"
  • "MENU"
  • "COMMON_AREA"
  • "ROOMS"
  • "TEAMS"
  • "AT_WORK"
  • "ADDITIONAL"