Login
Login
Obtain a JSON Web Token (JWT) for subsequent API authentication
POST
Login
All API requests must be authenticated using a JWT token. Follow the steps below to generate your token:Documentation Index
Fetch the complete documentation index at: https://docs.wokelo.ai/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Obtain a JSON Web Token (JWT) ffor subsequent API authenticationEndpoint Details
- Method: POST
- Endpoint:
/auth/token/
Request
Request Parameters
Submit the following parameters as form-data in the request body:Unique identifier for your organization, obtained from the API Credentials page
Secret key for your organization, obtained from the API Credentials page
Your email address used for Wokelo login
Your account password used for Wokelo login
Type of grant being requested (use
"password" for credential-based authentication)Response
Response Fields
On successful authentication (HTTP 200), the response will contain:JWT for authenticated API access
Token validity duration in seconds
Type of authentication token
Authorization scope of the token
Token used to obtain a new access token
- Ensure the
client_idandclient_secretare kept confidential - Any token returned by the API is sensitive and should be stored securely. Wokelo tokens are long-lasting and should never be exposed on the client side.
- The access token is time-limited; use the refresh token to obtain a new access token when it expires
- Use HTTPS for all authentication requests