EligiPro Partner API V3 / Technical reference / Guide 03

Company & payors

Read a company profile and monthly usage, manage tags, and configure payor relationships.

Company

GET /v3/company/{companyIdentification}

Use the identifier issued for your integration exactly as supplied, including leading zeros. This reads one company, not a directory of companies. Send EPAPIKey and, if signing is enabled for your partner, sign the GET with an empty body. There are no query parameters.

Example: GET /v3/company/0042 returns 200 OK:

{
  "requestId": "example-001", "version": "v3",
  "data": { "companyIdentification": "0042", "companyDescription": "Demo Clinic",
            "active": true, "statePrefix": "FL" }
}

companyDescription is the display name; statePrefix is the configured state abbreviation (null if unset). Only active companies are accessible, so a successful lookup returns active: true. Inactive, unknown and unrelated companies all return 403. Missing or invalid credentials or a missing required signature return 401.

Company usage

GET /v3/company/{companyIdentification}/usage

Returns month-to-date eligibility activity for one authorized company, across all channels, including scheduled checks. This is not a count of calls made with your API key, remaining plan capacity, or a billing statement. Send the same credentials as for the company profile and sign the exact GET path with an empty body if signing is enabled. No request body or query parameters. Historical months cannot be requested.

Example: GET /v3/company/0042/usage returns 200 OK:

{
  "requestId": "example-003", "version": "v3",
  "data": {
    "companyIdentification": "0042", "period": "2026-11",
    "uniquePatientsChecked": 96, "activePatientsChecked": 82,
    "successfulRealtimeChecks": {
      "directConnection": 185, "texasMedicaid": 12, "stateClearinghouse": 24,
      "commercialParClearinghouse": 58, "commercialNonParClearinghouse": 9
    }
  }
}

period is the current UTC calendar month (YYYY-MM). uniquePatientsChecked counts each patient with at least one recorded eligibility result effective this month to date, whether obtained by file or realtime. An attempt without a result does not count. activePatientsChecked is the subset still active and not deleted when you call. If a checked patient is deactivated, the second count can drop while the first stays the same.

successfulRealtimeChecks counts requests sent this month to date that received HTTP 200. HTTP 200 does not mean active coverage. Two successful checks for the same patient count as two requests. File checks and non-200 attempts never enter these counters.

  • directConnection: checks made through a direct payor connection, including Medicare.
  • texasMedicaid: Texas Medicaid only; not also counted under direct.
  • stateClearinghouse: state payors reached via a clearinghouse, regardless of participation category.
  • commercialParClearinghouse: non-state clearinghouse payors classified as participating (PAR).
  • commercialNonParClearinghouse: non-state clearinghouse payors classified as non-participating (non-PAR).

The five realtime counts are mutually exclusive. Do not add patient counts to transaction counts. An authorized company with no activity gets 200 with zero counts, not 404. Missing or invalid credentials or a required signature return 401; an unknown, inactive or unrelated company returns 403.

Tags

GET /v3/company/{companyIdentification}/tags

Uses the same credentials, signing and company access rules as the company profile. No body, query parameters or pagination. Lists the company's tag catalog, not assignments for an individual patient. Results are sorted by name (case-insensitive), then by ID.

Example: GET /v3/company/0042/tags returns 200 OK:

{
  "requestId": "example-002", "version": "v3",
  "data": { "companyIdentification": "0042", "tags": [{ "tagId": 7, "name": "Follow-up" }] }
}

If no tags exist the call still succeeds with "tags": []. Use the numeric tagId in the eligibility status filter (for example ?tagIds=7) and the name in patient create/patch payloads (for example "tags": ["Follow-up"]). Patient writes resolve names within that company and can create a missing name. This GET does not create, rename, delete or assign tags.

Managing the company catalog

Use the same API key and signing rules as the other company routes. For POST and PATCH send Content-Type: application/json and sign the exact JSON body sent. For DELETE sign an empty body and include the query string in the signed path if you use one.

Create: send a name, not an ID. EligiPro trims outer whitespace. The resulting name must fit in 1 to 255 Windows-1252 bytes without substitutions. Names are unique within the company, ignoring case but distinguishing accents: follow-up and Follow-up conflict. A new tag uses the default display color and has no patients.

POST /v3/company/0042/tags
{ "name": "Follow-up" }

201 Created
{ "requestId": "example-004", "version": "v3", "data": { "tagId": 73, "name": "Follow-up" } }

Rename: use the numeric ID from the catalog, not the current name. All assigned patients now show the new name. The ID, color, and assignments stay the same, so ID-based filters keep working. Sending the same rename again succeeds. Update integrations that write patient tag names: sending "tags":["Follow-up"] after this rename can create a new tag with a different ID.

PATCH /v3/company/0042/tags/73
{ "name": "Needs review" }

200 OK
{ "requestId": "example-005", "version": "v3", "data": { "tagId": 73, "name": "Needs review" } }

Delete: DELETE /v3/company/0042/tags/73 has no body. If unused, it returns 204 No Content. If assigned to patients, nothing changes and you receive the current number of assignments, including those on inactive patients:

409 Conflict
{ "title": "Tag is assigned to patients", "status": 409,
  "detail": "Retry with removeFromPatients=true to remove this tag from all assigned patients and delete it.",
  "assignedPatientCount": 12, "requestId": "example-006" }

Only after reviewing the impact, send DELETE /v3/company/0042/tags/73?removeFromPatients=true. This removes the tag and all assignments at execution time together; it never deletes a patient or other tags. Success is 204 with no response body. A later DELETE of the same ID returns 404. To remove a tag from just one patient, update that patient's tags instead.

Other errors: 400 invalid name or request; 401 invalid credentials or required signature; 403 unavailable company; 404 tag absent from the authorized company's catalog (including a tag from a different company); 409 name already in use, or assignments require review. In the latter case contact support with the requestId; confirmation cannot override this safeguard. No tag is changed on any of these conflicts.

Payors

GET /v3/company/{companyIdentification}/payors?view=all

Returns the full CompanyPayor list for the target CompanyClient. Each item has a root-level related flag. When related=true, the relationship object is present and contains the configured CompanyClient-to-payor metadata.

Supported values for view:

  • all: returns every payor in the list
  • related: returns only payors already related to the company
  • active: returns only related payors whose relationship is active

The CompanyClient to CompanyPayor relationship is persistent. V3 does not expose a delete operation for this link. If a relationship should stop being operational, send active=false through the PUT endpoint. Sending active=true reactivates it.

payorId is EligiPro's fixed CompanyPayor identifier. Use the value returned by this endpoint in configuration requests, patient-payor request bodies, eligibility filters, and the patient-payor delete and force-check routes. If your system uses different identifiers, keep the mapping in your integration.

When the payor is already related, the relationship object also exposes the effective defaultFrequency used when a future patient-to-payor relationship is created without an explicit frequency.

{
  "requestId": "00-abc123",
  "version": "v3",
  "data": {
    "companyIdentification": "1174762973",
    "companyDescription": "DEMO FL Dev",
    "payors": [
      {
        "payorId": 307,
        "description": "AETNA [AETNA]",
        "category": "Par",
        "related": true,
        "allowRealtime": true,
        "criteria": [
          { "id": 3, "description": "First Name, Last Name, Date of Birth and Gender" },
          { "id": 5, "description": "First Name, Last Name and Date of Birth" }
        ],
          "relationship": {
           "active": true,
          "identifierCode": "XX",
          "identifierNumber": "1174762973",
          "defaultFrequency": {
            "type": "DaysOfMonth",
            "daysOfMonth": [1]
          }
        }
      }
    ],
    "identifierCodes": {
      "XX": "National Provider Identifier"
    }
  }
}
PUT /v3/company/{companyIdentification}/payors/{payorId}

Idempotently creates or updates the relationship metadata used to identify the CompanyClient with that CompanyPayor. The request may also define defaultFrequency, which becomes the default patient schedule for that payor. In requests, partners send a semantic type value instead of a numeric identifier.

  • Everyday
  • DaysOfWeek
  • DaysOfMonth
  • FirstAndLastDayOfMonth
  • Custom: weekdays OR month days OR the last calendar day

Custom uses the same object in patient frequency and company/payor defaultFrequency. Example: {"type":"Custom","daysOfWeek":["Mon"],"daysOfMonth":[1],"includeLastDayOfMonth":true}. Weekdays use Mon through Sun; month days are 1 through 31. At least one condition is required. Overlapping matches produce one scheduled date. Day 31 is literal and does not mean the last day of a shorter month. Omit the frequency object or send null to preserve an existing schedule. A supplied object replaces the schedule; omitted/null includeLastDayOfMonth means false. The new field is omitted from classic frequency responses.

Use the string values above. Numeric values shown by an older Swagger schema were an OpenAPI documentation defect, not the public contract. In particular, the legacy scheduling layer uses the same internal type for both Everyday and DaysOfWeek, so its numeric values are not a safe partner-facing mapping.

If defaultFrequency is omitted and the relationship does not yet have one, V3 persists a super-default:

  • payors of type 2: every day of the week
  • other payors: day 1 of the month

If a partner sends defaultFrequency for a payor of type 2, the API does not reject the request. Instead, it silently normalizes the effective default to every day.

Successful relationship changes made through this endpoint are also reflected in EligiPro Activity Logs.

{
  "identifierCode": "XX",
  "identifierNumber": "1174762973",
  "active": true,
  "defaultFrequency": {
    "type": "DaysOfMonth",
    "daysOfMonth": [1]
  }
}
{
  "requestId": "00-abc123",
  "version": "v3",
  "data": {
    "payorId": 307,
    "description": "AETNA [AETNA]",
    "category": "Par",
    "related": true,
    "allowRealtime": true,
    "criteria": [
      { "id": 3, "description": "First Name, Last Name, Date of Birth and Gender" },
      { "id": 5, "description": "First Name, Last Name and Date of Birth" }
    ],
     "relationship": {
       "active": true,
      "identifierCode": "XX",
      "identifierNumber": "1174762973",
      "defaultFrequency": {
        "type": "DaysOfMonth",
        "daysOfMonth": [1]
      }
    }
  }
}