Client Context | Baack docs
Client Context
Browse the docs
Endpoints
ReadGET/n/v1/clientcontext
Client context provides state information for the request context which can be useful for directing interactions
Responses
- 200 OK
- returns Client Context
READ_SUCCESS - 404 Not found
- returns Error
NOT_FOUND
curl -H "Authorization: Bearer $BAACK_API_TOKEN" \ https://api.baack.co/n/v1/clientcontext
Fields
| Field | Type | Description |
|---|---|---|
| userIdentities | array of Company Identity | Ignored on update. |
| hasBearer | boolean | |
| identity | Identity | |
| hasSession | boolean | |
| client | API Client | |
| company | Company | |
| loginIframeSrc | string (uri) | |
| user | User |
Company Identity
Representation used to capture the association between a company an an identity within that company scope
Fields
Used by: Client Context
User
Representation of a session user returned in contexts like the API client context when user based authentication is being used
Fields
| Field | Type | Description |
|---|---|---|
| urn | string (uuid) | |
| role | string | One of: |
| status | string | One of: |
Used by: Client Context