Authentication
How to obtain and use a Bearer token for the Daven API.
Authentication
The Daven API uses OAuth 2.0 Client Credentials flow.
All endpoints (except /oauth2/token) require a Bearer JWT in the Authorization header.
Get a token
See the full request and response details in the Authentication API Reference.
Use the token
Pass the token on every subsequent request:
Authorization: Bearer eyJhbGci...Tokens expire after the number of seconds in expires_in. Store the expiry
time and refresh the token before it expires rather than waiting for a 401 response.