Skip to main content
POST
Register approval webhook callback

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required

Approval request ID

Body

application/json

Callback registration payload

callbackUrl
string<uri>
required

URL to receive the webhook POST when the approval is resolved

Example:

"https://api.trigger.dev/wait/token/abc123"

Response

Callback registered

registered
boolean
Example:

true

approvalId
string