connect
Subscribe to trigger
Subscribe to (or refresh) a trigger. Supplying the same (params, delivery.url) refreshes the TTL and may rotate the secret.
post/{namespace}/{connectionId}/.triggers/{triggerName}
Path parameters
namespacestring required
connectionIdstring required
triggerNamestring required
Request body
Example request
{
"delivery": {
"url": "https://my-app.example.com/events",
"secret": "whsec_dGVzdF9zZWNyZXRfMjRfYnl0ZXNfbWluaW11bSE="
}
}Response
Subscription created or refreshed
Example response
{
"id": "trg_01HW1234567890",
"refreshBefore": "2026-04-22T13:00:00.000Z"
}