The most common use case for the Sohar API is to determine the eligibility status and healthcare benefits for a patient. In this tutorial we will create a verification request to Aetna in the sandbox environment.
1
Get Access Token
Create a client ID and client secret for the sandbox environment in the Sohar dashboard and use them to get an access token.
Call the Get Verification API with the verificationId to get the response. Note that it can take some time to deliver the response - you can either poll the endpoint or subscribe to webhook events.