ApiBusiness Context

What the current token is scoped to

The business this session acts for, with the role the server read now. Useful to a dashboard on load, and the smallest endpoint that demonstrates scoping: it names a business without the caller having named one.

GET
/api/b/v1/context

The business this session acts for, with the role the server read now.

Useful to a dashboard on load, and the smallest endpoint that demonstrates scoping: it names a business without the caller having named one.

Authorization

OAuth2PasswordBearer
AuthorizationBearer <token>

In: header

admin_access_token?string|null

Response Body

application/json

application/json

curl -X GET "https://example.com/api/b/v1/context"
{  "business": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "legal_name": "string",    "trading_name": "string",    "country": "string",    "kyb_status": "unverified",    "kyb_tier": "tier_0",    "created_at": "2019-08-24T14:15:22Z"  },  "role": "owner",  "status": "string",  "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5"}