POST request with a JSON body.
Important: Security is handled via X-Webhook-Timestamp and X-Webhook-Signature headers, which must be verified by the webhook receiver using the API Secret. Refer to the SDK documentation for details on verification.
Request Body
ThePOST request will contain a JSON body with the following structure:
Properties
event_type(string, required): The type of event that occurred.- Enum:
"task.completed","task.failed" - Example:
"task.completed"
- Enum:
data(object, required): An object containing the details of the task status. This matches theTaskStatusschema defined in the main OpenAPI specification. See the Get Task Status endpoint documentation for theTaskStatusschema details.
Example Payload (task.completed)
Responses
Your webhook endpoint should respond quickly with an HTTP200 OK status code to acknowledge successful receipt of the webhook. Any other status code may be interpreted as a failure by our system.