EligiPro Partner API V3

Webhook guide

This guide explains when EligiPro sends webhook deliveries, what the payload looks like, how delivery retries work, and how partners should validate signature headers in V3.

Overview

To read or replace your company's callback address, see Webhook configuration. GET sends nothing. PUT sends a webhook.test message to the new receiver and saves the address only after a successful response. Neither operation affects change-alert emails.

EligiPro stores the raw eligibility response, calculates an operational summary, compares that summary with the previous result for the same patient and payor, and then prepares outbound notifications for partners that have webhook integration configured.

In V3, the webhook payload is aligned with the same operational language exposed by the public API:

  • summary: the EligiPro operational snapshot
  • optional previous: the previous summary when the new result triggered a change
  • eligibilityId and statusCreateDate: enough context to pull the full detail on demand

When EligiPro sends webhooks

Partners configure patient-to-payor relationships and the verification frequency. EligiPro runs the eligibility checks on that schedule, stores the results, and queues notifications for outbound delivery.

From the partner point of view, the important concept is this:

  • You configure what should be monitored.
  • EligiPro executes the eligibility checks.
  • EligiPro stores both the raw file and the computed summary.
  • EligiPro can notify you through webhook deliveries as results become available.

The public API remains available for pull-based auditing through:

  • GET /v3/company/{companyIdentification}/eligibility
  • GET /v3/company/{companyIdentification}/eligibility/history
  • GET /v3/company/{companyIdentification}/eligibility/{eligibilityId}

Delivery model

Webhooks are delivered as JSON POST requests to the URL configured for the partner. Each delivery is a batch for one CompanyClient. The payload contains a top-level responseId and an items array with one item per eligibility notification.

The delivery body is intentionally focused on eligibility events, not on generic patient batches.

Headers and signature

V3 webhook delivery uses dedicated webhook signing secrets configured per partner. Those signatures let your receiver validate that EligiPro created the delivery body and that it was not modified in transit.

Recommended headers:

Content-Type: application/json
User-Agent: EligiPro-Webhook/v3
X-EligiPro-ApiVersion: 3
X-EligiPro-DeliveryId: {responseId}
X-EligiPro-Timestamp: 2026-04-22T14:35:10Z
X-EligiPro-KeyId: primary
X-EligiPro-Signature: sha256={hex_hmac}

String to sign:

{deliveryId}\n{timestamp}\n{rawBody}

Algorithm:

HMACSHA256(WebhookSigningSecret, utf8(stringToSign))

Partners should validate:

  • the signature
  • the timestamp freshness
  • the delivery id as an idempotency key

This is different from the normal synchronous JSON API responses returned by partner-initiated requests. Those request-response calls rely on HTTPS/TLS and are not wrapped in a second HMAC response signature. Webhooks are the signed EligiPro-to-partner outbound surface.

If your partner rotates the webhook signing secret through POST /v3/auth/signing-secrets/rotate, store the returned secret immediately. Future webhook deliveries will use the new secret and, when present, the new X-EligiPro-KeyId.

Receiver validation example: Node.js

import crypto from "node:crypto";

function isValidEligiProWebhook({
  webhookSigningSecret,
  deliveryId,
  timestamp,
  rawBody,
  receivedSignature
}) {
  const stringToSign = [
    deliveryId,
    timestamp,
    rawBody ?? ""
  ].join("\\n");

  const expected = "sha256=" + crypto
    .createHmac("sha256", webhookSigningSecret)
    .update(stringToSign, "utf8")
    .digest("hex")
    .toLowerCase();

  const expectedBuffer = Buffer.from(expected, "utf8");
  const receivedBuffer = Buffer.from(receivedSignature ?? "", "utf8");

  return expectedBuffer.length === receivedBuffer.length &&
    crypto.timingSafeEqual(expectedBuffer, receivedBuffer);
}

Receiver validation example: C#

using System.Security.Cryptography;
using System.Text;

static bool IsValidEligiProWebhook(
    string webhookSigningSecret,
    string deliveryId,
    string timestamp,
    string rawBody,
    string receivedSignature)
{
    var stringToSign = string.Join("\n", new[]
    {
        deliveryId,
        timestamp,
        rawBody ?? string.Empty
    });

    using var hmac = new HMACSHA256(Encoding.UTF8.GetBytes(webhookSigningSecret));
    var hash = hmac.ComputeHash(Encoding.UTF8.GetBytes(stringToSign));
    var expected = $"sha256={Convert.ToHexString(hash).ToLowerInvariant()}";

    return CryptographicOperations.FixedTimeEquals(
        Encoding.UTF8.GetBytes(expected),
        Encoding.UTF8.GetBytes(receivedSignature ?? string.Empty));
}

Payload contract

{
  "responseId": "348-d17a53cb-0e34-415a-b88d-f50eb6448174-12-125",
  "apiVersion": "v3",
  "company": {
    "companyIdentification": "1174762973",
    "companyDescription": "DEMO FL Dev"
  },
  "items": [
    {
      "eligibilityId": 144688618,
      "statusCreateDate": "2026-04-01T09:49:11",
      "hasChanged": true,
      "patient": {
        "externalId": 5,
        "firstName": "JIMMY",
        "lastName": "DOE",
        "fullName": "DOE, JIMMY",
        "DOB": "2017-03-20",
        "gender": "M",
        "ssn": null,
        "cardControlId": null,
        "tags": []
      },
      "payor": {
        "payorId": 307,
        "description": "AETNA [AETNA]",
        "active": true,
        "memberID": "270761017",
        "criteriaId": 5,
        "criteriaDescription": "First Name, Last Name and Date of Birth"
      },
      "summary": {
        "eligibilityId": 144688618,
        "effectiveDate": "2026-04-01",
        "benefitPlan": "OA MANAGED CHOICE POS HDHP",
        "managedCare": null,
        "planName": null,
        "tpl": null,
        "hasTpl": false,
        "hasChanged": true
      },
      "previous": {
        "eligibilityId": 144669825,
        "effectiveDate": "2026-03-01",
        "benefitPlan": "Error in file (Invalid / Missing Subscriber / Insured ID)",
        "managedCare": null,
        "planName": null,
        "tpl": null,
        "hasTpl": false,
        "hasChanged": true
      }
    }
  ]
}

Notes:

  • previous is optional and appears only when there is a previous summary to compare.
  • statusCreateDate tells you when EligiPro obtained and stored that eligibility result.
  • Use GET /v3/company/{companyIdentification}/eligibility/{eligibilityId} when you need the full compact detail payload.
  • items contains eligibility notifications, not a generic list of patients.

Examples

Case 1: delivery with change detected

Expect hasChanged=true and a populated previous block.

Case 2: delivery without previous comparison

Expect hasChanged=false and no previous block.

Case 3: error or no-coverage result

The summary can still be operationally meaningful even when the underlying eligibility response does not contain classic active coverage benefits. For example, the summary can represent no coverage or a processed error condition.

How to build the receiver

  1. Accept JSON POST requests.
  2. Read the raw body exactly as received.
  3. Validate the signature using the delivery id, timestamp, and raw body.
  4. Reject stale or duplicated deliveries.
  5. Persist the batch or each item before performing deeper business processing.
  6. Return 200 OK after successful receipt.

Partners should treat responseId and X-EligiPro-DeliveryId as the same logical delivery identifier.

A practical receiver usually checks the signature first, then checks timestamp freshness, and only then decides whether the delivery id was already processed. That order avoids doing unnecessary database work for clearly invalid webhook calls.

Retries and idempotency

EligiPro batches notifications into outbound transactions. Deliveries that are not accepted can be retried. Because of that, receivers should be idempotent and should keep track of previously processed delivery ids.

A practical partner strategy is:

  • store the delivery id
  • ignore duplicates after the first successful processing
  • return non-success status codes only when the batch should genuinely be retried

FAQ

Can I find an attempt or request a redelivery?

See Delivery history and redelivery for the QA preview endpoints, pagination, examples and error handling. A redelivery is a new attempt for the same batch, not a new eligibility check. A 202 from the management API does not mean your callback has received it.

Do I only receive changed results?

The payload always tells you whether a change was detected through hasChanged. Your integration should use that flag instead of assuming all deliveries are change alerts.

Can I pull results instead of using webhooks?

Yes. Use the public eligibility endpoints for audit and retrieval workflows.

How do I retrieve the full eligibility detail?

Use eligibilityId from the webhook item and call GET /v3/company/{companyIdentification}/eligibility/{eligibilityId}. That endpoint returns the compact cross-payor detail contract.

Can one delivery contain multiple patients?

Yes. Deliveries are batched per CompanyClient, so the items array can contain more than one eligibility notification when multiple results are ready at the same time.

What should I trust first: summary or the detail endpoint?

Start with summary for operational workflows and alerting. Use the detail endpoint when you need the deeper eligibility evidence behind that operational result.

Is an empty 200 response acceptable when my receiver succeeds?

Yes. EligiPro only needs a successful HTTP status code to mark the delivery as accepted. A body is optional.

Do normal API responses carry the same signature headers?

No. Request-response API traffic relies on HTTPS/TLS. The HMAC-signed outbound surface is the webhook delivery itself.