Skip to main content
GET
/
api
/
v1
/
patients
Get patients
curl --request GET \
  --url https://api.byblend.com/api/v1/patients \
  --header 'Authorization: Bearer <token>'
[
  {
    "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",
    "gender": "male",
    "email": "Harmon43@gmail.com",
    "phone": "6417383445",
    "date_of_birth": "1990-01-01",
    "driver_license_number": "B49188319",
    "driver_license_state": "CA",
    "primary_language": "en",
    "guardian_name": "John Guardian",
    "guardian_phone": "6417383445",
    "guardian_email": "parent@example.com",
    "guardian_relationship": "parent",
    "height_inches": 72,
    "weight_pounds": 180,
    "external_id": "1234567890",
    "is_smoker": false,
    "is_diabetic": false,
    "is_pregnant": false,
    "address": {
      "address_1": "140 Lindgren Streets",
      "address_2": "Apt 227",
      "city": "North Consueloburgh",
      "state": "CA",
      "country": "US",
      "zip_code": "02108"
    },
    "is_minor": false
  }
]

Authorizations

Authorization
string
header
required

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

Response

200 - application/json

Successful response with an array of patients

id
string<uuid>

Unique identifier

Example:

"0227d1e5-ba9a-42b5-8fe2-38882aa65708"

created_at
string<date-time>

Date and time of creation

Example:

"2025-03-15T12:00:00Z"

updated_at
string<date-time>

Date and time of last update

Example:

"2025-03-15T12:00:00Z"

first_name
string
Example:

"Willard"

middle_name
string
Example:

"Moises"

last_name
string
Example:

"Donnelly"

gender
enum<string>

Gender of the patient

Available options:
male,
female
Example:

"male"

email
string
Example:

"Harmon43@gmail.com"

phone
string

10-digit phone number without formatting, e.g. 6417383445

Example:

"6417383445"

date_of_birth
string<date>
Example:

"1990-01-01"

driver_license_number
string
Example:

"B49188319"

driver_license_state
string
Example:

"CA"

primary_language
string

ISO 639-1 language code

Example:

"en"

guardian_name
string

Name of the patient's guardian. Required if patient is a minor.

Example:

"John Guardian"

guardian_phone
string
Example:

"6417383445"

guardian_email
string
Example:

"parent@example.com"

guardian_relationship
string

Relationship of the guardian to the patient. See relationship types lookup for available values; most common are parent and legal_guardian; and other can be used.

Example:

"parent"

height_inches
integer

Height of the patient in inches

Example:

72

weight_pounds
integer

Weight of the patient in pounds

Example:

180

external_id
string

External (your own) ID for the patient, to be used for prescription matching

Example:

"1234567890"

is_smoker
boolean

Whether the patient is a smoker

Example:

false

is_diabetic
boolean

Whether the patient is diabetic

Example:

false

is_pregnant
boolean

Whether the patient is pregnant

Example:

false

address
object
is_minor
boolean

Whether the patient is a minor. Automatically calculated based on date of birth.

Example:

false

I