Account status & info
GET
/account
bearer_auth
Returns the authenticated caller's account status and configuration, the account's API keys (`api_keys`: id/name/status/created_at, plus `last_used_at` when known and `revoked_at` on revoked keys) and an `api_key` echo carrying the signup key's id. The response NEVER includes key values — read one via GET /account/api-keys/{key_id} or GET /account/api-key.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
Authorization |
header | string | yes | `Bearer <token>` obtained from `POST /login`. |
Responses
| Status | Description |
|---|---|
200 |
Account status and info. |
401 |
Missing or invalid credentials. |
404 |
Account not found. |
502 |
Internal error; a generic error is returned and no internals are leaked. |
200 example
{
"status": "ready",
"email": "user@example.com",
"mfa": "sms",
"tier": "basic",
"webhook": {
"configured": true,
"url": "https://hook.example/ingest",
"api_key_configured": true
},
"api_keys": [
{
"id": "ak_2",
"name": "key-2",
"status": "active",
"created_at": "2026-09-16T12:00:00Z"
},
{
"id": "ak_1",
"name": "key-1",
"status": "active",
"created_at": "2026-09-01T09:00:00Z",
"last_used_at": "2026-09-16T13:00:00Z"
},
{
"id": "ak_0",
"name": "key-0",
"status": "revoked",
"created_at": "2026-08-01T09:00:00Z",
"revoked_at": "2026-08-15T10:00:00Z"
}
],
"api_key": {
"id": "ak_1"
},
"account_info": {
"company": {
"name": "Acme SARL",
"vat_id": "FR12345678901",
"address": "12 rue de Rivoli",
"city": "Paris",
"postal_code": "75001",
"country": "FR",
"registration_number": "RCS Paris 123 456 789"
},
"phone_number": "+33123456789",
"billing_contact": {
"name": "Jane Doe",
"email": "billing@acme.com"
}
}
}