api

Create Prescriber

Create a prescriber in the Truepill ecosystem that is assigned to you as a customer

post/api/v1/prescriber

Request body

prescriber_type'OD' | 'PMHNP' | 'MBBS' | 'DNP' | 'D.O.' | 'DPT' | 'D.D.S.' | 'F.N.P.' | 'CPP' | 'N.D.' | 'P.A.' | 'APNP' | 'V.M.D.' | 'RPh' | 'APRN' | 'DC APC' | 'PsyD' | 'CRNA' | 'PharmD' | 'B.V.M.S.' | 'WHNP' | 'PhD' | 'ARNP' | 'PT' | 'CRNP' | 'DPM' | 'CNP' | 'N.P.' | 'CDH' | 'D.M.D.' | 'D.V.M.' | 'M.D.' | 'CNM'
first_namestring required

Prescriber’s first name

last_namestring required

Prescriber’s last name

deastring

Prescriber’s DEA license ID

npistring required

Prescriber’s National Provider Identifier

activeboolean required

Whether the prescriber is actively prescribing

Example request

{
  "prescriber_type": "OD",
  "first_name": "True",
  "last_name": "Pill",
  "dea": "BI7884668",
  "npi": "2888888888",
  "active": true,
  "address": {
    "clinic_name": "True Clinic",
    "street1": "3121 Diablo Ave",
    "street2": "123 Some Lane",
    "city": "Hayward",
    "state": "CA",
    "country": "US",
    "zip": "94545",
    "phone": "(855) 910-8606",
    "email": "truepill@truepill.com",
    "fax": "(855) 910-8606"
  }
}

Response

OK

Changes