POST
/
public
/
v1
/
payor_inference
curl --request POST \
  --url https://api.silnahealth.com/public/v1/payor_inference/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "strategy": "NEAR_REALTIME",
  "patient_document_file_ids": null,
  "text": null,
  "patient_id": null,
  "provider_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
This API is in Beta! Please be prepared to adapt to a new schema with limited notice if you choose to integrate.

We support two different strategies for payor inference: NEAR_REALTIME and BASE. We recommend using NEAR_REALTIME when you want to get a response quickly (in a matter of seconds) and BASE when you want to get a more accurate response (in a matter of minutes).

Currently, we only support NEAR_REALTIME and submitting with BASE will run with the NEAR_RELATIME strategy.

As this is an async endpoint, you will have to make a POST request to this endpoint and then poll the response using the GET Payor Inference endpoint until status=COMPLETED or status=FAILED.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
strategy
enum<string>
required
Available options:
NEAR_REALTIME,
BASE
provider_id
string
required

Required provider identifier (for HIPAA compliance)

patient_document_file_ids
string[] | null

Optional list of document file IDs to process

text
string | null

Payor Text

Required string length: 1 - 5000
patient_id
string | null

Optional patient identifier

Response

201
application/json
id
string
required