v2

latestOpenAPI 3.0.0raw.githubusercontent.com2026-02-16143114179.4 KB
Tenants

Update current tenant

Update tenant profile fields such as company name, webhook URL, or custom settings.

patch/api/tenants/me

Request body

namestring
emailstring
webhookUrlstring
settingsobject

Custom tenant settings (merged with existing)

Example request

{
  "name": "Updated Company Name",
  "email": "billing@company.com",
  "webhookUrl": "https://example.com/webhooks"
}

Response

Tenant profile updated

idstring required
namestring required
slugstring required
emailstring required
apiKeystring required
webhookUrlstring
webhookSecretstring
isActiveboolean required
settingsobject
lastLoginAtstring
createdAtstring required
updatedAtstring required

Example response

{
  "id": "clx1234567890",
  "name": "Acme Corp",
  "slug": "acme-corp",
  "email": "john@company.com",
  "apiKey": "sk_live_abc123...",
  "webhookUrl": "https://example.com/webhooks",
  "webhookSecret": "whsec_abc123...",
  "isActive": true
}