Skip to main content
POST
Create a team

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required

Name of the team, must be at least 1 character long and trimmed

Minimum string length: 1
company_nanoid
string
required

Unique identifier for the company in nanoid format

Required string length: 15
Pattern: ^co-.*
admins
object[]
required
withdraw_fee_coverage
boolean
required

Indicates whether the team covers withdrawal fees

avatar_file_name
string

Optional filename for the team avatar

Response

Default Response

success
enum<boolean>
required
Available options:
true
data
object
required