Credit balance and the current rate
GET
https://server.heyrik.com/api/v1/balanceHeaders
AuthorizationstringRequiredUse Bearer $HEYRIK_API_KEY with an account-scoped API key. Keep the key on your server.
Response
Explore the example values. This is not a complete response schema.
dataobjectExplore 5 properties
credits_balancenumberExample 2781.733
credits_usednumberExample 218.267
minutes_balancenumberExample 500
credits_per_minutenumberExample 4
statusstringExample "active"
GET/balance
cURL
curl https://server.heyrik.com/api/v1/balance \
-H "Authorization: Bearer $HEYRIK_API_KEY"Response example
JSON
{
"data": {
"credits_balance": 2781.733,
"credits_used": 218.267,
"minutes_balance": 500,
"credits_per_minute": 4,
"status": "active"
}
}Illustrative examples · No live request is sent
