API Reference
Get Credits
Check your remaining credit balance.
GET /api/v1/credits
Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer moe_sk_live_… |
Example
curl https://api.moevox.com/api/v1/credits \ -H "Authorization: Bearer moe_sk_live_your_key_here"
Response — 200 OK
{
"credits_left": 875
}Response fields
| Field | Type | Description |
|---|---|---|
credits_left | integer | Credits currently available. One credit = one sampled respondent. |
Errors
| Status | When |
|---|---|
401 | Missing, invalid, or revoked API key. |