Skip to main content
POST
Assign Google Business Profile location to another profile

Request contract

  • Method and path: POST /apis/v1/social/accounts/{accountId}/gmb-locations/assign
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/social/accounts/{accountId}/gmb-locations/assign
  • accountId: path; required
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

No additional charge for this operation.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

accountId
string
required

One of your social accounts (acc_...).

Pattern: ^acc_[0-9A-Za-z]{22}$

Body

application/json
profileId
string
required

One of your profiles (prf_...).

Pattern: ^prf_[0-9A-Za-z]{22}$
selectedLocationId
string
required

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

googleAccountId
string

Optional but recommended. The Google Business Profile 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

account
object
message
string