View Categories

Inbound Webhooks: Events, Callbacks and Status

Every event an inbound webhook receives is kept in its event log, on the Events tab, with what became of it. This article explains the log and the buttons on it, the reports the portal sends back to the sending system (callbacks), the status address the sender can ask at any time, and the staff alerts webhooks raise. Read Inbound Webhooks first.

Before you start #

Note: Staff with View Webhooks (view_webhooks) can read the event log and open any event. Approve, Re-process, Dismiss, the buttons for events waiting for staff and Resend need Manage Webhooks (manage_webhooks). See the Permission Reference.

The Events tab #

The webhook Events tab showing status filter pills and the incoming event log table
The Events tab records every webhook delivery, its parsed action, outcome and callback status.

The buttons along the top filter the log: All, then one button for each status that has events, with a count. Events are listed newest first, 25 to a page.

Column Contents
Received When the event arrived; hover for the exact time.
Event The sender’s event ID, with the event type beneath.
Action Provision, Cancel, Suspend and so on, once the event has been matched to one.
Customer ID The customer ID the sender sent.
Remote ID The sender’s service ID.
Outcome The status, links to the order and the package or service, the message explaining what happened, and the callbacks sent for it.
Actions View, and the buttons that fit the event’s status.

Event statuses #

Status Meaning
Received Recorded, but not processed yet, or processing was interrupted.
Captured The webhook is in Capture only: logged, nothing done.
Held Passed every check and is waiting for Approve (Hold for approval).
Created Made an order.
Duplicate The remote service already has an order in the portal.
Done An action changed the service.
No change The service was already in the state the action asked for.
Scheduled Left for the next run of webhook actions, within five minutes.
Awaiting staff An action flagged for staff to carry out, record or dismiss.
Queued An action being carried out at the panel.
Ignored Not an event this webhook acts on: it matched no conditions, its customer ID is not mapped, or it was dismissed or withdrawn by a later event.
Rejected Something in it is wrong or not allowed, so nothing was made. The message says what.
Failed Processing went wrong, or an action failed at the panel. Safe to process again.

Viewing an event #

View opens the event: its ID, type, the customer ID sent, the remote ID, the action, its status and reason, the message, how many attempts were made, when it was received and processed, and the payload. Anything in the payload that looks like a secret or a licence key is masked.

Approve, Re-process and Dismiss #

Button Offered on What it does
Approve Held and Captured events Runs every check again and, if they pass, creates the order or carries out the action now, whatever the webhook’s mode. It never skips a check.
Re-process Received, Ignored, Rejected and Failed events Runs the event again with the settings as they are now. Use it after fixing what made it fail, for example after mapping a customer ID or adding an add-on rule.
Do it at the panel now Awaiting staff Carries out the action at the panel. Greyed out, with the reason, when the panel cannot do it.
Record only Awaiting staff Updates the portal only, for an action done by hand or by the sender. Nothing is called.
Dismiss Awaiting staff and Scheduled Drops the action. Nothing is changed, and the event is marked Ignored.

An event that would suspend, cancel or terminate a service shows a red checkbox beside Approve or Re-process, which you must tick, and asks for your password if you have not entered it in the last five minutes. Do it at the panel now and Record only ask for the password too.

Note: A held event has no Dismiss button, although its alert says “Approve or dismiss it”. A held event changes nothing until it is approved, so if you do not want it, leave it held.

When the sender sends an event again #

Senders retry. An event with an ID the webhook has already received is processed again only if it was Received, Ignored, Rejected or Failed, which is when a fixed mapping should take effect. A captured or held event waits for staff, an event that has made an order or changed a service is never run twice, and an action that staff dismissed or a later event withdrew comes back only through staff’s own Re-process.

Events are kept for 365 days and then removed by a built-in clean-up that runs every night.

Callbacks to the sender #

A webhook can report back to the sending system. Set it up in the Callbacks to the sender card on the Setup tab:

Setting What it does
Callback URL Where reports go. https only, on a public address; redirects are never followed. Leave it blank to send nothing.
Include passwords Off by default, and only with an https callback URL. When on, reports (and the status address’s answers, over https) carry the passwords the portal keeps for the service: the cPanel account password, the Plesk FTP password, and any service detail kept secret, such as a licence key. Otherwise they are masked. Enhance, Pterodactyl, GameCP and domain products never store one.
Hosts an event may send its own callback URL to One host name per line. An event’s own URL, mapped as Callback URL (this event) on the Mapping tab, is used instead of the Callback URL only when it is https, its host is on this list, and the Callback URL above is set. With no hosts listed, an event’s own URL is always ignored.

When a report is sent #

  • When a service the webhook created is provisioned, or fails to provision, whenever that happens: at once, on the provisioning run, or when staff mark it provisioned. A service recorded as already existing is reported provisioned at once.
  • When an action is done, fails, or changes nothing.
  • When an event that was scheduled, waiting for staff, held or captured ends up refused, dismissed or withdrawn by a later event: it is reported as rejected or ignored.

Duplicates and events refused on arrival are not reported: the sender had its answer in the reply.

What the sender receives #

A POST of JSON, signed with the webhook’s secret exactly as the sender signs its events: X-Webhook-Timestamp (Unix seconds) and X-Webhook-Signature, the lower-case hex of HMAC-SHA256(secret, timestamp + "." + body). X-Webhook-Event carries the outcome, and X-Webhook-Delivery is the same on every attempt of one report, so the sender can recognise a repeat.

{
  "event_id": "the sender's event id",
  "portal_event_id": "…",
  "action": "provision | cancel | uncancel | terminate | suspend | unsuspend",
  "status": "provisioned | failed | done | no_change | rejected | ignored",
  "error": null,
  "order": {"number": 1459, "id": "…"},
  "service": {
    "id": "the portal's service id", "sender_ref": "the sender's own id",
    "product": {"id": "…", "name": "…"},
    "status": "active", "provisioning_status": "provisioned", "domain": "example.com",
    "details": {"driver": "cpanel", "username": "…", "server_hostname": "…", "panel_url": "…", "attributes": {}}
  },
  "timestamp": "2026-09-25T10:00:00+00:00"
}

The report is built when it is sent, from the service as it is then. details carries what the portal keeps about the service, such as the panel account and server, its stored details, and its add-ons and options.

Retries and Resend #

A 2xx answer counts as delivered. A 4xx other than 408 or 429 means the sender refused the report, and it is not retried. Anything else, including no answer within 10 seconds, is tried again after 1 minute, 5 minutes, 15 minutes, 1 hour, 3 hours, 6 hours and 12 hours, eight attempts over about a day, and then given up. A built-in task, webhook-callback-retries, sends the retries every minute while the scheduler is running. Staff are alerted when a report is refused or given up.

Each event’s row on the Events tab shows its reports, for example Callback “Provisioned”: Sent, with the number of attempts and the last HTTP status. The latest report on an event has a Resend button, which builds it afresh from the service as it is now and sends it straight away.

The status address #

The sender can ask how any event turned out, at any time. It posts {"event_id": "…"} to the webhook’s status URL, signed exactly as an event is. The status URL is shown, with a copy button, at the bottom of the Callbacks to the sender card; it is the webhook URL followed by /status.

The answer has the same shape as a callback. Its status is the event as it stands now, for example held or queued, or, for an event that created a service, provisioning, provisioned or failed. An event the portal does not know is answered with 404 “Unknown event.”, and a request with no event_id with 400. Passwords are included only when Include passwords is on and the request came over https.

Staff alerts #

Webhooks raise three alerts, listed under Platform Settings → Notifications in the Provisioning group:

Alert Raised when
Webhook created an order An event created an order.
Webhook changed a service An action changed a service.
Webhook event needs attention An event was refused or failed, named a customer ID that is not mapped, is held for approval or waiting for staff, left a service or add-ons for staff to set up, or an action failed; or a report to the sender was refused or given up.

A new installation sends Webhook event needs attention to the admin email address. On an installation upgraded to 2.0.0, none of the three reaches anyone until you give it an action, and Webhook event needs attention is the one to set up first. See Admin Notifications.

Troubleshooting #

Symptom Cause and fix
No Approve button on an event Only Held and Captured events can be approved. For a Rejected, Ignored or Failed event, use Re-process.
No buttons at all You hold View Webhooks only, or the event is final: it has made an order or its action has been dealt with.
“This event would now … a service. Nothing was done: tick the confirmation and press the button again.” The event turned out to be destructive. Tick the red checkbox and press the button again.
You are sent to a password page when pressing Approve Destructive actions need your password from the last five minutes. Enter it, then press the button again.
Callbacks show Failed after one attempt The sender answered with a 4xx, so the report was refused and is not retried. Fix the receiver, then press Resend.
Callbacks stay Pending The scheduler is not running, so retries are not sent. Check System Info.
The sender gets no reports The Callback URL is blank, not https, or not a public address, or the event was a duplicate or refused on arrival, which are never reported.
An event’s own callback URL is ignored Its host is not listed under Hosts an event may send its own callback URL to, it is not https, or the webhook’s own Callback URL is blank.
Nobody is told when an event is refused Webhook event needs attention has no action. Add one under Platform Settings → Notifications.