๐๏ธ Get Token
This endpoint allows advertisers or agencies to request a JWT token using theirclient_id and client_secret. The returned token is valid for 1 hour and must be included in the Authorization header for subsequent API calls.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
client_id and client_secret. The returned token is valid for 1 hour and must be included in the Authorization header for subsequent API calls.
curl -X POST https://betaapi.audiohook.com/stage/get-token \
-H "Content-Type: application/json" \
-d '{
"request_headers": [
{
"name": "X-Request-Header",
"value": "Header value"
}
],
"body": {
"client_id": "ac500bf0-2567-4ba6-9776-89c664203d99",
"client_secret": "47e438d3-8b12-45ab-9017-732349dfe925"
}
}'
{
"_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"token_type": "bearer"
}
POST /stage/get-token
| Parameter | Required | Type | Description |
|---|---|---|---|
client_id | โ | string | The client ID associated with an advertiser/agency |
client_secret | โ | string | The client secret associated with the advertiser |
