Skip to main content
POST
Create a company

Body

application/json

Request payload

user
object
required

The company's first admin user.

company
object
required
agent_access
object

Asks for a credential an administrator of the new company can approve for an agent. Honored only while Fluid has agent access enabled; otherwise ignored and absent from the response.

Response

The company and its admin user were created.

company
object
required
user_company
object
required
requirements
object
required

What the merchant must still do, at the moment of creation, before the company is served at its platform hostnames. The current company in GET /api/me (rep-v0) carries the same field, read from the same fact.

meta
object
required
agent_access
object

Present only when the request carried agent_access and Fluid has agent access enabled. The administrator approves the request at approval_url once the signup is confirmed; the agent then polls with handle (see POST /api/agent-access/v1/poll).