Skip to main content
POST
/
prescribers
/
create
curl --request POST \
  --url https://apidev.epiqconnect.com/prescribers/create \
  --header 'Content-Type: application/json' \
  --data '
{
  "prescriber": {
    "fName": "John",
    "lName": "Smith",
    "username": "jsmith",
    "email": "john.doe@example.com",
    "dateOfBirth": "1990-01-01",
    "gender": "M",
    "phone": "+19998887777",
    "authSmsConsent": true,
    "smsConsent": true,
    "dataRatesSmsConsent": true,
    "details": {
      "npi": "1234567890",
      "speciality": "Endocrinology",
      "dea": "AB1234567"
    },
    "mailingAddress": {
      "address1": "465 W President George Bush Hwy",
      "address2": "Suite 240",
      "city": "Richardson",
      "state": "TX",
      "zipCode": "75080",
      "country": "US"
    },
    "ifBillingSameAsMailing": false,
    "billingAddress": {
      "address1": "789 Different Street",
      "address2": "Floor 12",
      "city": "Dallas",
      "state": "TX",
      "zipCode": "75001",
      "country": "US"
    }
  }
}
'
{
"success": [
{
"index": 0,
"UserName": "sallen",
"FirstName": "Sherry",
"LastName": "Allen",
"id": "b4f88478-4071-7025-c4ea-95ca3911d3d8",
"npi": "1467937680",
"CreatedDate": "2025-10-14T04:17:49.231Z",
"UpdatedDate": "2025-10-14T04:17:49.231Z",
"clinicId": "3b47a23f-9080-4a2e-a4fa-654d9aa76e80",
"message": "Prescriber created successfully."
},
{
"index": 1,
"UserName": "samin",
"FirstName": "Sanober",
"LastName": "Amin",
"id": "149884e8-c001-7037-a06f-5f04ad331ed0",
"npi": "1477873859",
"CreatedDate": "2025-10-14T04:17:50.412Z",
"UpdatedDate": "2025-10-14T04:17:50.412Z",
"clinicId": "3b47a23f-9080-4a2e-a4fa-654d9aa76e80",
"message": "Prescriber created successfully."
}
],
"errors": []
}

Headers

clinicId
string

Clinic ID for authentication

x-api-key
string

Client API key for authentication

Body

application/json

Create a single prescriber for a clinic

prescriber
object
required

Response

Prescribers Creation Success