Getting Started
The most common use case for the Sohar Health API is to determine the eligibility status and healthcare benefits for a patient. In this tutorial we will create a verification request in your sandbox environment.
The easiest way to get started is to make a request to the Create Verifications API. The sandbox environment has a number of input values to generate pre-defined responses. We will make a sandbox request to Aetna using payer ID 60054.
Credentials
Locate your sandbox API key from the Sohar Health dashboard.
Request
Execute the request below, replacing <authorization>
with your sandbox API key and {npi}
with a valid NPI.
Response
The API response contains the IDs for the patient resource and verification resource that were created.
Webhooks
Our system processes requests asynchronously, and results are delivered via webhook. Once the verification request has completed, the sandbox.verification.updated
webhook event will be sent with the following payload:
Get Verification
Call the Get Verification API, replacing <authorization>
with your sandbox API key and {verificationId}
with the verificationId
from the webhook event payload.
Benefits
The Get Verification API will return a response similar to the response below:
You have successfully created your first verification!