Check your credits balance
Changed onReturns the credit balance of the account the API key belongs to.
Authentication uses the X-API-Key header like every other endpoint. The api_key query parameter is a legacy alternative kept for backward compatibility; the email query parameter is ignored and the email is always resolved from the key.
get/account
Request
- Base URLhttps://app.bettercontact.rocks/api/v2
- URLhttps://app.bettercontact.rocks/api/v2/account
- AuthAPI key in header X-API-Key
Query parameters
api_keystring
Legacy alternative to the X-API-Key header. Prefer the header.
Response
Credit balance retrieved successfully.
Example response
{
"success": true,
"credits_left": 32377,
"email": "your_email@mycompany.com"
}Changes
- warning
deleted the
queryrequest parameteremail - info
api operation id
getAccountwas added - info
the
queryrequest parameterapi_keybecame optional - info
queryrequest parameterapi_keywas deprecated - info
added the optional property
to the response with the status
- warning