GET
/
organization
cURL
curl --request GET \
  --url https://api.gmbapi.com/external-api/gmb/organization \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "payload": {
    "id": "org_123456",
    "name": "GMBapi",
    "accounts": [
      {
        "number_of_locations": 1,
        "id": "acc_111"
      },
      {
        "number_of_locations": 2,
        "id": "acc_222"
      },
      {
        "number_of_locations": 3,
        "id": "acc_333"
      }
    ],
    "owners": [
      "user_001",
      "user_002"
    ],
    "created_at": 1698765432000,
    "state": "ACTIVE"
  }
}
This endpoint retrieves detailed information about a specific organization based on the authenticated user’s context.

Authorizations

Authorization
string
header
required

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

Response

Organization response

success
boolean

Indicates if the request was successful

payload
object