Skip to main content
POST
/
v2
/
discovery
Create Discovery
curl --request POST \
  --url https://api.soharhealth.com/v2/discovery \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "patient": {
    "firstName": "John",
    "lastName": "Doe",
    "dateOfBirth": "09/20/2023",
    "state": "CA",
    "zipCode": "90210"
  },
  "payerId": "62308",
  "id": "123456"
}
'
{
  "discoveryId": "fb701ac1-1246-4860-b1ec-bd916b97a990",
  "id": "123456"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
patient
object
required
payerId
string

An optional parameter to prioritize the specified payer. See the Sohar payer list

Example:

"62308"

id
string

An optional user defined identifier for the discovery

Maximum string length: 255
Example:

"123456"

Response

A discovery ID

discoveryId
string

The Sohar ID for the discovery

Example:

"fb701ac1-1246-4860-b1ec-bd916b97a990"

id
string | null

An optional identifier for the discovery. This is a user-defined value that can be used when creating the discovery

Example:

"123456"