Manual
CLI
API
Log in Get started free

Create a team

Creates a team.

Creates a team.

HTTP
POST /teams

Access: Session token only. API keys get 403 with insufficient_scope.

Role: Organisation owner or admin.

Request body #

JSON.

FieldTypeRequiredDescription
namestringyesAt most 80 characters.
descriptionstringnoAt most 400 characters.
iconstringnoAn emoji, at most 16 characters.
languageslist of stringnoLanguage codes such as de-de. Lower case, like de or pt-br.
JSON
{ "name": "Core", "description": "Product translators", "languages": ["de-de", "fr-fr"] }

Response 201 #

The team.

JSON
{
  "id": "0197a3c5-3c42-7f33-96ea-8a2d4b9f1c53",
  "name": "Core",
  "icon": "👥",
  "accent": null,
  "description": "Product translators",
  "allProjects": false,
  "languages": ["de-de", "fr-fr"],
  "members": [
    { "id": "0197a3c2-5b1e-7c4a-9d2f-3e8b6a1f0c55", "name": "Ada Lovelace", "email": "ada@example.com", "initials": "AL", "gradient": "...", "from": "#06b6d4", "to": "#7c3aed", "role": "owner" }
  ],
  "projects": [
    { "projectId": "0197a3c6-4d53-7a44-87fb-9b3e5c0a2d64", "role": "translator" }
  ]
}

Response fields #

FieldTypeDescription
idstringThe id of the team.
namestringThe name.
iconstringAn emoji. The app shows an abbreviation of the name instead.
accentstring or nullA colour.
descriptionstringA description.
allProjectsbooleanWhether the team has access to every project.
languageslist of stringLanguage codes the team works in.
memberslist of objectThe members: the fields of a person (id, name, email, initials, gradient, from, to) and their team role.
projectslist of objectThe projects the team has access to: projectId and the role the team has there.

Errors #

StatuserrorWhen
401unauthenticatedThe token is missing or not valid.
403forbiddenYou are not an owner or admin.
422invalid_requestname is empty or too long, or a language code is not valid.
429rate_limitedToo many requests, see Rate limiting.

See Errors for the error format.