Skip to main content
POST
/
v1
/
providers
Create Provider
curl --request POST \
  --url https://api.soharhealth.com/v1/providers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "npi": "0123456789",
  "payerId": "62308",
  "state": "CA"
}'
{
  "providerId": "ccc9ffc3-b309-4598-99ad-eb219d82177a"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
npi
string
required

The provider's NPI

Example:

"0123456789"

payerId
string<uuid>
required

The payer ID. See the Sohar payer list

Example:

"62308"

state
enum<string>
required

Two-letter US state code

Available options:
AK,
AL,
AR,
AZ,
CA,
CO,
CT,
DC,
DE,
FL,
GA,
HI,
IA,
ID,
IL,
IN,
KS,
KY,
LA,
MA,
MD,
ME,
MI,
MN,
MO,
MS,
MT,
NC,
ND,
NE,
NH,
NJ,
NM,
NV,
NY,
OH,
OK,
OR,
PA,
RI,
SC,
SD,
TN,
TX,
UT,
VA,
VT,
WA,
WI,
WV,
WY
Example:

"CA"

Response

A provider config

providerId
string<uuid>
required

The Sohar ID for the provider record

Example:

"ccc9ffc3-b309-4598-99ad-eb219d82177a"