v1
latestOpenAPI 3.0.12026-07-269671357.0 KBCreate Webhook V2
Request body
Proof will make a POST request to this URL for every subscribed event.
A header value to pass through every request Proof makes back to your webhook URL. This can be required authentication to your system for security purposes. (E.g. "header": "X-Custom-Header:X-Custom-Key")
The name of the header that will contain the request ID for each webhook request. Defaults to X-Request-Id.
A list of header values to pass through every request Proof makes back to your webhook URL. This can be required authentication to your system for security purposes. (E.g. "headers": ["[X-Custom-Header]:[X-Custom-Key]"]). If passed, value for header (singular) is ignored.
A signing key to sign the webhook payloads with. This is used to verify the authenticity of the webhook requests. If not passed and if using api keys to authenticate, Proof will use the api key to sign the payloads. https://dev.proof.com/docs/webhooks-v2#security
An array containing the desired events that Proof should POST a webhook for. See our Webhooks V2 guide for a list of valid subscriptions.
Example request
{
"url": "https://www.yourapp.com/proof_webhooks",
"header": "X-Custom-Header:X-Custom-Key",
"subscriptions": [
"transaction.*"
]
}Response
Webhook created
The ID of the Webhook V2 object.
Proof will make a POST request to this URL for every subscribed event.
A header value to pass through every request Proof makes back to your webhook URL. This can be required authentication to your system for security purposes. (E.g. "header": "X-Custom-Header:X-Custom-Key")
A list of header values to pass through every request Proof makes back to your webhook URL. This can be required authentication to your system for security purposes. (E.g. "headers": ["[X-Custom-Header]:[X-Custom-Key]"])
A boolean value to indicate if the webhook is active.
The name of the header that will contain the request ID for each webhook request. Defaults to X-Request-Id.
An array containing the desired events that Proof should POST a webhook for. See our Webhooks V2 guide for a list of valid subscriptions.