Get Customer

Customers

Get Customer

One customer, with how many agents, active phone numbers and contacts it has and what its usage has cost you since the 1st of this month (UTC). Deleted customers waiting to be erased are found too.

GET/customers/{id}

Path parameters

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

Example request

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

Responses

StatusDescription
200The customer.
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

idstringrequired
The customer's id (org_…). Send it as Katexs-Workspace to act inside this customer.
namestringrequired
The customer's name.
externalIdstring | nullrequired
Your own id for this customer, unique among your customers; null when you gave none.
metadataobjectrequired
Your own flat key-value data about the customer: up to 50 keys of 1-40 characters, each value a string (up to 500 characters), a number or a boolean. No nested objects or lists; 8 KB in all.
timezonestringrequired
The customer's IANA time zone; every date its console shows is in it.
allottedCallLinesinteger | nullrequired
How many of your call lines this customer may use at once; null for no cap. Range: 0–.
archivedAtstring (date-time) | nullrequired
When the customer was deleted; null while it is live.
eraseAfterstring (date-time) | nullrequired
When a deleted customer will be erased for good (30 days after deletion); null while it is live.
createdAtstring (date-time)required
When the customer was created.
countsobjectrequired
What the customer holds.
spendThisMonthMicrointegerrequired
What this customer's usage has cost you since the 1st of this month (UTC), in millionths of your currency: 412500000 is $412.50.
200 response
{
  "id": "org_5b2f9c1e-8a4d-4f7b-9e3a-2c6d1f0a7b84",
  "name": "Sunrise Dental Clinic",
  "externalId": "clinic-0042",
  "metadata": {
    "city": "Austin",
    "tier": "gold",
    "seats": 3
  },
  "timezone": "Asia/Kolkata",
  "allottedCallLines": 2,
  "archivedAt": null,
  "eraseAfter": null,
  "createdAt": "2026-10-02T06:14:22.418Z",
  "counts": {
    "agents": 2,
    "phoneNumbers": 1,
    "contacts": 418
  },
  "spendThisMonthMicro": 412500000
}

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