Webhooks
V3 documentation treats outbound eligibility notifications as part of the public integration model,
not as an implementation detail. Webhook deliveries are eligibility-oriented JSON batches that use
the same operational concepts exposed by the public API: summary, optional previous,
and stable identifiers such as eligibilityId and statusCreateDate.
The webhook itself stays intentionally lightweight. When partners need the deeper compact eligibility
payload, they should pull it through GET /v3/company/{companyIdentification}/eligibility/{eligibilityId}.
Use the dedicated Webhook Guide for:
- delivery semantics
- signature headers and HMAC validation
- payload examples
- retry and idempotency guidance
Read or change the webhook callback
GET /v3/company/{companyIdentification}/webhooks/configuration
Use the same company identification, API key and request-signing rules as for other company reads. No body, query parameters or idempotency key are needed. This reads your current settings for that company. It does not send a test webhook, queue a delivery, or check receiver health.
Example: GET /v3/company/0042/webhooks/configuration returns 200 OK:
{
"requestId": "example-config", "version": "v3",
"data": {
"companyIdentification": "0042",
"callbackUrl": "https://receiver.example.org/eligibility"
}
}
callbackUrl is the saved address. If no address has been set, it is explicitly
null (still 200 OK). Treat the URL as sensitive. Change-alert emails
are a separate setting: neither endpoint reads or changes email preferences.
PUT /v3/company/0042/webhooks/configuration
Content-Type: application/json
{"callbackUrl":"https://receiver.example.org/eligibility"}
Sign this PUT with your request signing secret. Supply an absolute HTTPS address of at most 250 characters, without embedded credentials or a fragment. In production, use a public DNS hostname on port 443 with a trusted TLS certificate for that hostname. All its DNS addresses must be public. Redirects are not followed. In QA, use only the exact test address approved by EligiPro; never supply a real partner receiver there.
Before saving, EligiPro sends one POST to the proposed address (not to the old address). Example test body:
{"event":"webhook.test","timestamp":"2026-11-22T15:00:00.0000000Z"}
This is not an eligibility: it contains no patient data and does not appear in delivery history.
When webhook signing is configured, validate the usual webhook signature on the raw body.
Then return any 2xx within five seconds; 204 No Content is sufficient.
Do not echo anything or make a confirmation call. Until acceptance, the old address stays in effect.
New batches use the new address. A batch prepared for the old address keeps that address, even if
its first send happens after the change. For a planned move, keep the old receiver available until
those batches finish. Earlier deliveries are never redirected to the new receiver.
Manual redelivery requires the current address to match the original destination. After a change,
a new redelivery request for the old destination returns 409. A previously queued
redelivery that has not started fails without an HTTP call if the destinations no longer match.
200: the accepted URL is saved. The response has the same shape as GET.400: correct the URL or request body.401: check your API key and signature.403: check company access, request-signing setup, and the destination policy above.422: DNS, TLS, connection, timeout, or a non-2xx response prevented acceptance. Redirects are not followed. Nothing was saved. Fix the receiver and repeat the signed PUT with a fresh timestamp and nonce.409: the configuration changed during the test. Read it again before deciding whether to retry.
In Postman use the requests under Webhook deliveries. To run the opt-in PUT,
set webhookCallbackTestUrl only when you intend to replace the saved URL.
In production a successful test activates the new URL immediately. Clear the variable afterwards.
Delivery history and redelivery
QA preview. These signed API requests are scoped to your authorized company. A delivery is one
original webhook batch, not a patient or an eligibility check. Its deliveryId is the
original responseId and X-EligiPro-DeliveryId. An attemptId
identifies one try to send that batch. Delivery history returns metadata, never patient records, callback URLs,
signing secrets or the receiver's response body. Only tracked, not-yet-removed V3 deliveries are visible;
do not assume a fixed number of days of history.
1. Find a delivery
GET /v3/company/0042/webhooks/deliveries?pageSize=25&status=delivered
Optional filters: from (inclusive) and until (exclusive) on the
batch creation time, e.g. 2026-11-01T00:00:00Z; status is
pending (in the automatic retry window), delivered (at least one
confirmed success), or notDelivered (no confirmed success and no longer pending automatically).
A failed manual retry never erases an earlier success.
{
"requestId": "example-1", "version": "v3",
"data": { "deliveries": [{
"deliveryId": "batch-abc", "createdAt": "2026-11-20T12:00:00Z", "itemCount": 2,
"deliveredAt": "2026-11-20T12:00:03Z", "status": "delivered", "latestAttemptStatus": "accepted"
}] }
}
Both GETs return newest first. pageSize defaults to 25 (1–100). If
data.nextCursor is present, pass it unchanged as cursor to the same GET
with the same company and filters. Its absence means the last page. List and detail cursors
are not interchangeable. An empty list is 200 with deliveries: [].
2. Inspect attempts
GET /v3/company/0042/webhooks/deliveries/batch-abc?pageSize=25
data.delivery contains the same summary as the list. data.attempts
can be empty before the first attempt. Example attempt:
{
"attemptId": "8114d7ff-fbb9-47d0-a933-a8d18082cb1a", "origin": "initial",
"queuedAt": "2026-11-20T12:00:01Z", "startedAt": "2026-11-20T12:00:02Z",
"finishedAt": "2026-11-20T12:00:03Z", "status": "accepted", "httpStatus": 204
}
Origins: initial, automatic (retry), manual (requested redelivery).
Status: queued, sending, accepted (receiver returned 2xx),
failed, unknown (receipt could not be confirmed), or expired
(not sent before the queue deadline). Dates are UTC. Unavailable fields are omitted:
for example, a queued attempt has no startedAt, finishedAt or httpStatus.
A timeout is not proof that the receiver did not process the batch.
3. Request a redelivery
In QA, requests against the shared operational queue are blocked with 409.
Test redelivery only in the isolated QA circuit provided by EligiPro. No callback is sent by the API itself.
POST /v3/company/0042/webhooks/deliveries/batch-abc/redeliver
Idempotency-Key: recovery-ticket-371
Send no body or query string. Use your usual API credentials and request signing secret. The optional,
recommended Idempotency-Key accepts 1–128 ASCII letters, digits, periods, underscores
or hyphens. Use a new key for each intended redelivery, but reuse it when retrying that same POST
(e.g. after a lost response). The key is scoped to the delivery and is not part of the signing string.
Always generate a fresh nonce, timestamp and request signature, even when retrying with the same key.
HTTP 202 Accepted
{ "requestId": "example-2", "version": "v3",
"data": { "deliveryId": "batch-abc", "attemptId": "413dae93-5ed4-44d6-804f-5b2a587eef2a" } }
202 is a receipt for the request, not confirmation of delivery. Poll detail for that attempt. Repeating a key returns the same attempt, even if it already finished; without a key a later POST may create another attempt. Redelivery uses the original JSON bytes and delivery ID, with a new timestamp and webhook signature, to the registered HTTPS callback only. Your receiver should verify each signature and deduplicate processing by delivery ID.
Postman safety: select the approved QA environment first; do not run this
preview against the public host. The Webhook deliveries folder skips all three requests
on api.eligipro.com during QA. Set
webhookDeliveryId explicitly. Postman skips the POST unless
webhookRedeliveryConfirmId matches that exact ID. Set webhookIdempotencyKey
for the intended operation and clear the confirmation when done. Selecting a delivery
in the list never requests a redelivery automatically.
Troubleshooting: 400: correct filters, cursor, header or request shape.
401: check API credentials/signature. 403: company not authorized. 404: delivery not available
in this company (including removed or untracked deliveries). 409: another attempt is open, automatic
delivery is pending, archiving has started, or the callback/signing setup no longer permits
redelivery. Inspect detail before retrying; contact support for callback changes. 503:
temporarily unavailable; retry later with the same key. Include the API requestId when contacting support.