Generate a token with an API key and HMAC
Generate a token with an API key and HMACSHA256.
Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Body Params application/json
{
"apiKey": "string",
"timestamp": 1711062317,
"hash": "string"
}
Request Code Samples
curl --location --request POST 'https://api.calven.com/v1/auth' \
--header 'Content-Type: application/json' \
--data-raw '{
"apiKey": "string",
"timestamp": 1711062317,
"hash": "string"
}'
Responses
application/json {
"authenticated": true,
"message": "string",
"token": "string",
"expiration": 0
}
Modified at 2025-04-03 13:54:20