Skip to main content
POST
Create Discovery

Authorizations

Authorization
string
header
required

Include an OAuth 2.0 bearer token in the Authorization header. See Authentication.

Headers

Idempotency-Key
string<uuid>

A UUID v4 used to safely retry this request without creating a duplicate. See Idempotency.

Example:

"f47ac10b-58cc-4372-a567-0e02b2c3d479"

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"