WhaBuzz docs
API reference

Tenant (your account)

The tenant your key belongs to.

The tenant your key belongs to.

Base URL https://api.whabuzz.com. Every request needs Authorization: Bearer <key> unless the operation says otherwise; see Authentication. Errors follow the two-source contract.

Operations on this page:

#Current tenant, including the Getting-started checklist

GET/v1/tenant

Allowed for every tenant status, so a pending tenant can see why it is blocked.

Auth: API key (tenant key, or app key with X-WhaBuzz-Tenant). Operation id: getTenant.

cURL:

curl -X GET "https://api.whabuzz.com/v1/tenant" \
  -H "Authorization: Bearer $WHABUZZ_KEY"
bash

Responses

200 Tenant

{
  "id": "a578246e-b97f-48e6-ae42-939ec3ccf917",
  "name": "Acme Fitness",
  "status": "active",
  "sandbox": false,
  "retention_days": 90,
  "billing_status": "trialing",
  "trial_ends_at": "2026-10-30T09:00:00Z",
  "created_at": "2026-10-16T09:00:00Z",
  "checklist": {
    "number_connected": true,
    "api_key_created": true,
    "webhook_verified": false,
    "test_message_sent": false
  }
}
json

Common errors. Shape and meanings are on the Errors page.

HTTPWhaBuzz codeMeaning
401unauthorizedMissing or invalid credentials

#Update retention or billing email

PATCH/v1/tenant

Auth: API key (tenant key, or app key with X-WhaBuzz-Tenant). Operation id: updateTenant.

Request body (application/json, required)

FieldTypeRequiredDescription
retention_days30 or 90 or 180 or 365no
billing_emailstring (email)no
namestringno

Request example:

{
  "retention_days": 180
}
json

cURL:

curl -X PATCH "https://api.whabuzz.com/v1/tenant" \
  -H "Authorization: Bearer $WHABUZZ_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "retention_days": 180
}'
bash

Responses

200 Updated tenant

{
  "id": "a578246e-b97f-48e6-ae42-939ec3ccf917",
  "name": "Acme Fitness",
  "status": "active",
  "retention_days": 180
}
json

Common errors. Shape and meanings are on the Errors page.

HTTPWhaBuzz codeMeaning
400invalid_requestInvalid request
403forbiddenNot allowed for this caller

This page as Markdown: /api/tenant.md. All docs in one file: /llms-full.txt.