Authentication
Access the Sayari API using JWT bearer tokens
Overview
The Sayari API uses OAuth 2.0 client credentials flow with JWT access tokens for authentication.
Getting an Access Token
Use your client credentials to obtain a bearer token via the authentication endpoint:
Token Request
Token Response
Using Your Token
Include the access token in the Authorization
header for all API requests:
Authenticated Request
Token Management
- Lifetime: Tokens expire after 24 hours
- Storage: Store tokens securely; never expose in client-side code