Skip to main content
POST
/
api
/
platform
/
teams
Create team
curl --request POST \
  --url https://api-next.dealroom.co/api/platform/teams \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Engineering",
  "slug": "engineering"
}
'
{
  "data": {
    "id": 123,
    "name": "<string>",
    "slug": "<string>",
    "created_by": "<string>",
    "is_active": true,
    "created_at": "<string>",
    "updated_at": "<string>",
    "member_count": 123
  }
}

Authorizations

Authorization
string
header
required

OAuth2 client-credentials flow against the Dealroom Auth0 tenant. Use the client_id / client_secret from a Programmatic API key. Tokens are valid for 24h — Swagger UI will reuse the same token across operations.

Body

application/json
name
string
required

Display name for the team

Required string length: 1 - 200
Example:

"Engineering"

slug
string
required

URL-friendly identifier (lowercase alphanumeric + hyphens)

Required string length: 1 - 100
Pattern: ^[a-z0-9][a-z0-9-]*[a-z0-9]$|^[a-z0-9]$
Example:

"engineering"

Response

Team created

data
object
required