The record of tenants: the organisations that use the platform, and whose customers they are. Every tenant keeps its own customers here as tenant records. A record's `id` is the customer's own tenant id, the one every other API and the authorisation server know it by; its `tenantId` is the tenant that owns the record, whose customer it is. Apiway's records are Apiway's customers; a customer of Apiway keeps its own customers the same way. Apiway is the first tenant to use this, not a special case. - A caller lists, creates and changes only the records its tenant owns. - A tenant can read its own record, whoever owns it. - Creating a record creates the record and nothing else. Onboarding (organisation structure, subscriptions, the first user, commerce) is composed on top by the owner. - A deleted record is kept, marked deleted, so a tenant that has gone is told apart from one that never existed. All changes to a record require If-Unmodified-Since for concurrency control.
https://tenants.api.apiway.netWhat this API commits to, from its published service level agreement.
99.9%
Availability
200 ms
Response time (p95)
6,000 / minute
Rate limit
25
Concurrent requests
Pick the allowance that fits; you can change plan as you grow.
Standard
10,000 requests / month included
Overage billed per request
Premium
100,000 requests / month included
Overage billed per request
Version 1, straight from the published contract.
/v1/tenants/v1/tenants/v1/tenants/{id}/v1/tenants/{id}/v1/tenants/{id}/v1/tenants/{id}/v1/tenantoptions/v1/tenantoptions/v1/tenantoptions/{id}/v1/tenantoptions/{id}curl https://tenants.api.apiway.net/v1/tenants \ -H "Authorization: Bearer $ACCESS_TOKEN"