post
https://public-api.leexi.ai/v1/reseller/companies
Create a client company attached to your reseller account
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Example payload
name, trial_end and company_setting.license_category are required. trial_end is a Unix timestamp in seconds: the company starts a Leexi trial until that date, or is created with an ended trial when the date is in the past.
{
"name": "New Client",
"reseller_external_id": "CLIENT-9",
"trial_end": 1767222000,
"company_setting": { "license_category": "business" },
"setting": { "locale": "fr-FR", "time_zone": "Europe/Paris" }
}The company is created under your reseller account with its settings and the license you choose among free, starter, ai_meeting and business: an unknown or missing license answers 422, and so does an unknown subscription_interval, subscription_currency, setting.locale or setting.time_zone. It has no team yet: create one with the client teams endpoints before adding users.
Requires thewrite_clientspermission scope on the API key of a reseller account.
reseller_external_idmust be unique among your client companies: a duplicate answers409.
401401
402402
429429
