Create a webhook endpoint
Webhooks
Create a webhook endpoint
Register an HTTPS URL to receive the events you subscribe it to. TextSetu generates a signing secret and returns it once.
Constraints:
- The
secretis returned ONCE and cannot be retrieved later — store it before discarding the response. - The URL must be publicly reachable — private, loopback and link-local addresses are rejected, and redirects are never followed.
eventTypesmust contain at least one type fromGET /webhook-event-types.
POST
Create a webhook endpoint
Authorizations
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
Project id (UUID) or id-embedded path slug.
Body
application/json
Required string length:
1 - 2048Required array length:
1 - 10 elementsAvailable 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 Maximum string length:
500
