GMB Attributes

Get attribute metadata

Returns metadata about which Google Business Profile attributes are available for a location or business category. Use this endpoint to discover valid attribute names, value types, and allowed enum values before reading or writing via gmb-attributes.

Two mutually exclusive query modes:

Location mode: pass locationId (or rely on the account's stored selectedLocationId). Google returns attributes valid for that specific location.

Category mode: pass categoryName (must start with categories/) and regionCode. Google returns attributes valid for that category across the given region. languageCode is optional in category mode.

Both modes support pageSize and pageToken for pagination.

Billing: Read (free unless it says otherwise) · Rate limit: 120/min

get/v1/messaging/accounts/{accountId}/gmb-attribute-metadata

Request

  • Base URL: https://apihub.co.il
  • URL: https://apihub.co.il/v1/messaging/accounts/{accountId}/gmb-attribute-metadata
  • Auth: HTTP bearer

Path parameters

accountIdstring required

Query parameters

pageSizeinteger

Maximum number of attribute metadata items to return. Google defaults to 200.

pageTokenstring

Pagination token from a previous response's nextPageToken field.

locationIdstring

Google Business Profile location ID (e.g. "6257659026299438786"). If omitted, uses the account's stored selectedLocationId. Mutually exclusive with categoryName.

regionCodestring

BCP-47 region code (e.g. "US", "ES"). Required when categoryName is provided.

categoryNamestring

Category resource name, must start with "categories/" (e.g. "categories/gcid:plumber"). Required together with regionCode. Mutually exclusive with locationId.

languageCodestring

BCP-47 language code for display names (e.g. "en", "es"). Optional when categoryName is provided. Omitted from the Google call when not supplied.

Headers

Idempotency-Keystring

Replay-safe: the same execution is returned instead of charging twice

X-Tagstring

Group calls into one job (e.g. one video) — see GET /v1/usage?tag=…

Response

Completed

idstring

Execution id — stable across internal retries; use it with GET /v1/executions/{id}

status'pending' | 'processing' | 'completed' | 'partial' | 'failed' | 'cancelled' | 'timeout'
operationstring
tagstring nullable

Your X-Tag, if sent

created_atstring date-time
completed_atstring date-time nullable
errorstring nullable

Changes

No recorded changes to this operation across all 2 revisions of this API.