Skip to main content
POST
/
public
/
v1
/
payor-detection
/
runs
Create a payor detection run for a patient. This is an asynchronous operation — use the returned ID to poll the GET endpoint for results. Silna will query all configured payors to determine which ones the patient has active coverage with. Results typically complete within seconds. Supports idempotency keys to safely retry requests.
curl --request POST \
  --url https://app.silnahealth.com/api/public/v1/payor-detection/runs \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "patient_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
This is an asynchronous endpoint. After creating a run, poll the GET Payor Detection Run endpoint using the returned id until the run status is COMPLETE. Results are typically fast. Silna will automatically query the payors configured for the patient’s provider to determine which ones the patient has active coverage with. Payors where the patient already has an existing patient plan on file will be skipped. This endpoint supports idempotency keys. If you retry a request with the same idempotency key, the original run will be returned instead of creating a duplicate.

Authorizations

Authorization
string
header
required

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

Headers

idempotency-key
string

Unique key to prevent duplicate requests. We support keys up to 255 characters.

Required string length: 1 - 255

Body

application/json
patient_id
string<uuid>
required

The ID of the patient to run payor detection for

Response

id
string<uuid>
required

The ID of the created payor detection run. Use this to poll the GET endpoint for results.