PeumeAPI

Social publishing & inbox · Google Business

Assign location to another profile

Connect a location onto a DIFFERENT profile by reusing the OAuth grant from an already-connected account, with no browser and no re-authorization.

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/google-business-assign-location-to-another-profile \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "accountId": "your accountId",
    "selectedLocationId": "your selectedLocationId"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: google-business-assign-location-to-another-profile.

Parameters

accountIdRequiredstring

A source connected account whose OAuth grant is reused.

selectedLocationIdRequiredstring

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

googleAccountIdstring

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

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.