Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

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

Body

application/json
slug
string
required

The desired slug for the Team

Maximum string length: 48
Example:

"a-random-team"

name
string

The desired name for the Team. It will be generated from the provided slug if nothing is provided

Maximum string length: 256
Example:

"A Random Team"

Response

The team was created successfully

id
string
required
slug
string
required
name
string | null
required
avatar
string | null
required
createdBy
number | null
required
createdAt
number
required
updatedAt
number
required