Pular para o conteúdo principal
GET
/
api
/
v1
/
me
/
active-business
Get the caller's active business
curl --request GET \
  --url https://api.izap.ai/api/v1/me/active-business \
  --header 'Authorization: Bearer <token>'
{
  "active_business_id": "6a1f2e2e-1c34-4e2a-9c3e-1234567890ab"
}

Autorizações

Authorization
string
header
obrigatório

JWT access token obtained from POST /api/v1/auth/jwt/login, the OAuth token endpoint, or a business-scoped API token. Some Business/Chat/Template/Scheduling endpoints alternatively accept HTTP Basic credentials scoped to the business slug.

Resposta

The currently selected business, or null.

active_business_id
string<uuid> | null