Skip to content

List media

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

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

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

Parameters

  • accountId (path, string) required

  • locationId (query, string) — Override which location to query. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.

  • pageSize (query, integer) — Number of items to return (max 100)

  • pageToken (query, string) — Pagination token from previous response

Responses

200 — Media items fetched successfully

  • success (boolean)
  • accountId (string)
  • locationId (string)
  • mediaItems (array)
  • nextPageToken (string)
  • totalMediaItemsCount (integer)

400 — Invalid request

  • error (string)
  • details (object)

401 — Unauthorized

  • error (string)
  • details (object)