Organizations
/organizationsRetrieve organization details. Call it with no parameters to list your API key's organization and every organization under it; use those IDs as organization_id elsewhere.
- You get back
- One row per organization: your key's organization and every organization under it.
- Unique by
id
Query parameters5
organization_idintegerSpecific organization ID (send this or parent_organization_id, not both)
parent_organization_idintegerGet all child organizations. Used when neither organization_id nor parent_organization_id is sent
citystringExact city match, case-insensitive
statestringExact state name or code match, case-insensitive
is_activebooleanFilter active or inactive locations
Response fields15
idintegerOrganization ID
namestringOrganization name
organization_typestringADMIN, BRAND, LOCATION, SERVICE_AREA, or DEPARTMENT; use to select the correct reporting scope
created_atdatetimeWhen the organization was created
updated_atdatetimeLast update timestamp
billing_statusstringBilling status (NOT PAID, PAID, EXEMPT)
plan_tierstringProduct tier (STARTER, GROWTH, PRO, ENTERPRISE)
subscription_tierstringLegacy billing mirror; use billing_status going forward
curl -X GET "https://app.cheers.tech/api/public/v1/organizations" \-H "Authorization: Bearer YOUR_API_KEY"
[{"id": 123,"name": "Acme Restaurant","organization_type": "LOCATION","created_at": "2024-01-15T10:30:00Z","updated_at": "2024-06-20T14:45:00Z","billing_status": "PAID","plan_tier": "GROWTH","subscription_tier": "PAID","parent_organization_id": null}]