Optional
secret: null | stringOptional
tolerance: numberValidates whether or not the webhook payload was sent by OpenAI.
An error will be raised if the webhook payload was not sent by OpenAI.
The webhook payload
The webhook headers
Optional
secret: null | stringThe webhook secret (optional, will use client secret if not provided)
Optional
tolerance: numberMaximum age of the webhook in seconds (default: 300 = 5 minutes)
Validates that the given payload was sent by OpenAI and parses the payload.