---
title: "Select Google Business Profile location — estimate"
method: POST
path: "/v1/messaging/connect/googlebusiness/select-location/estimate"
tags: ["GMB Location Details"]
---

# Select Google Business Profile location — estimate

`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

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

## Request body

- object
  - `accountId` string: 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.
  - `locations` object[]: Several locations to connect from one sign-in, each as its own account. The sign-in is used once for the whole batch and handed back only if none connected. With two or more distinct locations the response lists `accounts` and `failed` instead of `account`, and the request is refused with 400 on a reconnect. A single location behaves exactly like locationId.
    - `accountId` string: The location's Google Business Profile Account resource name, as for the top-level accountId.
    - `locationId` string, required
  - `locationId` string: The Google Business Profile location ID selected by the user. Send this or locations, not both.
  - `redirect_url` string, uri: Optional custom redirect URL to return to after selection
  - `pendingDataToken` string, required: Token from the OAuth callback redirect (pendingDataToken query param). Tokens and profile data are retrieved server-side from this token.

## Response `200`

Estimate

- Estimate
  - `operation` string
  - `estimated_credits` number
  - `credits_to_reserve` number
  - `estimated_usage` object
  - `note` string, nullable
  - `balance` object
    - `available` number
  - `sufficient` boolean

---

[API](https://skmtc.dev/apihub/apis/apihub-one-api-for-chat-image-video-ai.md) · [All operations](https://skmtc.dev/apihub/apis/apihub-one-api-for-chat-image-video-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/apihub/apis/apihub-one-api-for-chat-image-video-ai/revisions/a8caa42835ce?raw)
