Tenants
Create a tenant
Create a new tenant.
Returns the created tenant with a unique id. Store this ID in your database to reference this tenant later.
post/tenants
Request body
Example request
{
"name": "Acme Corp",
"metadata": {
"plan": "pro",
"internalId": "cust_12345",
"region": "us-west"
}
}Response
Tenant created
Example response
{
"data": {
"id": "cm6abc123def456ghi789",
"name": "Acme Corp",
"metadata": {
"plan": "pro",
"internalId": "cust_12345"
},
"status": "active",
"createdAt": "2026-02-03T10:30:00Z",
"updatedAt": "2026-02-03T10:30:00Z"
},
"meta": {
"requestId": "req_V1StGXR8_Z5jdHi6"
}
}