Skip to main content
Requires Team plan.

Request

POST /api/teams

Body

{
  "name": "My Team"
}
FieldTypeRequiredDescription
namestringYesTeam name. Max 50 characters.

Example

curl -X POST https://lazyraccoon.dev/api/teams \
  -H "Authorization: Bearer lr_your_key" \
  -H "Content-Type: application/json" \
  -d '{"name": "My Team"}'

Response (201)

{
  "id": "team-uuid",
  "name": "My Team",
  "slug": "my-team"
}
The slug is auto-generated from the name and must be globally unique. Returns 409 if the slug already exists.