All endpoints

Create a tenant

POSThttps://myagentmail.com/v1/tenants

Super admin only. Creates a new billing root and auto-provisions its Default workspace.

Request body

Content-Type: application/json

name
required
string

Responses

201Created

Authentication

Send your API key in the X-API-Key header (or Authorization: Bearer <key>). Any prefix accepted by this endpoint — tk_, wk_, ak_, or sa_ — is documented in the key prefix table.