Skip to main content
WEBHOOK

Headers

webhook-id
string
required

The id of the delivery. It is the same in each attempt of one delivery. Use it to ignore a delivery that you already processed.

webhook-timestamp
string
required

The time of the attempt, in seconds since the Unix epoch.

webhook-signature
string
required

One or more signatures, with a space between them. Each signature has the form v1,<base64>.

Body

application/json

A Worker needs approval for tool calls. Send the decision with Approve or deny tool calls in Review.

id
string
required

The id of the webhook event.

type
any
required
environmentId
string
required
occurredAt
string<date-time>
required
data
approval · object
required

Response

200

Send any 2xx status to confirm the delivery.