waitpoints
Complete a waitpoint token
Completes a waitpoint token, unblocking any run that is waiting for it via wait.forToken(). An optional data payload can be passed and will be returned to the waiting run. If the token is already completed, this is a no-op and returns success: true.
This endpoint accepts both secret API keys and short-lived JWTs (public access tokens), making it safe to call from frontend clients.
post/api/v1/waitpoints/tokens/{waitpointId}/complete
Path parameters
waitpointIdstring required
The ID of the waitpoint token to complete.
Request body
Example request
{
"data": {
"status": "approved",
"comment": "Looks good to me!"
}
}Response
Waitpoint token completed successfully