curl --request GET \
--url https://api.decodahealth.com/user/patient/table \
--header 'API-KEY: <api-key>' \
--header 'TENANT: <tenant>'{
"data": [
{
"id": "<string>",
"type": "PROVIDER",
"createdDate": "2023-11-07T05:31:56Z",
"firstName": "<string>",
"lastName": "<string>",
"phoneNumber": "<string>",
"email": "<string>",
"locationId": "<string>",
"externalId": "<string>",
"address": "<string>",
"addressLineTwo": "<string>",
"city": "<string>",
"state": "<string>",
"zipCode": "<string>",
"country": "<string>",
"addressValid": true,
"meta": {},
"isArchived": true,
"primaryLocationId": "<string>",
"gender": "<string>",
"dateOfBirth": "2023-12-25",
"patientMedications": [
"<string>"
],
"patientSource": "SELF_SCHEDULING",
"leadSource": "<string>",
"onSchedulingBlacklist": true,
"surchargeDisabled": true,
"tags": [
{
"id": "<string>",
"name": "<string>",
"isActive": true,
"createdDate": "2023-11-07T05:31:56Z",
"emoji": "<string>",
"color": "<string>",
"updatedDate": "2023-11-07T05:31:56Z"
}
],
"creditBalance": 123,
"preferredProviderId": "<string>",
"dosespotPatientId": "<string>",
"memberships": [
{
"id": "<string>",
"membership": {
"id": "<string>",
"name": "<string>",
"textColor": "<string>"
},
"startDate": "2023-11-07T05:31:56Z",
"status": "ACTIVE",
"freezeDate": "2023-11-07T05:31:56Z",
"unfreezeDate": "2023-11-07T05:31:56Z"
}
],
"goalWeight": 123,
"measurements": [
{
"patientId": "<string>",
"createdDate": "2023-11-07T05:31:56Z",
"id": "<string>",
"height": 123,
"weight": 123,
"systolicBp": 123,
"diastolicBp": 123,
"pulse": 123,
"temperature": 123,
"waistCircumference": 123,
"noteId": "<string>",
"measurementDate": "2023-11-07T05:31:56Z",
"eventId": "<string>",
"creatorId": "<string>"
}
],
"medications": [
{
"id": "<string>",
"createdDate": "2023-11-07T05:31:56Z",
"patientId": "<string>",
"name": "<string>",
"providerId": "<string>",
"sideEffects": "<string>",
"administrationLocation": "<string>",
"amount": 123,
"unit": "AMPOULES",
"lotNumber": "<string>",
"stockId": "<string>",
"noteId": "<string>",
"doseDate": "2023-11-07T05:31:56Z",
"comment": "<string>",
"frequency": "<string>",
"quantity": 123,
"isUsedAsTemplate": true,
"signedOffProviderId": "<string>",
"signedOffDate": "2023-11-07T05:31:56Z",
"dosespotMedicationId": "<string>",
"provider": {
"id": "<string>",
"type": "PROVIDER",
"firstName": "<string>",
"lastName": "<string>",
"phoneNumber": "<string>",
"email": "<string>",
"locationId": "<string>"
}
}
],
"optedOutOfSms": true,
"appointmentCount": 0,
"totalSpent": 0,
"primaryLocationName": "<string>",
"lastAppointmentDate": "2023-11-07T05:31:56Z"
}
],
"total": 123
}curl --request GET \
--url https://api.decodahealth.com/user/patient/table \
--header 'API-KEY: <api-key>' \
--header 'TENANT: <tenant>'{
"data": [
{
"id": "<string>",
"type": "PROVIDER",
"createdDate": "2023-11-07T05:31:56Z",
"firstName": "<string>",
"lastName": "<string>",
"phoneNumber": "<string>",
"email": "<string>",
"locationId": "<string>",
"externalId": "<string>",
"address": "<string>",
"addressLineTwo": "<string>",
"city": "<string>",
"state": "<string>",
"zipCode": "<string>",
"country": "<string>",
"addressValid": true,
"meta": {},
"isArchived": true,
"primaryLocationId": "<string>",
"gender": "<string>",
"dateOfBirth": "2023-12-25",
"patientMedications": [
"<string>"
],
"patientSource": "SELF_SCHEDULING",
"leadSource": "<string>",
"onSchedulingBlacklist": true,
"surchargeDisabled": true,
"tags": [
{
"id": "<string>",
"name": "<string>",
"isActive": true,
"createdDate": "2023-11-07T05:31:56Z",
"emoji": "<string>",
"color": "<string>",
"updatedDate": "2023-11-07T05:31:56Z"
}
],
"creditBalance": 123,
"preferredProviderId": "<string>",
"dosespotPatientId": "<string>",
"memberships": [
{
"id": "<string>",
"membership": {
"id": "<string>",
"name": "<string>",
"textColor": "<string>"
},
"startDate": "2023-11-07T05:31:56Z",
"status": "ACTIVE",
"freezeDate": "2023-11-07T05:31:56Z",
"unfreezeDate": "2023-11-07T05:31:56Z"
}
],
"goalWeight": 123,
"measurements": [
{
"patientId": "<string>",
"createdDate": "2023-11-07T05:31:56Z",
"id": "<string>",
"height": 123,
"weight": 123,
"systolicBp": 123,
"diastolicBp": 123,
"pulse": 123,
"temperature": 123,
"waistCircumference": 123,
"noteId": "<string>",
"measurementDate": "2023-11-07T05:31:56Z",
"eventId": "<string>",
"creatorId": "<string>"
}
],
"medications": [
{
"id": "<string>",
"createdDate": "2023-11-07T05:31:56Z",
"patientId": "<string>",
"name": "<string>",
"providerId": "<string>",
"sideEffects": "<string>",
"administrationLocation": "<string>",
"amount": 123,
"unit": "AMPOULES",
"lotNumber": "<string>",
"stockId": "<string>",
"noteId": "<string>",
"doseDate": "2023-11-07T05:31:56Z",
"comment": "<string>",
"frequency": "<string>",
"quantity": 123,
"isUsedAsTemplate": true,
"signedOffProviderId": "<string>",
"signedOffDate": "2023-11-07T05:31:56Z",
"dosespotMedicationId": "<string>",
"provider": {
"id": "<string>",
"type": "PROVIDER",
"firstName": "<string>",
"lastName": "<string>",
"phoneNumber": "<string>",
"email": "<string>",
"locationId": "<string>"
}
}
],
"optedOutOfSms": true,
"appointmentCount": 0,
"totalSpent": 0,
"primaryLocationName": "<string>",
"lastAppointmentDate": "2023-11-07T05:31:56Z"
}
],
"total": 123
}The tenant you are making this request on behalf of
Your api key
asc, desc Filter by patient tag IDs
Filter by primary location IDs
Filter by lead source