API Client Bearer Token – Baack docs
API Client Bearer Token
Representation of a bearer token used to authenticate an API request
Browse the docs
Endpoints
GET/n/v1/bearertoken/{urn}
Endpoint used to issue new bearer tokens for an API client. Actual the token is only returned on create and an obfuscated token is returned on read.
Parameters
urn(path, required)- String representation of a Unique Resource Name. Typically a UUID with 36 characters.
Responses
- 200 OK
- returns API Client Bearer Token
READ_SUCCESS - 404 Not found
- returns Error
NOT_FOUND
curl -H "Authorization: Bearer $BAACK_API_TOKEN" \ https://api.baack.co/n/v1/bearertoken/{urn}
Fields
| Field | Type | Description |
|---|---|---|
| urn | string (uuid) | |
| apiClient | API Client | Required on create.Ignored on update. |
| bearerToken | string | |
| expirationTimestamp | string (date-time) | Required on create. |