List Customer Keys

Customers

List Customer Keys

Every API key made for this customer, newest first, revoked ones included: name, prefix, access level and when it was last used. Never the key itself. Not paged. A deleted customer answers 404.

GET/customers/{id}/keys

Path parameters

idstringrequired
The customer's id (org_…), as Create Customer answered.

Example request

bash
curl "https://app.katexs.com/api/v1/customers/{id}/keys" \
  -H "Authorization: Bearer $KATEXS_API_KEY"

Responses

StatusDescription
200The customer's keys.
400The request carried the Katexs-Workspace header. Customers are managed from your own workspace.
401The key is missing, wrong or revoked. The answer is always the same, whichever it is.
404You have no customer with that id. Another developer's customer reads the same.
409Your workspace resells the console under white label: its workspaces are clients, managed in the console, not API customers.
429Over a per-minute limit. Wait for Retry-After seconds. code and limit say which limit: rate_limit_resources (240 requests a minute for the workspace), rate_limit_family (2,400 across a developer's customers), rate_limit_calls, rate_limit_messages, rate_limit_codes, rate_limit_code_recipient, concurrent_calls or number_daily_limit.

Response fields

itemsobject[]required
nextCursornullrequired
Always null: this list is one page. Present so every list reads alike.
200 response
{
  "items": [
    {
      "id": "0c7e4a92-3d1b-4f6a-8e25-91b7c3d4f5a6",
      "name": "Sunrise front-desk dashboard",
      "prefix": "ta_live_Xk3pQ9",
      "scope": "read",
      "createdAt": "2026-10-03T08:22:10.511Z",
      "lastUsedAt": "2026-10-06T09:58:47.090Z",
      "revokedAt": null
    },
    {
      "id": "7f1b9d20-6c4e-4a83-b5d7-2e9f0a1c3b48",
      "name": "Old CRM sync",
      "prefix": "ta_live_m2Rt8w",
      "scope": "build",
      "createdAt": "2026-09-12T14:05:33.004Z",
      "lastUsedAt": "2026-09-30T18:41:02.776Z",
      "revokedAt": "2026-10-01T05:00:00.000Z"
    }
  ],
  "nextCursor": null
}

Last updated November 2026 · Found a problem? Email support@katexs.com