Webhooks and delivery log
The Webhooks page lists the workspace's contract webhooks and every delivery they made. From there you can create a webhook and Test it before saving, turn one off and on, change or delete it, read exactly what each delivery sent and got back, and Redeliver one.
Before you start
- You hold Pacts → View to read the pages. Without it, the page shows Permission denied.
- To create a webhook you hold Pacts → Create; to change, test or redeliver one, Pacts → Edit; to delete one, Pacts → Delete. See Who can do what.
- The endpoint the webhook calls is reachable from the internet over
httporhttps. Apiome refuses private, loopback and link-local addresses. - To store a secret (a token, a password or a signing secret), the server needs a vault key. On Apiome Cloud it is set; see Contract webhooks → For operators.
Open the Webhooks page
- In the rail, under Ship, click Contracts.
- Click the Webhooks tab.
The page is at /ade/dashboard/pacts/webhooks.


/ade/dashboard/pacts/webhooksThe webhooks table shows, for each webhook:
| Column | What it shows |
|---|---|
| Webhook | Its description, or its request (POST host) when it has none. Click it to open it. |
| For | All pacts, one consumer, one provider, or one pact (Consumer → Provider). |
| Events | The events it fires on. |
| Sends to | The method and host, or GitHub Actions and the repository. |
| State | Enabled or Disabled, and Signed when deliveries carry X-Apiome-Signature. |
| Last delivery | The status and time of its newest delivery, or Never fired. |
Recent deliveries lists every delivery of the workspace, newest first. Choose a Status to narrow it, and click Load more for older ones.
| Status | What it means |
|---|---|
| Delivered | The endpoint answered 2xx. |
| Failed | Every attempt failed (4 in all); the delivery is on the dead-letter list. |
| Retrying | At least one attempt failed; Apiome tries again after 10 s, 60 s and 5 min. |
| Queued | Not sent yet. |
The Trigger column says Event for a delivery an event caused and Redelivery for one somebody sent again.
Create a webhook
- Click New webhook.
- Optionally give it a Description, a Consumer and a Provider. Leave both empty for every pact of the workspace. A name must be a pacticipant that exists.
- Tick the Events it fires on (see Events). Contract requiring verification published is ticked for you.
- Under Sends to, choose An HTTP endpoint or A GitHub Actions workflow (repository_dispatch).
- For an HTTP endpoint, choose the Method (
POST,PUTorPATCH) and give the URL, the Headers (oneName: valueper line) and the Body. A body that is JSON is sent as JSON; anything else is sent as text. Add a Basic auth username and Password if the endpoint needs them. - For GitHub Actions, give the Repository (
owner/name), a GitHub token that may dispatch events to it, and optionally the Event type and a GitHub Enterprise API URL.
- For an HTTP endpoint, choose the Method (
- Optionally give a Signing secret of 16 characters or more. Each delivery then carries
X-Apiome-Signature: sha256=<hex>; see Secrets and signing. - Click Test to send the webhook once, now, without saving it. The dialog shows Test succeeded or Test failed, the URL it was sent to, the response and the log.
- Click Create webhook. The webhook's page opens.
${pactbroker.…} parameters in the URL's path and query, the headers and the body are filled in
when the webhook fires. A test fills them from the latest pact of the consumer and provider, or with
placeholders. See Template parameters.
Until the form is complete, the dialog says what is missing — for example Enter the http(s) URL to
send to. When Apiome refuses the webhook, the dialog shows why and names the field, for example
/request/url: … for a private address.
The same, from anywhere
Under the form, The same, from anywhere shows the webhook you are building as a command. It
changes as you type. Click a pill to switch between apiome (apiome pact create-webhook),
Pact CLI (pact-broker create-webhook), GitHub Action (a pipeline step) and REST (the
POST and its body), then click Copy.
- Secrets are never shown. The password, any
Authorization, token, key or cookie header, the GitHub token and the signing secret appear as variables —$WEBHOOK_PASSWORD,$WEBHOOK_AUTHORIZATION— with the same name on every pill. Set them in your shell or as CI secrets before you run the command. - Nothing is left out quietly. Anything
create-webhookcannot carry is listed under Not carried by the command, with the reason: the stale and re-publish events, a webhook that is turned off, and the signing secret. The REST request carries all of them. - A GitHub Actions workflow and editing a saved webhook have no
apiome pactcommand. The CLI pills say so, and REST shows the request (PUT …/pact-broker/webhooks/<uuid>for an edit). Replace{tenant}in the path with your workspace's handle.
Manage one webhook
Click a webhook to open its page.


/ade/dashboard/pacts/webhooks/8f7f2a0e-3c1d-4f6b-9a55-1d2f4c6b7a90- Overview shows what it is for, its events, where it sends, whether it is signed, and when it was created and last changed.
- Request shows the headers and the body. Secret headers (
Authorization, anything naming a token, secret, API key or cookie) and the password read**********. - Delivery log lists the webhook's deliveries, newest first, with the same Status filter.
The header's Test and Edit, and its ⋯ menu (Disable / Enable and Delete):
| Button | What it does |
|---|---|
| Test | Sends the saved webhook once, now. The Test run panel shows the outcome. A test is not queued, retried or added to the delivery log. A workspace may run 30 tests per rate-limit window. |
| Edit | Opens the editor with the webhook's values. A stored secret reads Stored — type to replace: leave it to keep it, type a new value to replace it, or click Remove it. |
| Disable / Enable | Turns the webhook off or on. A disabled webhook fires nothing; its stored secrets are kept. |
| Delete | Asks first. The webhook stops firing at once, and its queued deliveries, delivery log and execution logs are deleted with it. |
To test changes before saving them, save them, then click Test.
Read a delivery and redeliver it
Click the time of a delivery in a delivery log, or the Last delivery of a webhook.


/ade/dashboard/pacts/webhooks/deliveries/5a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d- Overview names the webhook, the event, the pact that caused it (click it to open the pact), the consumer version, the verification result (for a verification event), the attempts made and left, the trigger and when it fired.
- Execution log shows every attempt: the request line, the headers and body sent, and the status, headers and body that came back. A failed attempt is open. Secret values are removed everywhere, the endpoint's answer included. Click Copy to copy the whole log.
To send a delivery again, click Redeliver. Apiome queues a new delivery of the same webhook with the same event and parameters, and retries it like any other. The original delivery and its log stay as they were. The page links Open the new delivery.
Redeliver is only offered for a Delivered or Failed delivery. Apiome refuses, and says why, when:
- the delivery is still Queued or Retrying — sending it again would deliver it twice; or
- its webhook is disabled — enable it first.
From CI or a script
The pages use the Pact Broker's webhook routes and these Apiome
routes, under /v1/tenants/<tenant>:
| Endpoint | What it does |
|---|---|
GET pact-webhook-deliveries?webhook=&status=&cursor= | The delivery log, newest first; webhook narrows to one webhook, status to success, failure, retrying or not_run. Up to 50 a page (limit). |
GET pact-webhook-deliveries/latest | The newest delivery of each webhook. |
GET pact-webhook-deliveries/<id> | One delivery and the log of each attempt. |
POST pact-webhook-deliveries/<id>/redeliver | Queue a finished delivery again. 202 with the new delivery; 409 while it is queued or retrying, or when its webhook is disabled. |
curl -X POST \
"$APIOME/v1/tenants/acme/pact-webhook-deliveries/5a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d/redeliver" \
-H "Authorization: Bearer $APIOME_API_KEY"
See the Pact broker REST reference.
Who can do what
| Action | Permission |
|---|---|
| Open the Webhooks page, a webhook and a delivery | Pacts → View |
| New webhook, and Test in its dialog | Pacts → Create |
| Edit, Disable / Enable, Test a saved webhook, Redeliver | Pacts → Edit |
| Delete | Pacts → Delete |
Every read and change is scoped to your current workspace.