Webhooks
An event is a fact, recorded once. A delivery is an attempt to tell you about it. Retrying a delivery never repeats the event, so a retry cannot pay a player twice.
How delivery works
Durable, signed, verified at every attempt
Every event is recorded durably when it happens, and a delivery is queued for each registered endpoint subscribed to its type. Every delivery is signed, and retried on the schedule below until your endpoint acknowledges it.
Signing secrets are encrypted at rest under a versioned keyring, so rotating the encryption key does not strand secrets stored under the previous one.
Parity delivers only to hosts on its delivery allow-list and refuses non-public addresses. A destination is verified at registration, on every change and on every attempt.
Never make a webhook your only source of money facts. /api/v1/reconciliation is the authoritative record and is built to be polled; an integration that books credits only from webhooks will eventually miss one.
A queued delivery is retried until it is acknowledged or its attempts run out. An endpoint receives only events raised while it is registered, active and subscribed to that type; a new endpoint starts from the moment it is registered. Catch up on anything earlier from the reconciliation feed.
Poll the record
Poll GET /api/v1/settlements. It carries the same fact as position.settled and keys on the same positionId, so you can use either, or both, without processing a credit twice. For everything else, the reconciliation feed is an ordered, resumable stream of every money fact.
Event types
| Type | Emitted when | What it carries |
|---|---|---|
order.intent_recorded | A live order is recorded and reserved against, with nothing sent to a venue. | orderId, your clientOrderId, your externalUserId, and an exact authorizationAmount with a currency. Reserve and hold that amount while the order waits to be sent. |
order.filled | A fill is recorded. One event per fill, not per order. | orderId, clientOrderId, fillId, your externalUserId, the contractId, side and action (buy or sell), this fill’s quantity and price, the order’s running totals and status, a transmissionState, operatorMoney (a buy) or operatorExitMoney (a sell) with the cumulative figures for the order so far, simulated, and fillSequence, partial, final and fillMoney for this fill. |
order.rejected | The execution layer refuses an order. | orderId, clientOrderId, executionRef, your externalUserId, the reason, and operatorMoney whose releaseAmount is the whole authorization you are still holding. Null on a sell: an exit reserves no cash. |
order.completed | The venue closes an order it could still have filled: fully matched, cancelled with some filled, or closed with none. One event per order. Not sent in the sandbox, where an order closes in the step that fills it and its order.filled already carries final: true. | orderId, clientOrderId, your externalUserId, the contractId, side, action, the final status and outcome, the order’s totals, final: true, operatorMoney (a buy) or operatorExitMoney (a sell) as the order finally stands, and releaseAmount, the unspent authorization to hand back. |
order.cancelled | An untransmitted order is withdrawn. | A cancellationId to key the release on, plus the whole money identity: authorizationAmount, an actualDebit of 0.00, and the releaseAmount to hand back. |
position.settled | A position settles against its contract’s resolution. | positionId, settlementId (the credit’s idempotency key), your externalUserId, and operatorMoney with settlementCredit and voidCredit as exact decimal strings. Exactly one is non-zero; a loss zeroes both. |
market.resolution_changed | A resolution changes after positions had already settled against it. | contractId, settledResolution, currentResolution (null when the outcome was withdrawn), affectedPositionIds (every position of yours it touches), affectedPositionId (the first of them), action: "operator_review_required", and adjustments: per position, what was paid, what the current result would pay and the difference. |
position.adjusted | Optional and opt-in. One per position touched by a changed result, beside market.resolution_changed. | positionId, settlementId, your externalUserId, contractId, paid, payoutUnderCurrentResolution and difference as exact decimal strings (positive is owed to the customer, negative is owed back), and instruction: "review". No money has moved. |
market.disputed | Optional and opt-in. A contract you hold open positions on is disputed at the source. | contractId, observedAt, openPositions, and action: "none_required". Those positions settle when the dispute ends, with position.settled as usual. |
market.postponed | Optional and opt-in. The match of a contract you hold open positions on is reported postponed at the source. Once per contract. | contractId, scheduledStart (null when no start is published), observedAt, openPositions, and action: "none_required". Those positions stay open and settle by the contract’s rules, with position.settled as usual. |
market.rescheduled | Optional and opt-in. After market.postponed, the source publishes a new start in the future, at least 30 minutes from the one last announced. Once per change of start. | contractId, previousStart, scheduledStart, observedAt, openPositions, and action: "none_required". No money moves. |
combo.intent_recorded | Optional and opt-in. A combo is recorded and its price is being confirmed. | comboId, your clientOrderId and externalUserId, the status, the legs (each with the pick in the player’s words as label), and operatorMoney with the holdAmount to hold, beside its currency. |
combo.filled | Optional and opt-in. A combo is placed. | The same fields, and operatorMoney with the debitAmount and releaseAmount to book, which together are the hold, and payoutIfWinAmount, beside their currency. |
combo.rejected | Optional and opt-in. A combo ends not_filled or price_changed. | The same fields, and operatorMoney whose releaseAmount is the whole hold. |
combo.leg_resolved | Optional and opt-in. One leg of a combo changes state. | The same fields, with legIndex and state for the leg that changed. No money moves. |
combo.settled | Optional and opt-in. Every leg resolved and the combo settled. | The same fields, and operatorMoney with the creditAmount to credit, once per comboId, beside its currency. |
trading.cash_out_paused | Optional and opt-in. Cash outs are paused for the account: from now sells are refused with 403 cash_out_paused. Buys are unaffected and positions settle normally. | cashOutPaused: true, pausedBy (platform for every live account, or account for this one) and changedAt. No money moves. Hide or disable your Cash out button. |
trading.cash_out_resumed | Optional and opt-in. The cash out pause in force for the account has ended. | cashOutPaused: false, pausedBy: null and changedAt. Sells are quoted and accepted again. |
wallet.authorisation_expiring | Optional and opt-in. You trade from your own wallet under a trading authorisation, and it ends within 14, 7 or 1 days. Sent once for each. | walletAddress, validUntil and noticeDays. Renew it with your wallet’s key before validUntil; after it, every trade is refused with trading_authorisation_expired. |
Swipe the table sideways for more columns.
Seven event types for single trades, and every change to a position is covered
These seven are the complete set for single trades. A position changes in three ways, each with its own event: entry and exit fills are both order.filled (read action), and the resolution is position.settled. All three carry the money block you book from. When the venue closes an order, order.completed carries the final block and the amount to release.
The five combo.* types are optional and opt-in: an endpoint receives them only by listing them by name, and only once Parity enables combos for your operator. See Combos (optional).
Schedule notices: what is sent and what is not
market.postponed and market.rescheduled come from the match status and the start time the source publishes, and are sent only for contracts you hold. A start that moves without a postponement is not announced, because a contract’s close also moves when a market ends early. No event is sent for a trading halt or resume, or for a change to a contract’s rules: the source publishes no signal for them that is reliable enough to act on.
Every order that ends sends one final event
An order that ends without filling in full sends exactly one of order.rejected, order.cancelled or order.completed, keyed on the order, whatever ended it: a refusal at submit or by the venue, a withdrawal before transmission, an order whose reserve you never confirmed (withdrawn after an hour), or the venue closing it. Each carries the amount to hand back as releaseAmount, inside operatorMoney on order.rejected. Book from it once. A sandbox order filled in part by the simulated venue ends with order.filled carrying final: true instead.
Every money event names the wallet and the amount
Each event that implies a movement carries externalUserId, your id for the customer, and an exact decimal amount with a currency. Field names match /api/v1, so a wallet that applies operatorMoney from an order applies it here unchanged.
Float fields such as payout, fillPrice and costBasis are facts to read, not amounts to book: a JSON number cannot hold an exact cent at every size.
Payloads use the same partner form as the REST API: opaque ctr_… contract ids and no source named. This is applied when the event is recorded, and to the dedupeKey too, which appears in the envelope and on the reconciliation feed.
market.resolution_changed carries no instruction
It reports that a source changed a result you already settled on. No money has moved and none will move automatically. One event is emitted per change, not per sweep.
It is keyed on the contract and the change, per operator, so when several of your positions settled against the same resolution you receive one event listing them all in affectedPositionIds. affectedPositionId is the first of them, kept for compatibility. An event recorded before affectedPositionIds existed does not carry it, because a retry resends the stored event unchanged; for one of those, review every position you settled on the contractId with GET /api/v1/settlements.
What each payload looks like
Each shape below is the object stored on the event and serialised into data. They are published in the OpenAPI document as well, one schema per event type.
order.filled, order.completed, order.intent_recorded and position.settled also carry descriptor: what was traded, as structured fields (see Structured descriptor), with selection, the side taken. It is read once when the event is recorded, so every retry carries the same record. It is null when it could not be read, and absent on an event recorded before version 3.1.2.
order.filled is keyed on the fill, not the order: an order filled in pieces raises one event per piece, and dedupeKey is order.filled:<orderId>:<fillId>. operatorMoney is cumulative for the order, never per fill, so you cannot debit it twice.
{
"orderId": "3dd27f36-7780-4aa7-8af2-1a6854fbf8cb",
"executionRef": "Parity_Best_7K2M9QH4TR8DXZ", // quote this to Parity support
"clientOrderId": "your-order-id",
"externalUserId": "your-player-id",
"fillId": "9b1e4c2a-0f6d-4e38-a5b7-6c2d8e1f3a90", // this fill. the tail of dedupeKey
"contractId": "ctr_4919562d19a0f299",
"side": "YES",
"action": "buy",
"fillQuantity": 19, // THIS fill
"fillPrice": 0.52, // THIS fill
"filledQuantity": 19, // the ORDER, to date
"averagePrice": 0.52, // the ORDER, to date
"status": "partially_filled",
"transmissionState": "unknown", // read this BEFORE releasing anything
"operatorMoney": { // cumulative for the ORDER
"currency": "USD",
"authorizationAmount": "25.00",
"actualDebit": "10.00",
"releaseAmount": "15.00",
"tradeAmount": "9.88",
"platformFee": "0.12",
"operatorFee": "0.00",
"venueFee": "0.00",
"venueFeeKnown": false
},
"operatorExitMoney": null, // the sell leg. null on a buy
"simulated": false,
"fillSequence": 1, // 1 for the first fill, 2 for the second...
"partial": true, // true until known to have filled in full
"final": false, // true once no further fill can arrive
"fillMoney": { // THIS fill only. itemisation, not what you book
"currency": "USD",
"tradeAmount": "9.88",
"platformFee": "0.12",
"venueFee": "0.00",
"venueFeeKnown": false,
"actualDebit": "10.00", // on a buy. null on a sell
"sellProceeds": null // on a sell. null on a buy
}
}Every amount is an exact decimal string in major units of its currency ("10.00" is ten dollars), never a JSON number. Quantities and prices stay numbers, because you read them, not book them.
Book from operatorMoney, never from fillMoney. For each order, keep what you have already booked and the highest fillSequence you have applied. When an event arrives with a higher fillSequence, book the difference between its operatorMoney.actualDebit (or operatorExitMoney.sellProceeds on a sell) and what you already booked; ignore an event with a lower one, because a retried delivery can arrive after a later fill. This is idempotent and self-correcting: every event carries the order’s full total, so the next event makes good a lost one. Poll GET /api/v1/orders/{id} for the same figures.
fillMoney itemises what one fill moved, for a statement line. It is not a booking source: an event can be lost if Parity's process stops between recording a fill and emitting it, and a recorded fill is never announced twice, so a sum of fillMoney can have a gap. With no event missing it matches the cumulative block to the cent. The release of any unspent authorization is only ever in operatorMoney.releaseAmount.
fillSequence, partial, final and fillMoney are absent on older events, and a retry resends the stored event as first written, so treat all four as optional.
partial and final state what status and transmissionState imply. final is true exactly when transmissionState is resolved. partial stays true until the order is known to have filled in full, so partial with final is an order that closed short and has a remainder to release. Orders are placed as a cash amount, so the unfilled remainder is money: operatorMoney.releaseAmount.
order.completed says the order is finished. On an order sent to the market, each fill is recorded while the order is still open, so its order.filled carries partial: true and, in almost every case, final: false. When the venue then closes the order, one order.completed is raised with final: true, the cumulative block as it finally stands and the releaseAmount to hand back. Book the last delta from it and apply the release. Like any event it can be missing, so for an order with fills and no completion, read GET /api/v1/orders/{id}: once transmissionState is resolved, apply the release it shows.
Do not release the remainder while transmissionState is unknown
On a partial fill the debit is not the authorization, and releaseAmount is money you keep holding for now, because the venue can still fill more.
unknown means hold the authorization and poll. resolved means no further fill can arrive, so the release is safe to apply. The same field is on GET /api/v1/orders/{id} and means the same thing.
{
"orderId": "3dd27f36-7780-4aa7-8af2-1a6854fbf8cb",
"executionRef": "Parity_Best_7K2M9QH4TR8DXZ", // quote this to Parity support
"clientOrderId": "your-order-id",
"externalUserId": "your-player-id",
"contractId": "ctr_4919562d19a0f299",
"side": "YES",
"action": "buy",
"status": "partially_filled",
"outcome": "closed_partial", // complete | closed_partial | closed_unfilled
"filledQuantity": 24.0,
"averagePrice": 0.72,
"fillCount": 2,
"transmissionState": "resolved",
"final": true,
"partial": true,
"operatorMoney": { // the order's last word
"currency": "USD",
"authorizationAmount": "25.00",
"actualDebit": "17.49",
"releaseAmount": "7.51",
"tradeAmount": "17.28",
"platformFee": "0.21",
"operatorFee": "0.00",
"venueFee": "0.00",
"venueFeeKnown": false
},
"operatorExitMoney": null,
"releaseAmount": "7.51", // HAND THIS BACK
"currency": "USD",
"simulated": false
}{
"orderId": "3dd27f36-7780-4aa7-8af2-1a6854fbf8cb",
"executionRef": "Parity_Best_7K2M9QH4TR8DXZ", // quote this to Parity support
"clientOrderId": "your-order-id",
"externalUserId": "your-player-id",
"reason": "venue refused: market closed",
"operatorMoney": { // nothing was spent. release all of it
"currency": "USD",
"authorizationAmount": "25.00",
"actualDebit": "0.00",
"releaseAmount": "25.00",
"tradeAmount": "0.00",
"platformFee": "0.00",
"operatorFee": "0.00",
"venueFee": "0.00",
"venueFeeKnown": false
}
}{
"orderId": "3dd27f36-7780-4aa7-8af2-1a6854fbf8cb",
"executionRef": "Parity_Best_7K2M9QH4TR8DXZ", // quote this to Parity support
"clientOrderId": "your-order-id",
"externalUserId": "your-player-id",
"authorizationAmount": "40.00", // RESERVE and HOLD. there is no release here
"currency": "USD",
"transmitted": false
}A recorded intent has no releaseAmount, because its funds must be held. order.cancelled is the event that says release.
{
"orderId": "3dd27f36-7780-4aa7-8af2-1a6854fbf8cb",
"executionRef": "Parity_Best_7K2M9QH4TR8DXZ", // quote this to Parity support
"externalUserId": "your-player-id",
"cancellationId": "cxl_3dd27f36-7780-4aa7-8af2-1a6854fbf8cb", // idempotency key for the release
"currency": "USD",
"authorizationAmount": "40.00",
"actualDebit": "0.00", // always zero: nothing was transmitted
"releaseAmount": "40.00",
"reason": "customer withdrew",
"transmitted": false
}{
"positionId": "5c0f7a1e-2b9d-4c6e-8f31-7a4d2e9b6c05",
"settlementId": "e2a94d17-6c3b-4f80-9d52-1b7e3a6c8f24", // idempotency key for the credit
"externalUserId": "your-player-id",
"contractId": "ctr_4919562d19a0f299",
"side": "YES",
"resolution": "YES",
"outcome": "won",
"contracts": 15.6451,
"costBasis": 10.00, // facts, not instructions
"entryFees": 0.30,
"payout": 15.65,
"realisedPnl": 5.35,
"lifetimeRealisedPnl": 5.35,
"operatorMoney": { // CREDIT THIS
"currency": "USD",
"settlementCredit": "15.65", // winnings
"voidCredit": "0.00" // a void: a refund, fee included, or a split payout
},
"simulated": false
}Exactly one of settlementCredit and voidCredit is non-zero, and a loss zeroes both. Winnings and a void are separate instructions: a void either refunds (an annulled market, fee included) or pays a split result at its share of a dollar a contract, with the fee kept.
{
"contractId": "ctr_4919562d19a0f299",
"settledResolution": "YES", // what you were settled on
"currentResolution": "NO", // null when the outcome was withdrawn
"affectedPositionIds": [ // every position of yours it touches
"5c0f7a1e-2b9d-4c6e-8f31-7a4d2e9b6c05",
"9a2e4b7c-1d3f-4e5a-8b6c-0f9e8d7c6b5a"
],
"affectedPositionId": "5c0f7a1e-2b9d-4c6e-8f31-7a4d2e9b6c05", // the first of them
"action": "operator_review_required"
}The dedupe key of each event
| Type | dedupeKey |
|---|---|
order.intent_recorded | order.intent_recorded:<orderId> |
order.filled | order.filled:<orderId>:<fillId> |
order.rejected | order.rejected:<orderId> |
order.cancelled | order.cancelled:<orderId> |
order.completed | order.completed:<orderId> |
position.settled | position.settled:<positionId> |
market.resolution_changed | market.resolution_changed:<contractId>:<from>-><to>:<operator> |
combo.* (optional) | <type>:<comboId> |
combo.leg_resolved (optional) | combo.leg_resolved:<comboId>:<legIndex>:<state> |
Swipe the table sideways for more columns.
Treat every key as opaque and compare it whole; the formats are shown for understanding, not parsing. The <operator> part is an opaque token that is stable for your operator; events recorded before it was introduced carry your operator id there instead, and are never raised a second time under the new form. On market.resolution_changed, <to> is null when the outcome was withdrawn.
When an event can be missing
An event is recorded just after its change is committed. If Parity's process stops in between, the change stands and that event is not recorded. It is rare.
For a live order, the event that ends it (order.cancelled, order.rejected or order.completed) is recovered: a check every few minutes raises any that is missing, for orders that ended in the last seven days. Other events, a fill or a settlement among them, are not raised again. That is why no webhook can be your only source of money facts, and why every money event carries cumulative figures: the next event, a read of the order or the settlement feed fills the gap.
The delivery envelope
{
"id": "<eventId>",
"type": "position.settled",
"dedupeKey": "position.settled:<positionId>",
"createdAt": "2026-08-21T18:02:11.004Z",
"operatorId": "<the operator this event is for>",
"parentOperatorId": null,
"data": { ... }
}content-type: application/json
parity-signature: t=1755751331,v1=<hex hmac-sha256 of "<t>.<body>">
parity-event-type: position.settled
parity-operator-id: <the operator this event is for>
user-agent: Parity-Webhooks/1The event is identified by id in the body, the same on every attempt. The signature timestamp t is new for each attempt, so a retry carries a new signature over the same data.
dedupeKeyidentifies the fact, not the attempt. Key your processing on it, since delivery is at least once.- Answer
2xxquickly and process asynchronously. A delivery times out at 10 seconds. - Redirects are never followed; a
3xxcounts as a failed delivery. operatorIdis the operator the event is for, andparentOperatorIdits aggregator when it has one (otherwise null). Theparity-operator-idheader (andparity-parent-operator-id, sent only when there is a parent) repeat them so you can route before parsing; act on the body's values, which the signature covers.createdAtis when this attempt was sent, not when the fact happened. It changes between retries, so do not use it to order events or date the fact. No payload carries a timestamp of its own: date the fact from the resource it names (for exampleGET /api/v1/orders/{id}) or from the reconciliation feed.
Aggregators: one URL for every operator
By default each operator's events go to that operator's own endpoints, signed with that endpoint's secret. If you resell Parity to downstream operators, Parity can switch on casino events for your own endpoint: it then also receives the events of every direct downstream operator in your mode, signed with your endpoint's secret, each naming its operator in operatorId. A downstream operator's own endpoints keep receiving its events as before.
Book every event against operatorId, never against the URL it arrived on: two operators can each have a player with the same externalUserId, and the pair is what identifies a wallet. If an operator has its own endpoint as well, the same event arrives at both with the same dedupeKey; key on it.
Deliveries are not ordered
There is no ordering guarantee, across or within event types. Deliveries go out in batches and failed ones retry hours later, so two events about one order can arrive in either order.
Do not advance a state machine on arrival order. Treat each delivery as a notice that something changed, key it on dedupeKey, and read the current state from the API before acting on money. Where order matters, the reconciliation feed is ordered.
Verifying a signature
The timestamp is part of the signed material, so an old delivery cannot be replayed later. The tolerance is 300 seconds.
import { createHmac, timingSafeEqual } from 'node:crypto';
export function verify(secret: string, body: string, header: string, toleranceSeconds = 300) {
const parts = new Map(header.split(',').map((p) => p.split('=') as [string, string]));
const t = Number(parts.get('t'));
const v1 = parts.get('v1');
if (!Number.isFinite(t) || !v1) return false;
// An old signature is refused even when the MAC is perfect. That is the whole
// purpose of putting the timestamp in the signed material.
const now = Math.floor(Date.now() / 1000);
if (Math.abs(now - t) > toleranceSeconds) return false;
const expected = createHmac('sha256', secret).update(`${t}.${body}`).digest();
const given = Buffer.from(v1, 'hex');
if (given.length !== expected.length) return false;
return timingSafeEqual(expected, given);
}- Parity issues the signing secret once, when it registers your endpoint; store it in your secret manager straight away. Rotation issues a new secret the same way and replaces the old one immediately, with no overlap: every delivery after that, including retries, uses the new secret. Deploy it quickly; deliveries that fail verification in between retry on the normal schedule.
- Verify against the raw body, before any JSON parsing. Re-serialising changes the bytes and the MAC will not match.
- Verify
parity-signature, and read the event type fromparity-event-typeor the body'stype. - Signing secrets are prefixed
whsec_and are encrypted at rest under a key held outside the database. - An unsigned delivery is never sent. If signing is unavailable, the attempt counts as a failure and is retried.
Retries
| Attempt | Delay after the previous failure |
|---|---|
| 1 | immediate |
| 2 | 5 minutes |
| 3 | 25 minutes |
| 4 | 2 hours 5 minutes |
| 5 | 10 hours |
| 6 | 10 hours, and the last. If it fails, the delivery is marked exhausted |
Swipe the table sideways for more columns.
- Six attempts over 22 hours 35 minutes, measured end to end by a test that walks a delivery through the whole schedule.
- Every failed attempt uses one of the six, whatever the cause: a non-2xx answer, a timeout or network error, a redirect, a destination that fails the checks below, or signing being unavailable. A destination whose host is not on the delivery allow-list therefore exhausts after the full schedule.
- The first attempt goes out on the next drain of the queue, which runs every 15 seconds by default. A delivery claimed by a worker that then dies is picked up again after 30 minutes, which is one more reason a delivery can arrive late or twice.
- An endpoint stays registered however many deliveries fail. A delivery to an endpoint that has been made inactive is held, not dropped, and resumes if the endpoint is made active again.
- The long tail gives an endpoint in an incident time to recover.
- A delivery is
pending,sending,deliveredorexhausted.exhaustedis terminal for the schedule, and the delivery is kept: Parity replays any exhausted delivery on request.
Four answers stop the retries immediately
404, 405, 410 and 501 say your endpoint does not exist or cannot accept the request, and waiting will not change that. A delivery that gets one goes straight to exhausted, with the status code and body recorded.
Everything else keeps all six attempts. 5xx and 408 are temporary, 429 asks Parity to slow down, and 401 / 403 usually come from a proxy. 400 and 422 also retry, so a fix you ship within the day still receives the delivery.
Destination requirements
A partner URL is an outbound request from inside Parity's network, so the rules are strict and checked on every attempt, not only at registration, because DNS can be repointed later.
httpsonly, on port 443. No credentials in the URL.- The hostname must be on Parity's delivery allow-list. Parity adds your host when it registers your endpoint. Any other host is refused.
- Every resolved address must be public unicast. Loopback, private ranges, link-local (cloud instance metadata), carrier-grade NAT and multicast are all refused, and every address is checked, not just the first.
DNS rebinding is closed. The connection is made to an address the check validated, the name is not resolved a second time, TLS is verified against the hostname, and redirects are not followed.
A destination that fails a check is refused with one of these reasons:
| Reason | Meaning |
|---|---|
malformed_url | The URL does not parse. |
scheme_not_https | Only https is delivered to. |
credentials_in_url | A user name or password is in the URL. |
port_not_443 | Any port other than 443 (an explicit :443 is fine). |
host_not_allow_listed | The host is not on Parity’s delivery allow-list. A wildcard entry *.example.com covers subdomains but not example.com itself. |
private_address | A resolved address is not public unicast. |
dns_failed | The name did not resolve. |
dns_empty | The name resolved to no address. |
Swipe the table sideways for more columns.
Refused ranges: 0.0.0.0/8, 127.0.0.0/8, 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 169.254.0.0/16, 100.64.0.0/10, the documentation ranges 192.0.2.0/24, 198.51.100.0/24 and 203.0.113.0/24, and everything from 224.0.0.0 up; for IPv6, ::, ::1, fe80::/10, fc00::/7, ff00::/8, 2001:db8::/32 and 3fff::/20. An IPv4 address written inside IPv6 is unwrapped and checked as IPv4.
Registering and managing an endpoint
Send your webhook URLs and event types to your account team, who register them and confirm. Every change to an endpoint goes through them too. Per endpoint, Parity needs:
- The URL. It must pass the destination rules above, and Parity adds its host to the delivery allow-list as part of registering the endpoint.
- The event types it wants. An empty list means every type, including any added later, except the optional
combo.*types: an endpoint receives those only by listing them.
| Action | What it does |
|---|---|
| Register | Creates the endpoint and returns its whsec_ signing secret once. It is never shown again. |
| Change URL | Re-verifies the new destination before it is saved. |
| Change events | Replaces the subscribed list. Takes effect for events raised afterwards. |
| Activate / deactivate | An inactive endpoint is queued nothing new; deliveries already queued to it wait. |
| Rotate secret | Issues a new secret, shown once, and replaces the old one immediately. |
| Requeue | Your account team re-sends one event to one endpoint: its attempt count resets to zero and it goes out on the next drain. Refused while that delivery is in flight or the endpoint is inactive. |
Swipe the table sideways for more columns.
On the Health page of your operator portal you can test an endpoint yourself, without changing any stored delivery:
- Send test event sends a signed sample event now. It carries
test: trueon the envelope and insidedata, and the headerparity-test: 1, so your handler can tell it from a real event. - Replay sends one past event again now, with a fresh timestamp and signature and the same
dedupeKey. - Both are limited: 60 presses in 10 minutes on a sandbox account, 10 on a live one.
Every attempt is recorded per endpoint with its status code, so your account team can tell you what your endpoint answered and replay the delivery.