GET
/
v0
/
credits
curl --request GET \
  --url 'https://api.unify.ai/v0/credits' \
  --header "Authorization: Bearer $UNIFY_KEY"
{
    "id": "<USER_ID>",
    "credits": 10
}

Returns the number of available credits.

Authorizations

Authorization
string
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

curl --request GET \
  --url 'https://api.unify.ai/v0/credits' \
  --header "Authorization: Bearer $UNIFY_KEY"
{
    "id": "<USER_ID>",
    "credits": 10
}