Create, read, update and delete webhook subscriptions, fetch the Postscript-Signature signing token, retrieve example event payloads and trigger test deliveries.
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent
with a free APIs.io key —
sign in with
GitHub,
Google or
LinkedIn.
No form to fill in; signing in shares your email address with us (Privacy).
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelistoverlay
POST/api/v2/webhooksSubscribe a URL to a webhook event · Create Webhook Subscription#
Ask an LLM
“How do I send a webhook to my own server when a customer opts in?”
“Can I add a custom header to every webhook callback?”
Tell an agent
Subscribe {callback_url} to webhook event {event}.
Create a webhook subscription for {event} that sends to {callback_url} with headers {headers}.
GET/api/v2/webhooksList webhook subscriptions · List Webhook Subscriptions#
Ask an LLM
“Which webhook subscriptions are set up for my shop?”
“Can I see every URL that receives my webhook events?”
Tell an agent
List my webhook subscriptions.
Show all webhook subscriptions for shop {shop_token}.
DELETE/api/v2/webhooks/{id}Delete a webhook subscription · Delete Webhook Subscription#
Ask an LLM
“How do I stop a webhook from being sent to my server?”
“Can I remove a webhook subscription I no longer need?”
Tell an agentdestructive · confirm first
Delete webhook subscription {id}.
Remove the webhook subscription {id} from my shop.
GET/api/v2/webhooks/{id}Get a webhook subscription · Get Webhook Subscription#
Ask an LLM
“What URL and event does a specific webhook subscription use?”
“Can I look up one webhook subscription by its ID?”
Tell an agent
Get webhook subscription {id}.
Show the callback URL of webhook subscription {id}.
PATCH/api/v2/webhooks/{id}Change a webhook subscription's URL · Update Webhook Subscription#
Ask an LLM
“Can I point an existing webhook subscription at a new URL?”
“How do I change the headers on a webhook subscription?”
Tell an agent
Point webhook subscription {id} at {callback_url}.
Update webhook subscription {id} to send {headers} in its callbacks.
GET/api/v2/webhooks/exampleSee a sample webhook payload · Example Event#
Ask an LLM
“What does a sample webhook payload look like for a given event type?”
“Can I preview a webhook event before subscribing?”
Tell an agent
Show an example webhook payload for event {event}.
Generate a sample {event} webhook event.
GET/api/v2/webhooks/tokenGet the webhook signing token · Get Webhook Signing Token#
Ask an LLM
“Where do I get the secret used to verify webhook signatures?”
“What signing token does my shop use for webhook verification?”
Tell an agent
Get my webhook signing token.
Fetch the webhook signature secret for shop {shop_token}.
POST/api/v2/webhooks/testSend a test webhook to my server · Test Shop Webhook#
Ask an LLM
“Can I send a test webhook to my callback URL to check it works?”
“How do I trigger a sample webhook event for a given event type?”
Tell an agent
Send a test webhook for event {event} to my server.
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.