Skip to main content
POST
/
teams
Create a team
curl --request POST \
  --url https://api.projectcor.com/v1/teams \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "workspace_id": 123
}
'
{
  "id": 123,
  "name": "<string>",
  "description": "<string>",
  "workspace_id": 123,
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

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

Team Name

description
string

Team description

workspace_id
integer

Workspace ID

Response

200 - application/json

Team created successfully

id
integer
name
string
description
string
workspace_id
integer
created_at
string<date-time>
updated_at
string<date-time>