v2

latestOpenAPI 3.1.02026-08-075421692.0 MB
Connect

Assign GBP location to another profile

Connect a Google Business location onto a DIFFERENT profile by reusing the OAuth grant from an already-connected GBP account — no browser, no re-authorization. Built for agencies whose single Google account has manager access to many client locations and who run one profile per client: connect one location the normal way (browser OAuth), then bulk-assign the rest onto each client's profile via this endpoint. The path accountId is a SOURCE connected GBP account (the token holder); the body profileId is the TARGET profile. Returns 409 if the target profile already has a Google Business connection (switch its location with PUT gmb-locations instead).

post/v1/accounts/{accountId}/gmb-locations/assign

Path parameters

accountIdstring required

A source connected GBP account whose OAuth grant is reused.

Request body

profileIdstring required

Target profile to connect the location onto.

selectedLocationIdstring required

The Google Business location ID to assign (e.g. "locations/123").

googleAccountIdstring

Optional but recommended. The Google Business Account resource name ("accounts/123") that owns the location (from GET gmb-locations). When provided the location is resolved directly instead of by enumerating the account, required for accounts with many locations.

Response

Location assigned to the target profile

messagestring