cURL
curl --request GET \ --url https://origami.chat/api/v1/credits \ --header 'Authorization: Bearer <token>'
{ "balance": 1250, "currency": "credits" }
Returns the current credit balance for the organization tied to this API key.
API key with og_live_ prefix. Create keys in Settings → API Keys.
og_live_
Pass in the Authorization header:
Authorization
Authorization: Bearer og_live_abc123...
Credit balance retrieved.
Current credit balance for the organization (rounded to nearest whole credit).
credits