Skip to main content
GET
/
credits
Get credit balance
curl --request GET \
  --url https://origami.chat/api/v1/credits \
  --header 'Authorization: Bearer <token>'
{
  "balance": 1250,
  "currency": "credits"
}

Authorizations

Authorization
string
header
required

API key with og_live_ prefix. Create keys in Settings → API Keys.

Pass in the Authorization header:

Authorization: Bearer og_live_abc123...

Response

Credit balance retrieved.

balance
integer
required

Current credit balance for the organization (rounded to nearest whole credit).

currency
enum<string>
required
Available options:
credits