Manual
CLI
API
Log in Get started free

Create a tag

Takes a snapshot of the keys and translations of a branch and gives it a name.

Takes a snapshot of the keys and translations of a branch and gives it a name. A tag can’t be changed afterwards. Triggers the tag.created webhook.

HTTP
POST /projects/{projectId}/tags

Access: Session token, or an API key with the keys:write scope.

Role: Project manager.

Path parameters #

ParameterDescription
projectIdThe id of the project.

Request body #

JSON.

FieldTypeRequiredDescription
namestringyesLetters, digits, ., _, - and /, starting with a letter or digit. At most 60 characters.
branchstringnoThe name of the branch to take the snapshot from. Defaults to main.
JSON
{ "name": "v1.4.0", "branch": "main" }

Response 201 #

The tag.

JSON
{
  "id": "0197a3c8-6f75-7c66-a9bd-1d5a7e2c4f86",
  "projectId": "0197a3c6-4d53-7a44-87fb-9b3e5c0a2d64",
  "name": "v1.4.0",
  "branch": "main",
  "keys": 200,
  "progress": 96,
  "createdBy": "Olivia Owner",
  "createdAt": "2026-10-17T09:30:00+00:00"
}

Response fields #

FieldTypeDescription
idstringThe id of the tag.
projectIdstringThe id of its project.
namestringThe name.
branchstringThe name of the branch the snapshot was taken from. The branch may not exist any more.
keysintegerHow many keys the snapshot holds.
progressintegerPercent of key and language combinations that were published when the tag was made.
createdBystring or nullThe name of the person who made it. null when that account was deleted.
createdAtstringWhen it was made, as an ISO 8601 time.

Errors #

StatuserrorWhen
401unauthenticatedThe token is missing or not valid.
403forbiddenYou are not a manager of the project.
404not_foundThe project does not exist in your organisation, you have no access to it, or projectId is not a UUID.
409conflictA tag with this name exists. fields has name: taken.
422invalid_requestname is not valid, or branch is not a branch of the project (unknown).
429rate_limitedToo many requests, see Rate limiting.

See Errors for the error format.