Skip to main content
POST
Create a webhook endpoint

Authorizations

Authorization
string
header
required

API token: tsu_pat_… (PAT) or tsu_proj_… (project token). The token's granted RBAC permissions determine access; see each operation's x-permission.

Path Parameters

projectId
string
required

Project id (UUID) or id-embedded path slug.

Body

application/json
url
string<uri>
required
Required string length: 1 - 2048
eventTypes
enum<string>[]
required
Required array length: 1 - 10 elements
Available options:
translation_key.created,
translation_key.updated,
translation_key.deleted,
translation_value.updated,
branch.created,
branch.merged,
import.completed,
export.completed,
language.added,
language.removed
description
string | null
Maximum string length: 500
includeAiGenerated
boolean
default:false

Response

The created endpoint and its signing secret.

success
boolean
required
data
object
required