Skip to main content
POST
/
api
/
v1
/
waitpoints
/
tokens
/
{waitpointId}
/
callback
/
{callbackHash}
cURL
# The full URL is returned as `url` when you create a token
curl -X POST "https://api.trigger.dev/api/v1/waitpoints/tokens/waitpoint_abc123/callback/abc123hash" \
  -H "Content-Type: application/json" \
  -d '{"status": "approved", "comment": "Looks good to me!"}'
{
  "success": true
}

Path Parameters

waitpointId
string
required

The ID of the waitpoint token.

callbackHash
string
required

The HMAC hash that authenticates the request. This is embedded in the url returned when creating the token — do not construct it manually.

Body

application/json

Any JSON object. The entire body is passed as the output data to the run waiting on this token. If the body is not valid JSON, an empty object is used.

Response

Waitpoint token completed successfully

success
enum<boolean>
required

Always true when the request succeeds.

Available options:
true