Auth

Issue access token

Issues a short-lived access token from the authenticated API key. Access tokens can optionally be bound to a specific employer or employee for scoped access. Tokens expire after 15 minutes.

post/v1/auth/access-tokens

Request

  • Base URL: https://api.vitablehealth.com
  • URL: https://api.vitablehealth.com/v1/auth/access-tokens
  • Auth: HTTP bearer

Request body

grant_type'client_credentials' required
  • client_credentials - client_credentials

Response

access_tokenstring required

The issued access token (vit_at_*)

token_typestring required

Token type, always 'Bearer'

expires_ininteger required

Token lifetime in seconds

Changes

No recorded changes to this operation across all 1 revision of this API.