Skip to main content
POST
/
v1
/
orgs
/
{orgID}
/
teams
Create Team
curl --request POST \
  --url http://localhost:3000/v1/orgs/{orgID}/teams \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Engineering"
}
'
{
  "team": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  }
}

Authorizations

Authorization
string
header
required

Use an access token retrieved from login (Bearer sess_...) or a programmatic API key (Bearer ak_...).

Path Parameters

orgID
string<uuid>
required

The ID of the organization to create the team under.

Body

application/json
name
string
required
Example:

"Engineering"

Response

Created

team
object