Get the account
GET /v1/account
The account and limits behind your API key.
API key with the read scope.
Request
curl "https://api.formatjet.com/v1/account" \ -H "Authorization: Bearer $FORMATJET_API_KEY"Responses
200 OK
Account
| Field | Type | Description |
|---|---|---|
organization | object | |
organization.id | string | |
organization.name | string | |
plan | object | |
plan.id | string | |
plan.name | string | |
key | object | |
key.id | string | |
key.name | string | |
key.prefix | string | |
key.mode | "live" | "test" | |
key.scopes | "convert" | "read" | "webhooks"[] | |
credits | object | |
credits.available | number | Credits a new job can use |
credits.held | number | Credits held by jobs that are running |
credits.monthly | object | null | This month’s plan credits, if the plan grants them |
credits.monthly.granted | number | |
credits.monthly.remaining | number | |
credits.monthly.resets_at | string | |
limits | object | |
limits.max_file_bytes | number | |
limits.concurrent_jobs | number | |
limits.requests_per_second | number | null | |
limits.jobs_per_day | number | null | Test keys only: free jobs a day; live jobs spend credits |
limits.jobs_today | number | null |
{ "organization": { "id": "org_01JB0Y6S7T8V9W0X1Y2Z3A4B5C", "name": "Acme" }, "plan": { "id": "free", "name": "Free" }, "key": { "id": "key_01JBW2N4P6Q8R0S2T4V6W8X0Y2", "name": "Staging server", "prefix": "fj_test_7Gk2", "mode": "test", "scopes": [ "convert", "read", "webhooks" ] }, "credits": { "available": 300, "held": 0, "monthly": { "granted": 300, "remaining": 300, "resets_at": "2026-11-01T00:00:00.000Z" } }, "limits": { "max_file_bytes": 1048576, "concurrent_jobs": 2, "requests_per_second": 2, "jobs_per_day": 100, "jobs_today": 4 }}Errors
Problem documents (application/problem+json); see Errors.
| Status | Code | When |
|---|---|---|
| 401 | unauthorized | No API key, or one that’s unknown or revoked. |
| 403 | forbidden | The key lacks the read scope, or the plan has no API. |
| 429 | rate_limited | More requests than the plan allows in 10 seconds: wait Retry-After seconds. |