# Stedi

> Find healthcare payers and read Stedi claims, reports, providers, enrollments and delivery events.

App · 18 actions. Web page: https://docs.lodol.com/docs/integrations/stedi

## Actions

### Get claim

Get claim.

**Inputs**

- Claim ID (`claim_id`, text, required): A unique identifier for the claim within Stedi. You can retrieve this ID from the claimId property in the Create Professional Claim JSON endpoint response or from the List Claims lifecycle endpoint.

**Outputs**

- `data` (object): The response from Stedi.

**Example output**

```json
{
  "data": {
    "datesOfService": {
      "end": "example",
      "start": "example"
    },
    "id": "example",
    "patientControlNumber": "example",
    "patientName": {
      "firstName": "example",
      "lastName": "example",
      "middleName": "example",
      "suffix": "example"
    },
    "status": "example",
    "statusReportedBy": "example",
    "stediPayerId": "example",
    "submittedAt": "example",
    "totalClaimChargeAmount": "example",
    "totalClaimPaidAmount": "example",
    "type": "example"
  }
}
```

### Get claim acknowledgment

Get claim acknowledgment.

**Inputs**

- Transaction ID (`transaction_id`, text, required): A unique identifier for the processed 277 transaction within Stedi. This ID is included in the transaction processed event, which you can receive automatically through Stedi [webhooks](https://www.stedi.com/docs/healthcare/configure-webhooks). You can also retrieve it through the [Poll Transactions endpoint](https://www.stedi.com/docs/hea.

**Outputs**

- `data` (object): The response from Stedi.

**Example output**

```json
{
  "data": {
    "meta": {
      "applicationMode": "example",
      "senderId": "example",
      "traceId": "example",
      "transactionId": "example"
    },
    "transactions": [
      {
        "controlNumber": "example",
        "payers": [
          {}
        ],
        "referenceIdentification": "example",
        "transactionSetCreationDate": "example",
        "transactionSetCreationTime": "example"
      }
    ]
  }
}
```

### Get delivery event

Get delivery event.

**Inputs**

- Event ID (`event_id`, text, required): The unique identifier for the event, formatted as evt_{UUID}.

**Outputs**

- `data` (object): The response from Stedi.

**Example output**

```json
{
  "data": {
    "createdAt": "example",
    "eventPayload": {
      "v1Event": {
        "account": "example",
        "created": "example",
        "environment": "example",
        "id": "example",
        "object": "example",
        "relatedResources": [
          {}
        ],
        "resource": {
          "id": "example",
          "type": "example"
        },
        "type": "example"
      }
    },
    "eventType": "example",
    "id": "example",
    "status": "example"
  }
}
```

### Get enrollment

Get enrollment.

**Inputs**

- Enrollment (`enrollment_id`, text, required): The Stedi-assigned identifier for the enrollment you want to retrieve.

**Outputs**

- `data` (object): The response from Stedi.

**Example output**

```json
{
  "data": {
    "aggregationPreference": "example",
    "createdAt": "example",
    "documents": [
      {
        "contentType": "example",
        "createdAt": "example",
        "enrollmentId": "example",
        "id": "example",
        "name": "example",
        "size": 1,
        "status": "example",
        "taskId": "example",
        "updatedAt": "example"
      }
    ],
    "history": [
      {
        "changedAt": "example",
        "changedBy": "example",
        "newStatus": "example",
        "previousStatus": "example",
        "type": "example"
      }
    ],
    "id": "example",
    "lastEraReceivedAt": "example",
    "payer": {
      "name": "example",
      "stediPayerId": "example",
      "submittedPayerIdOrAlias": "example"
    },
    "primaryContact": {
      "city": "example",
      "country": "example",
      "email": "example",
      "firstName": "example",
      "lastName": "example",
      "organizationName": "example",
      "phone": "example",
      "state": "example",
      "streetAddress1": "example",
      "streetAddress2": "example",
      "zipCode": "example"
    },
    "provider": {
      "id": "example",
      "name": "example",
      "npi": "example",
      "taxId": "example",
      "taxIdType": "example"
    },
    "providerTransactionAccessNumber": "example",
    "reason": "example",
    "requestedEffectiveDate": "example",
    "source": "example",
    "status": "example",
    "statusLastUpdatedAt": "example",
    "submittedAt": "example",
    "tasks": [
      {
        "completedAt": "example",
        "definition": {
          "manualTask": {}
        },
        "id": "example",
        "isComplete": true,
        "rank": 1,
        "responseData": {
          "manualTask": {}
        },
        "responsibleParty": "example"
      }
    ],
    "transactions": "example",
    "updatedAt": "example",
    "userEmail": "example"
  }
}
```

### Get event destination

Get event destination.

**Inputs**

- Destination ID (`destination_id`, text, required): The unique identifier for the destination. You can retrieve destination IDs with the [List Destinations](https://www.stedi.com/docs/healthcare/api-reference/get-event-destinations-list-destinations) endpoint.

**Outputs**

- `data` (object): The response from Stedi.

**Example output**

```json
{
  "data": {
    "concurrencyLimit": 1,
    "createdAt": "example",
    "description": "example",
    "destinationUrl": "example",
    "eventTypes": [
      "example"
    ],
    "id": "example",
    "lastDeliveryTime": "example",
    "name": "example",
    "status": "example",
    "updatedAt": "example"
  }
}
```

### Get healthcare provider

Get healthcare provider.

**Inputs**

- Record provider (`record_provider_id`, text, required): The unique ID Stedi assigned to the provider when it was created in the system.

**Outputs**

- `data` (object): The response from Stedi.

**Example output**

```json
{
  "data": {
    "contacts": [
      {
        "city": "example",
        "country": "example",
        "email": "example",
        "firstName": "example",
        "lastName": "example",
        "organizationName": "example",
        "phone": "example",
        "state": "example",
        "streetAddress1": "example",
        "streetAddress2": "example",
        "zipCode": "example"
      }
    ],
    "createdAt": "example",
    "id": "example",
    "name": "example",
    "npi": "example",
    "taxId": "example",
    "taxIdType": "example",
    "updatedAt": "example"
  }
}
```

### Get insurance discovery result

Get insurance discovery result.

**Inputs**

- Discovery ID (`discovery_id`, text, required): The unique ID for the insurance discovery check. Stedi returns this value in the response from the [Insurance Discovery Check](https://www.stedi.com/docs/healthcare/api-reference/post-insurance-discovery) endpoint.

**Outputs**

- `data` (object): The response from Stedi.

**Example output**

```json
{
  "data": {
    "coveragesFound": 1,
    "discoveryId": "example",
    "errors": [
      {
        "code": "example",
        "description": "example",
        "field": "example",
        "followupAction": "example",
        "location": "example",
        "possibleResolutions": "example"
      }
    ],
    "items": [
      {
        "benefitsInformation": [
          {}
        ],
        "confidence": {
          "level": "example",
          "reason": "example"
        },
        "dependent": {
          "address": {},
          "birthSequenceNumber": "example",
          "dateOfBirth": "example",
          "dateTimePeriod": "example",
          "dateTimePeriodFormatQualifier": "example",
          "description": "example",
          "employmentStatusCode": "example",
          "endDateTimePeriod": "example",
          "entityIdentifier": "example",
          "entityType": "example",
          "firstName": "example",
          "gender": "example",
          "governmentServiceAffiliationCode": "example",
          "groupDescription": "example",
          "groupNumber": "example",
          "healthCareDiagnosisCodes": [
            {}
          ],
          "informationStatusCode": "example",
          "insuredIndicator": "example",
          "lastName": "example",
          "maintenanceReasonCode": "example",
          "maintenanceTypeCode": "example",
          "memberId": "example",
          "middleName": "example",
          "militaryServiceRankCode": "example",
          "planDescription": "example",
          "planNetworkDescription": "example",
          "planNetworkIdNumber": "example",
          "planNumber": "example",
          "relationToSubscriber": "example",
          "relationToSubscriberCode": "example",
          "responseProvider": {},
          "ssn": "example",
          "startDateTimePeriod": "example",
          "suffix": "example",
          "uniqueHealthIdentifier": "example"
        },
        "payer": {
          "centersForMedicareAndMedicaidPlanId": "example",
          "contactInformation": {},
          "entityIdentifier": "example",
          "entityType": "example",
          "etin": "example",
          "federalTaxpayersIdNumber": "example",
          "firstName": "example",
          "lastName": "example",
          "middleName": "example",
          "naic": "example",
          "name": "example",
          "npi": "example",
          "payorIdentification": "example",
          "suffix": "example"
        },
        "payerId": "example",
        "planDateInformation": {
          "added": "example",
          "admission": "example",
          "certification": "example",
          "cobraBegin": "example",
          "cobraEnd": "example",
          "dateOfDeath": "example",
          "dateOfLastUpdate": "example",
          "discharge": "example",
          "effectiveDateOfChange": "example",
          "eligibility": "example",
          "eligibilityBegin": "example",
          "eligibilityEnd": "example",
          "enrollment": "example",
          "issue": "example",
          "plan": "example",
          "planBegin": "example",
          "planEnd": "example",
          "policyEffective": "example",
          "policyExpiration": "example",
          "premiumPaidToDateBegin": "example",
          "premiumPaidToDateEnd": "example",
          "service": "example",
          "status": "example"
        },
        "planInformation": {
          "agencyClaimNumber": "example",
          "alternativeListId": "example",
          "caseNumber": "example",
          "centersForMedicareAndMedicaidServicesNPI": "example",
          "classOfContractCode": "example",
          "contractNumber": "example",
          "coverageListId": "example",
          "drugFormularyNumber": "example",
          "electronicDevicePin": "example",
          "eligibilityCategory": "example",
          "facilityIdNumber": "example",
          "facilityNetworkIdentificationNumber": "example",
          "familyUnitNumber": "example",
          "federalTaxpayersIdentificationNumber": "example",
          "groupDescription": "example",
          "groupNumber": "example",
          "hicNumber": "example",
          "idCardNumber": "example",
          "idCardSerialNumber": "example",
          "insurancePolicyNumber": "example",
          "issueNumber": "example",
          "medicaidProviderNumber": "example",
          "medicaidRecipientIdNumber": "example",
          "medicalAssistanceCategory": "example",
          "medicalRecordIdentificationNumber": "example",
          "medicareProviderNumber": "example",
          "memberId": "example",
          "patientAccountNumber": "example",
          "personalIdentificationNumber": "example",
          "planDescription": "example",
          "planNetworkIdDescription": "example",
          "planNetworkIdNumber": "example",
          "planNumber": "example",
          "policyNumber": "example",
          "priorAuthorizationNumber": "example",
          "priorIdNumber": "example",
          "referralNumber": "example",
          "socialSecurityNumber": "example",
          "stateLicenseNumber": "example",
          "submitterIdentificationNumber": "example",
          "userIdentification": "example"
        },
        "provider": {
          "address": {},
          "entityIdentifier": "example",
          "entityType": "example",
          "federalTaxpayersIdNumber": "example",
          "middleName": "example",
          "npi": "example",
          "payorIdentification": "example",
          "pharmacyProcessorNumber": "example",
          "providerCode": "example",
          "providerFirstName": "example",
          "providerName": "example",
          "providerOrgName": "example",
          "referenceIdentification": "example",
          "serviceProviderNumber": "example",
          "servicesPlanID": "example",
          "ssn": "example",
          "suffix": "example"
        },
        "subscriber": {
          "address": {},
          "birthSequenceNumber": "example",
          "dateOfBirth": "example",
          "dateTimePeriod": "example",
          "dateTimePeriodFormatQualifier": "example",
          "description": "example",
          "employmentStatusCode": "example",
          "endDateTimePeriod": "example",
          "entityIdentifier": "example",
          "entityType": "example",
          "firstName": "example",
          "gender": "example",
          "governmentServiceAffiliationCode": "example",
          "groupDescription": "example",
          "groupNumber": "example",
          "healthCareDiagnosisCodes": [
            {}
          ],
          "informationStatusCode": "example",
          "insuredIndicator": "example",
          "lastName": "example",
          "maintenanceReasonCode": "example",
          "maintenanceTypeCode": "example",
          "memberId": "example",
          "middleName": "example",
          "militaryServiceRankCode": "example",
          "planDescription": "example",
          "planNetworkDescription": "example",
          "planNetworkIdNumber": "example",
          "planNumber": "example",
          "relationToSubscriber": "example",
          "relationToSubscriberCode": "example",
          "responseProvider": {},
          "ssn": "example",
          "startDateTimePeriod": "example",
          "suffix": "example",
          "uniqueHealthIdentifier": "example"
        }
      }
    ],
    "meta": {
      "applicationMode": "example",
      "traceId": "example"
    },
    "status": "example",
    "warnings": [
      {
        "code": "example",
        "description": "example"
      }
    ]
  }
}
```

### Get payer

Get payer.

**Inputs**

- Stedi (`stedi_id`, text, required): The Stedi payer ID, a unique identifier Stedi assigns to each payer that will never change. You can find the Stedi payer ID for any supported payer in the [Payer Network](https://www.stedi.com/healthcare/network).

**Outputs**

- `data` (object): The response from Stedi.

**Example output**

```json
{
  "data": {
    "payer": {
      "aliases": [
        "example"
      ],
      "avatarUrl": "example",
      "conciseName": "example",
      "coverageTypes": [
        "example"
      ],
      "displayName": "example",
      "employerIdentificationNumbers": [
        "example"
      ],
      "enrollment": {
        "ptanRequired": true,
        "transactionEnrollmentProcesses": {
          "claimPayment": {},
          "claimPaymentAdviceWithElectronicFundsTransfer": {},
          "claimStatusInquiry": {},
          "coordinationOfBenefits": {},
          "dentalClaim": {},
          "electronicFundsTransfer": {},
          "eligibilityInquiry": {},
          "institutionalClaim": {},
          "professionalClaim": {},
          "unsolicitedClaimAttachment": {}
        }
      },
      "names": [
        "example"
      ],
      "operatingStates": [
        "example"
      ],
      "parentPayerGroupId": "example",
      "parentPayerGroupName": "example",
      "primaryPayerId": "example",
      "programs": [
        "example"
      ],
      "stediId": "example",
      "transactionSupport": {
        "claimPayment": "example",
        "claimPaymentAdviceWithElectronicFundsTransfer": "example",
        "claimStatus": "example",
        "claimSubmission": "example",
        "coordinationOfBenefits": "example",
        "dentalClaimSubmission": "example",
        "electronicFundsTransfer": "example",
        "eligibilityCheck": "example",
        "institutionalClaimSubmission": "example",
        "professionalClaimSubmission": "example",
        "unsolicitedClaimAttachment": "example"
      },
      "urls": {
        "website": "example"
      }
    }
  }
}
```

### Get professional claim submission

Get professional claim submission.

**Inputs**

- Submission ID (`submission_id`, text, required): A unique identifier for a specific submission of a claim within Stedi. Stedi generates a submission ID for the initial submission and then a new submission ID for every resubmission of the same claim. This is different from the claim ID, which doesn't change throughout the claim's lifecycle.

**Outputs**

- `data` (object): The response from Stedi.

**Example output**

```json
{
  "data": {
    "claimId": "example",
    "data": {
      "authorization": {
        "insuredAuthorizesAssignment": "example",
        "patientReleasesMedicalInfo": "example",
        "providerAcceptsAssignment": "example",
        "providerSignature": "example"
      },
      "billing": {
        "amountPaid": "example",
        "billingProvider": {
          "address": {},
          "contact": {},
          "identifiers": {},
          "name": "example"
        },
        "patientControlNumber": "example",
        "serviceFacility": {
          "address": {},
          "identifiers": {},
          "name": {}
        },
        "taxId": "example",
        "totalCharge": "example"
      },
      "encounter": {
        "additionalDiagnosisCodes": [
          "example"
        ],
        "attachments": [
          {}
        ],
        "claimCodes": [
          "example"
        ],
        "claimNote": "example",
        "clinicalDates": {
          "accident": "example",
          "acuteManifestationOfChronicCondition": "example",
          "assumedCare": "example",
          "firstVisitOrConsultation": "example",
          "hospitalization": {},
          "initialTreatment": "example",
          "lastMenstrualPeriod": "example",
          "lastSeen": "example",
          "lastWorked": "example",
          "lastXray": "example",
          "onsetOfCurrentIllness": "example",
          "prescription": "example",
          "relinquishedCare": "example",
          "repricerReceived": "example",
          "returnedToWork": "example",
          "unableToWork": {}
        },
        "epsdtReferralCodes": [
          "example"
        ],
        "patientCondition": {
          "autoAccidentState": "example",
          "isAutoAccidentRelated": true,
          "isEmploymentRelated": true,
          "isOtherAccidentRelated": true
        },
        "primaryDiagnosisCode": "example",
        "primaryPlaceOfService": "example",
        "priorReferringProvider": {
          "identifiers": {},
          "name": {}
        },
        "referenceNumbers": {
          "clia": "example",
          "mammographyCertification": "example",
          "priorAuthorization": "example",
          "referral": "example"
        },
        "referringProvider": {
          "identifiers": {},
          "name": {}
        },
        "resubmission": {
          "code": "example",
          "originalReferenceNumber": "example"
        },
        "supervisingProvider": {
          "identifiers": {},
          "name": {}
        }
      },
      "insured": {
        "address": {
          "addressLine1": "example",
          "addressLine2": "example",
          "city": "example",
          "postalCode": "example",
          "state": "example"
        },
        "dateOfBirth": "example",
        "gender": "example",
        "insuranceType": "example",
        "memberId": "example",
        "name": "example",
        "paymentResponsibilityLevelCode": "example",
        "planName": "example",
        "policyOrGroupNumber": "example",
        "propertyCasualtyClaimNumber": "example",
        "ssn": "example"
      },
      "otherInsured": [
        {
          "address": {},
          "authorization": {},
          "claimFilingIndicator": "example",
          "medicareSecondaryInsuranceType": "example",
          "memberId": "example",
          "name": "example",
          "otherPayer": {},
          "planName": "example",
          "policyOrGroupNumber": "example",
          "relationshipToInsured": "example",
          "responsibilityLevel": "example",
          "ssn": "example"
        }
      ],
      "patient": {
        "address": {
          "addressLine1": "example",
          "addressLine2": "example",
          "city": "example",
          "postalCode": "example",
          "state": "example"
        },
        "dateOfBirth": "example",
        "gender": "example",
        "name": {
          "person": {}
        },
        "relationshipToInsured": "example"
      },
      "payer": {
        "address": {
          "addressLine1": "example",
          "addressLine2": "example",
          "city": "example",
          "postalCode": "example",
          "state": "example"
        },
        "id": "example",
        "name": {
          "organization": "example"
        },
        "receiverId": "example"
      },
      "purpose": "example",
      "serviceLines": [
        {
          "attachments": [
            {}
          ],
          "datesOfService": {},
          "diagnosisCodes": [
            "example"
          ],
          "drugIdentification": {},
          "isEmergency": true,
          "isEpsdtRelated": true,
          "isFamilyPlanning": true,
          "lineItemChargeAmount": "example",
          "lineItemControlNumber": "example",
          "narrativeForUnspecifiedCode": "example",
          "orderingProvider": {},
          "placeOfService": "example",
          "priorAuthorizations": [
            {}
          ],
          "procedureCode": {},
          "purchasedService": {},
          "renderingProvider": {},
          "units": "example"
        }
      ],
      "submitter": {
        "contact": {
          "email": "example",
          "faxNumber": "example",
          "name": "example",
          "phoneExtension": "example",
          "phoneNumber": "example"
        },
        "etin": "example",
        "name": "example"
      }
    },
    "processedAt": "example",
    "stediPayerId": "example",
    "submissionId": "example"
  }
}
```

### Get remittance advice

Get remittance advice.

**Inputs**

- Transaction ID (`transaction_id`, text, required): A unique identifier for the processed 835 transaction within Stedi. This ID is included in the transaction processed event, which you can receive automatically through Stedi [webhooks](https://www.stedi.com/docs/healthcare/configure-webhooks). You can also retrieve it through the [Poll Transactions endpoint](https://www.stedi.com/docs/hea.

**Outputs**

- `data` (object): The response from Stedi.

**Example output**

```json
{
  "data": {
    "meta": {
      "applicationMode": "example",
      "senderId": "example",
      "traceId": "example",
      "transactionId": "example"
    },
    "transactions": [
      {
        "controlNumber": "example",
        "detailInfo": [
          {}
        ],
        "financialInformation": {
          "checkIssueOrEFTEffectiveDate": "example",
          "creditOrDebitFlagCode": "example",
          "originatingCompanySupplementalCode": "example",
          "payerIdentifier": "example",
          "paymentFormatCode": "example",
          "paymentMethodCode": "example",
          "receiverAccountDetails": {},
          "senderAccountDetails": {},
          "totalActualProviderPaymentAmount": "example",
          "transactionHandlingCode": "example"
        },
        "foreignCurrency": "example",
        "payee": {
          "address": {},
          "centersForMedicareAndMedicaidServicesPlanId": "example",
          "federalTaxPayersIdentificationNumber": "example",
          "name": "example",
          "nationalCouncilForPrescriptionDrugProgramsPharmacyNumber": "example",
          "npi": "example",
          "payeeIdentification": "example",
          "remittanceDeliveryMethod": {},
          "stateLicenseNumber": "example",
          "taxId": "example"
        },
        "payer": {
          "address": {},
          "businessContactInformation": {},
          "centersForMedicareAndMedicaidServicesPlanId": "example",
          "healthIndustryNumber": "example",
          "name": "example",
          "nationalAssociationOfInsuranceCommissioners": "example",
          "payerIdentificationNumber": "example",
          "payerWebSiteUrl": "example",
          "submitterIdentificationNumber": "example",
          "technicalContactInformation": [
            {}
          ]
        },
        "paymentAndRemitReassociationDetails": {
          "checkOrEFTTraceNumber": "example",
          "originatingCompanyIdentifier": "example",
          "originatingCompanySupplementalCode": "example",
          "traceTypeCode": "example"
        },
        "productionDate": "example",
        "providerAdjustments": [
          {}
        ],
        "receiverIdentifier": "example",
        "versionIdentification": "example"
      }
    ]
  }
}
```

### List claim timeline

List claim timeline.

**Inputs**

- Claim ID (`claim_id`, text, required): A unique identifier for the claim within Stedi. You can retrieve this ID from the claimId property in a claim submission response or from the list claims endpoint.
- Page size (`page_size`, number): The maximum number of timeline entries to return per page. Defaults to 100. From 1 to 500.
- Page token (`page_token`, text): The nextPageToken from a previous call to this operation. If not specified, Stedi returns the first page of results.

**Outputs**

- `data` (object): The response from Stedi.

**Example output**

```json
{
  "data": {
    "items": [
      "example"
    ],
    "nextPageToken": "example"
  }
}
```

### List claims

List claims.

**Inputs**

- Page size (`page_size`, number): The maximum number of claims to return per page. Defaults to 100. From 1 to 500.
- Page token (`page_token`, text): The nextPageToken from a previous call to this operation. If not specified, Stedi returns the first page of results.
- Status (`status`, list): Filter for claims with specific statuses. You can include this parameter multiple times to filter for multiple statuses. - SUBMITTED: You submitted the claim to Stedi but haven't yet received a 277CA response from Stedi or the payer. - RECEIVED: The clearinghouse or payer has acknowledged receipt of the claim. This doesn't mean the claim. One or more of: `SUBMITTED`, `RECEIVED`, `ACCEPTED`, `REJECTED`, `PROCESSED`, `DENIED`, `UNKNOWN`.
- Patient control numbers (`patient_control_numbers`, list): Filter for claims with specific patient control numbers. You can include this parameter multiple times to filter for multiple patient control numbers.
- Submitted after (`submitted_after`, date and time): Filter for claims with submittedAt after this time.
- Submitted before (`submitted_before`, date and time): Filter for claims with submittedAt before this time.

**Outputs**

- `data` (object): The response from Stedi.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "datesOfService": {
          "end": "example",
          "start": "example"
        },
        "id": "example",
        "patientControlNumber": "example",
        "patientName": {
          "firstName": "example",
          "lastName": "example",
          "middleName": "example",
          "suffix": "example"
        },
        "status": "example",
        "statusReportedBy": "example",
        "stediPayerId": "example",
        "submittedAt": "example",
        "totalClaimChargeAmount": "example",
        "totalClaimPaidAmount": "example",
        "type": "example"
      }
    ],
    "nextPageToken": "example"
  }
}
```

### List delivery events

List delivery events.

**Inputs**

- Page size (`page_size`, number): The maximum number of elements to return in a page. If not specified, the default is 100. From 1 to 1000.
- Page token (`page_token`, text): The nextPageToken value from a previous response. You can use this to get the next page of results. If not set, Stedi returns the first page of results.
- Event ID (`event_id`, text): Filter results by event ID, such as evt_019d554b-311b-7813-b491-0a8973762eae.
- Status (`status`, list): Filter results by one or more event statuses. Can be: - DELIVERED: Stedi successfully delivered the event to all relevant event destinations. - PENDING: Stedi is still trying to deliver the event to one or more event destinations. - FAILED: Stedi couldn't deliver the event to at least one event destination and is no longer retrying. One or more of: `PENDING`, `DELIVERED`, `FAILED`.
- Event type (`event_type`, text): Filter results by event type, such as enrollment.activated.
- Created (`created`, list): Filter results by their createdAt timestamp. Each value is in the format operator:ISO-8601-timestamp. - The supported operators are gt (after), gte (at or after), lt (before), and lte (at or before). For example: Setting this to lt:2024-02-01T00:00:00Z filters for events created before the specified timestamp. - Combine multiple values wi.

**Outputs**

- `data` (object): The response from Stedi.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "createdAt": "example",
        "eventType": "example",
        "id": "example",
        "status": "example"
      }
    ],
    "nextPageToken": "example"
  }
}
```

### List enrollments

List enrollments.

**Inputs**

- Page size (`page_size`, number): The maximum number of elements to return in a page. If not specified, the default is 100. From 1 to 500.
- Page token (`page_token`, text): The nextPageToken value from a previous response. You can use this to get the next page of results. If not set, Stedi returns the first page of results.
- Filter (`filter`, text): Filter for enrollments with properties matching a query string.
- Status (`status`, list): Filter for enrollments with specific statuses. One or more of: `DRAFT`, `SUBMITTED`, `PROVISIONING`, `LIVE`, `REJECTED`, `CANCELED`, `STEDI_ACTION_REQUIRED` (Stedi action required), `PROVIDER_ACTION_REQUIRED` (Provider action required).
- Provider npis (`provider_npis`, list): Filter for enrollments associated with specific provider NPIs.
- Provider tax IDS (`provider_tax_ids`, list): Filter for enrollments associated with specific provider tax IDs.
- Provider names (`provider_names`, list): Filter for enrollments associated with specific provider names.
- Provider IDS (`provider_ids`, list): Filter for enrollments associated with specific provider IDs.
- Payer IDS (`payer_ids`, list): Filter for enrollments associated with specific [Stedi payer IDs](https://www.stedi.com/docs/healthcare/supported-payers#stedi-payer-id).
- Sources (`sources`, list): Filter for enrollments submitted through specific sources, such as the API or UI. One or more of: `API`, `UI`, `IMPORT`, `AUTO_ENROLLMENT` (Auto enrollment), `AUTOMATED_TASK` (Automated task).
- Transactions (`transactions`, list): Filter for enrollments for specific transaction types. One or more of: `claimStatus`, `eligibilityCheck`, `institutionalClaimSubmission`, `professionalClaimSubmission`, `dentalClaimSubmission`, `claimPayment`, `solicitedClaimAttachment`, `unsolicitedClaimAttachment`.
- Created from (`created_from`, date and time): Filter for enrollments created from a specific date.
- Created to (`created_to`, date and time): Filter for enrollments created before a specific date. The time must be later than createdFrom, if present.
- Status updated from (`status_updated_from`, date and time): Filter for enrollments whose status was last updated from a specific date.
- Status updated to (`status_updated_to`, date and time): Filter for enrollments whose status was last updated before a specific date. The time must be later than statusUpdatedFrom, if present.
- Import ID (`import_id`, text): The import ID associated with an enrollment through a CSV bulk import. This ID is only available for enrollments created through the CSV import process.
- Requested effective date from (`requested_effective_date_from`, text): Filter for enrollments with a requested effective date on or after this date, in YYYYMMDD format.
- Requested effective date to (`requested_effective_date_to`, text): Filter for enrollments with a requested effective date on or before this date, in YYYYMMDD format. The date must be the same as or later than requestedEffectiveDateFrom, if present.
- Last era received from (`last_era_received_from`, date and time): Filter for enrollments with a lastEraReceivedAt timestamp on or after this value. Only enrollments with an ERA are included.
- Last era received to (`last_era_received_to`, date and time): Filter for enrollments with a lastEraReceivedAt timestamp on or before this value. Only enrollments with an ERA are included. This value must be later than lastEraReceivedFrom, if present.
- User emails (`user_emails`, list): Filter for enrollments associated with specific submitter emails. This is the userEmail property in [Create Enrollment](https://www.stedi.com/docs/healthcare/api-reference/post-enrollment-create-enrollment) requests, or the **Stedi contact person** in the portal.
- Sort by (`sort_by`, list): Sort the results by one or more properties. By default, Stedi sorts results by the createdAt property in descending order.

**Outputs**

- `data` (object): The response from Stedi.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "aggregationPreference": "example",
        "createdAt": "example",
        "documents": [
          {}
        ],
        "history": [
          {}
        ],
        "id": "example",
        "importId": "example",
        "lastEraReceivedAt": "example",
        "payer": {
          "name": "example",
          "stediPayerId": "example",
          "submittedPayerIdOrAlias": "example"
        },
        "provider": {
          "id": "example",
          "name": "example",
          "npi": "example",
          "taxId": "example",
          "taxIdType": "example"
        },
        "reason": "example",
        "requestedEffectiveDate": "example",
        "source": "example",
        "status": "example",
        "statusLastUpdatedAt": "example",
        "submittedAt": "example",
        "tasks": [
          {}
        ],
        "transactions": "example",
        "updatedAt": "example"
      }
    ],
    "nextPageToken": "example",
    "totalCount": 1
  }
}
```

### List event destinations

List event destinations.

**Inputs**

- Page size (`page_size`, number): Number of items to return per page. From 1 to 100.
- Page token (`page_token`, text): The nextPageToken value from a previous response. You can use this to get the next page of results. If not set, Stedi returns the first page of results.
- Status (`status`, text): Filter for destinations with a specific status. Stedi only sends event payloads to ENABLED destinations. One of: `ENABLED`, `DISABLED`.
- Event type (`event_type`, text): Filter results by event type. Visit [event types](https://www.stedi.com/docs/healthcare/event-destinations-event-types) for a complete list.

**Outputs**

- `data` (object): The response from Stedi.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "concurrencyLimit": 1,
        "createdAt": "example",
        "description": "example",
        "destinationUrl": "example",
        "eventTypes": [
          "example"
        ],
        "id": "example",
        "lastDeliveryTime": "example",
        "name": "example",
        "status": "example",
        "updatedAt": "example"
      }
    ],
    "nextPageToken": "example"
  }
}
```

### List healthcare providers

List healthcare providers.

**Inputs**

- Page size (`page_size`, number): The maximum number of elements to return in a page. If not specified, the default is 100. From 1 to 500.
- Page token (`page_token`, text): The nextPageToken value from a previous response. You can use this to get the next page of results. If not set, Stedi returns the first page of results.
- Filter (`filter`, text): Filter for providers with properties matching a query string. You can provide all or part of a provider name, NPI, or tax ID. The search is case-insensitive and supports fuzzy matching.
- Provider npis (`provider_npis`, list): Filter for providers with NPIs matching any value in this list.
- Provider tax IDS (`provider_tax_ids`, list): Filter for providers with tax IDs matching any value in this list.
- Sort by (`sort_by`, list): Sort the results by up to three properties. By default, Stedi sorts results by creation time in descending order.

**Outputs**

- `data` (object): The response from Stedi.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "createdAt": "example",
        "id": "example",
        "name": "example",
        "npi": "example",
        "taxId": "example",
        "taxIdType": "example",
        "updatedAt": "example"
      }
    ],
    "nextPageToken": "example"
  }
}
```

### List payers

List payers.

**Inputs**

- Page size (`page_size`, number): The maximum number of elements to return per page. If not set, Stedi returns all payers in a single response (no pagination). At least 10.
- Page token (`page_token`, text): The nextPageToken value from a previous response. You can use this to get the next page of results. If not set, Stedi returns the first page of results.

**Outputs**

- `data` (object): The response from Stedi.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "aliases": [
          "example"
        ],
        "avatarUrl": "example",
        "conciseName": "example",
        "coverageTypes": [
          "example"
        ],
        "displayName": "example",
        "employerIdentificationNumbers": [
          "example"
        ],
        "enrollment": {
          "ptanRequired": true,
          "transactionEnrollmentProcesses": {}
        },
        "names": [
          "example"
        ],
        "operatingStates": [
          "example"
        ],
        "parentPayerGroupId": "example",
        "parentPayerGroupName": "example",
        "primaryPayerId": "example",
        "programs": [
          "example"
        ],
        "stediId": "example",
        "transactionSupport": {
          "claimPayment": "example",
          "claimPaymentAdviceWithElectronicFundsTransfer": "example",
          "claimStatus": "example",
          "claimSubmission": "example",
          "coordinationOfBenefits": "example",
          "dentalClaimSubmission": "example",
          "electronicFundsTransfer": "example",
          "eligibilityCheck": "example",
          "institutionalClaimSubmission": "example",
          "professionalClaimSubmission": "example",
          "unsolicitedClaimAttachment": "example"
        },
        "urls": {
          "website": "example"
        }
      }
    ],
    "nextPageToken": "example"
  }
}
```

### Search payers

Search payers.

**Inputs**

- Page size (`page_size`, number): The maximum number of elements to return in a page. If not specified, the default is 20. From 10 to 100.
- Page token (`page_token`, text): An opaque token returned by a previous call to this endpoint in the nextPageToken property. You can use it to request the next page of results. If not specified, Stedi returns the first page of results.
- Query (`query`, text): The query Stedi will use to search the Payer Network database. You can supply a payer's name, ID, or alias. The query is case-insensitive, and fuzzy matching is supported. For example, cig, 62308, and SX071 all return Cigna in the results. If not provided, the other search options are used to conduct the search.
- Eligibility check (`eligibility_check`, text): Filter for matching payers with the specified 270 eligibility checks support. When combined with other transaction filters, payers must satisfy **all** specified criteria to be included in results. One of: `SUPPORTED`, `NOT_SUPPORTED` (Not supported), `ENROLLMENT_REQUIRED` (Enrollment required), `EITHER`.
- Claim status (`claim_status`, text): Filter for matching payers with the specified 276/277 real-time claim status checks support. When combined with other transaction filters, payers must satisfy **all** specified criteria to be included in results. One of: `SUPPORTED`, `NOT_SUPPORTED` (Not supported), `ENROLLMENT_REQUIRED` (Enrollment required), `EITHER`.
- Professional claim submission (`professional_claim_submission`, text): Filter for matching payers with the specified 837 professional claims support. When combined with other transaction filters, payers must satisfy **all** specified criteria to be included in results. One of: `SUPPORTED`, `NOT_SUPPORTED` (Not supported), `ENROLLMENT_REQUIRED` (Enrollment required), `EITHER`.
- Dental claim submission (`dental_claim_submission`, text): Filter for matching payers with the specified 837 dental claims support. When combined with other transaction filters, payers must satisfy **all** specified criteria to be included in results. One of: `SUPPORTED`, `NOT_SUPPORTED` (Not supported), `ENROLLMENT_REQUIRED` (Enrollment required), `EITHER`.
- Institutional claim submission (`institutional_claim_submission`, text): Filter for matching payers with the specified 837 institutional claims support. When combined with other transaction filters, payers must satisfy **all** specified criteria to be included in results. One of: `SUPPORTED`, `NOT_SUPPORTED` (Not supported), `ENROLLMENT_REQUIRED` (Enrollment required), `EITHER`.
- Claim payment (`claim_payment`, text): Filter for matching payers with the specified 835 Electronic Remittance Advice (ERA) support. When combined with other transaction filters, payers must satisfy **all** specified criteria to be included in results. One of: `SUPPORTED`, `NOT_SUPPORTED` (Not supported), `ENROLLMENT_REQUIRED` (Enrollment required), `EITHER`.
- Coordination of benefits (`coordination_of_benefits`, text): Filter for matching payers with the specified coordination of benefits (COB) checks support. When combined with other transaction filters, payers must satisfy **all** specified criteria to be included in results. One of: `SUPPORTED`, `NOT_SUPPORTED` (Not supported), `ENROLLMENT_REQUIRED` (Enrollment required), `EITHER`.
- Unsolicited claim attachment (`unsolicited_claim_attachment`, text): Filter for matching payers with the specified unsolicited 275 claim attachments support. When combined with other transaction filters, payers must satisfy **all** specified criteria to be included in results. One of: `SUPPORTED`, `NOT_SUPPORTED` (Not supported), `ENROLLMENT_REQUIRED` (Enrollment required), `EITHER`.
- Electronic funds transfer (`electronic_funds_transfer`, text): Filter for matching payers with the specified Electronic Funds Transfer (EFT) support. When combined with other transaction filters, payers must satisfy **all** specified criteria to be included in results. One of: `SUPPORTED`, `NOT_SUPPORTED` (Not supported), `ENROLLMENT_REQUIRED` (Enrollment required), `EITHER`.
- Claim payment advice with electronic funds transfer (`claim_payment_advice_with_electronic_funds_transfer`, text): Filter for matching payers with the specified 835 Electronic Remittance Advice (ERA) with Electronic Funds Transfer (EFT) support. When combined with other transaction filters, payers must satisfy **all** specified criteria to be included in results. One of: `SUPPORTED`, `NOT_SUPPORTED` (Not supported), `ENROLLMENT_REQUIRED` (Enrollment required), `EITHER`.
- Coverage types (`coverage_types`, list): Filter for matching payers that support transactions for **all** of the specified coverage types. For example, setting this array to ["medical", "dental"] returns only payers who provide both medical and dental coverage. One or more of: `medical`, `dental`, `vision`.
- Operating states (`operating_states`, list): Filter for matching payers that operate in **all** of the specified states, territories, or NATIONAL. For example, setting this array to ["CA", "OR"] returns only payers that operate in both California and Oregon. Setting it to ["NATIONAL"] returns payers that operate in all 50 U.S. states. To find payers that also operate in territories,. One or more of: `AL`, `AK`, `AZ`, `AR`, `CA`, `CO`, `CT`, `DE`, `FL`, `GA`, and 48 more.
- Programs (`programs`, list): Filter for matching payers that participate in **any** of the specified insurance programs. For example, setting this array to ["MEDICARE", "TRICARE"] returns payers that participate in either Medicare or TRICARE. One or more of: `AUTOMOBILE_MEDICAL` (Automobile medical), `COMMERCIAL`, `DISABILITY`, `LIABILITY_MEDICAL` (Liability medical), `MEDICAID`, `MEDICARE`, `MEDICARE_ADVANTAGE` (Medicare advantage), `TITLE_V` (Title v), `TRICARE`, `VETERANS_AFFAIRS` (Veterans affairs), `WORKERS_COMPENSATION` (Workers compensation).

**Outputs**

- `data` (object): The response from Stedi.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "matches": {
          "aliases": [
            "example"
          ],
          "displayName": "example",
          "names": [
            "example"
          ],
          "primaryPayerId": "example",
          "stediId": "example"
        },
        "payer": {
          "aliases": [
            "example"
          ],
          "avatarUrl": "example",
          "conciseName": "example",
          "coverageTypes": [
            "example"
          ],
          "displayName": "example",
          "employerIdentificationNumbers": [
            "example"
          ],
          "enrollment": {},
          "names": [
            "example"
          ],
          "operatingStates": [
            "example"
          ],
          "parentPayerGroupId": "example",
          "parentPayerGroupName": "example",
          "primaryPayerId": "example",
          "programs": [
            "example"
          ],
          "stediId": "example",
          "transactionSupport": {},
          "urls": {}
        },
        "score": 1
      }
    ],
    "nextPageToken": "example",
    "stats": {
      "total": 1,
      "transactionSupport": {
        "claimPayment": {
          "enrollmentRequired": 1,
          "notSupported": 1,
          "supported": 1
        },
        "claimPaymentAdviceWithElectronicFundsTransfer": {
          "enrollmentRequired": 1,
          "notSupported": 1,
          "supported": 1
        },
        "claimStatus": {
          "enrollmentRequired": 1,
          "notSupported": 1,
          "supported": 1
        },
        "coordinationOfBenefits": {
          "enrollmentRequired": 1,
          "notSupported": 1,
          "supported": 1
        },
        "dentalClaimSubmission": {
          "enrollmentRequired": 1,
          "notSupported": 1,
          "supported": 1
        },
        "electronicFundsTransfer": {
          "enrollmentRequired": 1,
          "notSupported": 1,
          "supported": 1
        },
        "eligibilityCheck": {
          "enrollmentRequired": 1,
          "notSupported": 1,
          "supported": 1
        },
        "institutionalClaimSubmission": {
          "enrollmentRequired": 1,
          "notSupported": 1,
          "supported": 1
        },
        "professionalClaimSubmission": {
          "enrollmentRequired": 1,
          "notSupported": 1,
          "supported": 1
        },
        "unsolicitedClaimAttachment": {
          "enrollmentRequired": 1,
          "notSupported": 1,
          "supported": 1
        }
      },
      "transactionSupportCounts": {
        "claimPayment": {
          "notSupported": {},
          "supported": {}
        },
        "claimPaymentAdviceWithElectronicFundsTransfer": {
          "notSupported": {},
          "supported": {}
        },
        "claimStatus": {
          "notSupported": {},
          "supported": {}
        },
        "coordinationOfBenefits": {
          "notSupported": {},
          "supported": {}
        },
        "dentalClaimSubmission": {
          "notSupported": {},
          "supported": {}
        },
        "electronicFundsTransfer": {
          "notSupported": {},
          "supported": {}
        },
        "eligibilityCheck": {
          "notSupported": {},
          "supported": {}
        },
        "institutionalClaimSubmission": {
          "notSupported": {},
          "supported": {}
        },
        "professionalClaimSubmission": {
          "notSupported": {},
          "supported": {}
        },
        "unsolicitedClaimAttachment": {
          "notSupported": {},
          "supported": {}
        }
      }
    }
  }
}
```
