curl --request POST \
--url https://api.byblend.com/api/v1/prescribers \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"first_name": "Willard",
"middle_name": "Moises",
"last_name": "Donnelly",
"email": "Harmon43@gmail.com",
"phone": "6417383445",
"date_of_birth": "1990-01-01",
"gender": "Male",
"npi": "1234567890",
"dea": "F91234563",
"spi": "1234567890ABCDEF",
"driver_license_number": "B49188319",
"driver_license_state": "CA",
"is_active": true,
"credential_npi": "M.D./Ph.D",
"addresses": [
{
"address_1": "140 Lindgren Streets",
"address_2": "Apt 227",
"city": "North Consueloburgh",
"state": "CA",
"country": "US",
"zip_code": "02108",
"type": "practice"
}
],
"qualifications": [
{
"state": "CA",
"license_number": "1234567890",
"description": "Nurse Practitioner, Family",
"expiration_date": "2025-03-15",
"is_active": true
}
],
"credentials": [
{
"credential_code": "MD"
}
],
"restrictions": [
{
"id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708"
}
]
}'
{
"id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
"created_at": "2025-03-15T12:00:00Z",
"updated_at": "2025-03-15T12:00:00Z",
"first_name": "Willard",
"middle_name": "Moises",
"last_name": "Donnelly",
"email": "Harmon43@gmail.com",
"phone": "6417383445",
"date_of_birth": "1990-01-01",
"gender": "Male",
"npi": "1234567890",
"dea": "F91234563",
"spi": "1234567890ABCDEF",
"driver_license_number": "B49188319",
"driver_license_state": "CA",
"is_active": true,
"credential_npi": "M.D./Ph.D",
"addresses": [
{
"id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
"created_at": "2025-03-15T12:00:00Z",
"updated_at": "2025-03-15T12:00:00Z",
"address_1": "140 Lindgren Streets",
"address_2": "Apt 227",
"city": "North Consueloburgh",
"state": "CA",
"country": "US",
"zip_code": "02108",
"type": "practice"
}
],
"qualifications": [
{
"id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
"created_at": "2025-03-15T12:00:00Z",
"updated_at": "2025-03-15T12:00:00Z",
"state": "CA",
"license_number": "1234567890",
"description": "Nurse Practitioner, Family",
"expiration_date": "2025-03-15",
"is_active": true
}
],
"credentials": [
{
"credential_code": "MD",
"credential_name": "Doctor of Medicine"
}
],
"restrictions": [
{
"id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
"name": "Mupirocin",
"sku": "1234567890"
}
]
}
Create a new prescriber. If you attempt to create a preexisting prescriber (as determined by NPI), the existing prescriber will be returned. If the prescriber already exists elsewhere in Blend (as determined by NPI), the existing prescriber will be associated with your customer.
curl --request POST \
--url https://api.byblend.com/api/v1/prescribers \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"first_name": "Willard",
"middle_name": "Moises",
"last_name": "Donnelly",
"email": "Harmon43@gmail.com",
"phone": "6417383445",
"date_of_birth": "1990-01-01",
"gender": "Male",
"npi": "1234567890",
"dea": "F91234563",
"spi": "1234567890ABCDEF",
"driver_license_number": "B49188319",
"driver_license_state": "CA",
"is_active": true,
"credential_npi": "M.D./Ph.D",
"addresses": [
{
"address_1": "140 Lindgren Streets",
"address_2": "Apt 227",
"city": "North Consueloburgh",
"state": "CA",
"country": "US",
"zip_code": "02108",
"type": "practice"
}
],
"qualifications": [
{
"state": "CA",
"license_number": "1234567890",
"description": "Nurse Practitioner, Family",
"expiration_date": "2025-03-15",
"is_active": true
}
],
"credentials": [
{
"credential_code": "MD"
}
],
"restrictions": [
{
"id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708"
}
]
}'
{
"id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
"created_at": "2025-03-15T12:00:00Z",
"updated_at": "2025-03-15T12:00:00Z",
"first_name": "Willard",
"middle_name": "Moises",
"last_name": "Donnelly",
"email": "Harmon43@gmail.com",
"phone": "6417383445",
"date_of_birth": "1990-01-01",
"gender": "Male",
"npi": "1234567890",
"dea": "F91234563",
"spi": "1234567890ABCDEF",
"driver_license_number": "B49188319",
"driver_license_state": "CA",
"is_active": true,
"credential_npi": "M.D./Ph.D",
"addresses": [
{
"id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
"created_at": "2025-03-15T12:00:00Z",
"updated_at": "2025-03-15T12:00:00Z",
"address_1": "140 Lindgren Streets",
"address_2": "Apt 227",
"city": "North Consueloburgh",
"state": "CA",
"country": "US",
"zip_code": "02108",
"type": "practice"
}
],
"qualifications": [
{
"id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
"created_at": "2025-03-15T12:00:00Z",
"updated_at": "2025-03-15T12:00:00Z",
"state": "CA",
"license_number": "1234567890",
"description": "Nurse Practitioner, Family",
"expiration_date": "2025-03-15",
"is_active": true
}
],
"credentials": [
{
"credential_code": "MD",
"credential_name": "Doctor of Medicine"
}
],
"restrictions": [
{
"id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
"name": "Mupirocin",
"sku": "1234567890"
}
]
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Prescriber created successfully
The response is of type object
.