Skip to main content
Create a listener in the Partner portal, choose event types, and store the signing secret. Peeker POSTs JSON to your HTTPS URL.

Request format

data.destination is the workspace target that received (or will receive) the mailboxes. Payloads never include provider credentials.

Event types

Orders

Order events cover every order in your account: purchases made through the API, purchases made in the Peeker dashboard, and replacement orders. Branch on data.origin: Dashboard orders can have customer_id: null and no destination. Only orders created through the API send order.in_progress; dashboard and replacement orders start with order.completed, order.failed, or a cancellation event. Each event type has the same payload shape for both origins. order.cancel_scheduled is sent when a cancellation of one order or one domain is scheduled, whoever scheduled it: your API key, the Peeker dashboard, Peeker staff, or Peeker automation. Automation includes ban handling, billing reconciliation, and retiring a pre-warmed pool source domain after a replacement. data.origin is the order’s origin, not who cancelled it, so an API order cancelled by Peeker staff still has origin: "api". Cancellations scheduled in the partner portal and cancellations of a whole subscription, such as the unpaid-bill cutoff or account offboarding, do not send order.cancel_scheduled. Their orders send order.domains_cancelled or order.cancelled when the cancellation takes effect. order.domains_cancelled is only sent when it lists at least one domain.
Orders that need input appear in GET /orders/pending. There is no order.action_required event. Poll that endpoint.

Domains and imports

These events also fire for imports and bulk forwarding changes started in the Peeker dashboard. data.origin is dashboard for those and api for yours.

Pool

Swaps

Swap events cover swaps made through this API and in the Peeker dashboard. data.origin is api or dashboard. Swap event payloads include smartlead_client_id for the destination client. It is null for non-Smartlead or unresolved destinations. A saved webhook keeps the client ID from when the event was created, including on delivery retries.

Test and rotate

In the portal, send a test event or simulate a lifecycle. Test payloads include "test": true. Rotating the signing secret replaces the old value immediately and shows the new secret once. Update your receiver right away.

Verify the signature

Sign exactly:
Use HMAC-SHA-256 with the listener secret. Compare the result to the hex after v1=. Use the raw body. Re-serializing JSON breaks the signature.
Node.js
Reject missing headers, bad signatures, and timestamps more than five minutes off your server clock.

Delivery and retries

See Async jobs for which endpoints emit which events.
Last modified on November 10, 2026