curl --request POST \
--url https://api.flare.io/tokens/generate \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"tenant_id": 123
}
'{
"refresh_token_exp": 1723673997,
"token": "i-am-an-example-api-token"
}
curl --request POST \
--url https://api.flare.io/tokens/generate \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"tenant_id": 123
}
'{
"refresh_token_exp": 1723673997,
"token": "i-am-an-example-api-token"
}
Tokens are used to interact with the Flare API. They can be generated using an API key provided via the Authorization header. API tokens expire after 1 hour. The endpoint returns an API token via the response body, but also via cookies which can then be used in future HTTP requests. For more information about authentication, see the API Authentication Guide .Documentation Index
Fetch the complete documentation index at: https://flare-xavier-add-flario-proxies-documentation.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
{
"refresh_token_exp": 1723673997,
"token": "i-am-an-example-api-token"
}
Was this page helpful?