GMB Location Details

Select Google Business Profile location — estimate

Price the request without executing it. Same body as POST /v1/messaging/connect/googlebusiness/select-location.

post/v1/messaging/connect/googlebusiness/select-location/estimate

Request

  • Base URL: https://apihub.co.il
  • URL: https://apihub.co.il/v1/messaging/connect/googlebusiness/select-location/estimate
  • Auth: HTTP bearer

Request body

accountIdstring

Optional but recommended. The Google Business Profile Account resource name ("accounts/123") that owns the selected location (returned per-location by GET /v1/connect/googlebusiness/locations). When provided, the location is resolved directly instead of by enumerating the account, which is required for accounts that own many locations. Omit only for small accounts.

locationIdstring

The Google Business Profile location ID selected by the user. Send this or locations, not both.

redirect_urlstring uri

Optional custom redirect URL to return to after selection

pendingDataTokenstring required

Token from the OAuth callback redirect (pendingDataToken query param). Tokens and profile data are retrieved server-side from this token.

Response

Estimate

operationstring
estimated_creditsnumber
credits_to_reservenumber
estimated_usageobject
notestring nullable
sufficientboolean

Changes

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