Skip to main content
GET
/
credits
Check API key credits
curl --request GET \
  --url https://api.callheater.com/credits \
  --header 'X-API-Key: <api-key>'
{
  "user": {
    "id": "user_123",
    "phone": "+14155550123",
    "email": null
  },
  "credits": {
    "balance": 99,
    "source": "unkey"
  },
  "apiKeys": []
}
Use this endpoint to verify an API key and check its remaining credit balance.

Authorizations

X-API-Key
string
header
required

Send your provided API key in the X-API-Key header.

Headers

X-API-Key
string
required

Your provided CallHeater API key.

Response

The API key is valid and credit details were returned.

user
object
required
credits
object
required
apiKeys
object[]
required

API keys are only listed when the request is authenticated with a bearer token.