Provision and Verify a Webhook
A 2-step recipe with Socket. We can help you get access.
Recipe · 2 steps
Provision and Verify a Webhook
with Socket
Create a webhook subscription and read it back to confirm registration.
- Create the webhook subscription for the supplied events and destination URL, returning its id.
- Read the newly created webhook back by id to confirm it was registered with the expected events and target URL.
What you'll need to have ready
- orgSlug: The slug of the organization.
- name: The display name of the webhook.
- url: The destination URL that receives webhook events.
- secret: The signing key used to sign webhook payloads.
- events: The event types to subscribe to.
For your developer
Arazzo workflow socket-dev:provision-webhook, 2 operations: createOrgWebhook → getOrgWebhook. Specs on APIs.io.