Skip to main content
POST
Create the account of the signed-in person's company.

Authorizations

Authorization
string
header
required

A person's session: Authorization: Bearer <ID token>, the ID token the Sendblue sign-in issues. The person acts in their company's root account with the role of their seat.

Headers

Idempotency-Key
string
required

A value unique to this intended write, 1 to 128 visible ASCII characters. A repeat with the same key returns the original result.

Required string length: 1 - 128
Pattern: ^[\x21-\x7E]+$

Body

application/json

No members. The company comes from the session.

Response

The company already had its account. Nothing changed.

id
string
required
name
string
required
status
enum<string>
required
Available options:
active,
suspended,
closed
type
enum<string>
required
Available options:
root
created_at
string<date-time> | null
required