curl --request GET \
--url https://api.decodahealth.com/calendar/shifts/by-date \
--header 'API-KEY: <api-key>' \
--header 'TENANT: <tenant>'{
"date": "<string>",
"providers": [
{
"provider": {
"id": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"email": "<string>",
"createdDate": "2023-11-07T05:31:56Z"
},
"shifts": [
{
"id": "<string>",
"title": "<string>",
"start": "2023-11-07T05:31:56Z",
"end": "2023-11-07T05:31:56Z",
"type": "APPOINTMENT",
"status": "PENDING",
"location": {
"id": "<string>",
"isVirtual": true
},
"attendees": [],
"recurringEventId": "<string>",
"recurringEvent": {
"id": "<string>",
"rrule": "<string>",
"startDate": "2023-11-07T05:31:56Z",
"durationMinutes": 123,
"timezone": "<string>",
"type": "APPOINTMENT",
"title": "<string>",
"organizerId": "<string>",
"serviceIds": [
"<string>"
],
"capacity": 123,
"attendeeIds": [
"<string>"
],
"locationId": "<string>"
},
"eventServices": [],
"icons": [],
"capacity": 123
}
],
"appointments": [
{
"id": "<string>",
"title": "<string>",
"start": "2023-11-07T05:31:56Z",
"end": "2023-11-07T05:31:56Z",
"type": "APPOINTMENT",
"status": "PENDING",
"location": {
"id": "<string>",
"isVirtual": true
},
"attendees": [],
"recurringEventId": "<string>",
"recurringEvent": {
"id": "<string>",
"rrule": "<string>",
"startDate": "2023-11-07T05:31:56Z",
"durationMinutes": 123,
"timezone": "<string>",
"type": "APPOINTMENT",
"title": "<string>",
"organizerId": "<string>",
"serviceIds": [
"<string>"
],
"capacity": 123,
"attendeeIds": [
"<string>"
],
"locationId": "<string>"
},
"eventServices": [],
"icons": [],
"capacity": 123
}
]
}
]
}Get all shifts for a specific date with provider information
curl --request GET \
--url https://api.decodahealth.com/calendar/shifts/by-date \
--header 'API-KEY: <api-key>' \
--header 'TENANT: <tenant>'{
"date": "<string>",
"providers": [
{
"provider": {
"id": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"email": "<string>",
"createdDate": "2023-11-07T05:31:56Z"
},
"shifts": [
{
"id": "<string>",
"title": "<string>",
"start": "2023-11-07T05:31:56Z",
"end": "2023-11-07T05:31:56Z",
"type": "APPOINTMENT",
"status": "PENDING",
"location": {
"id": "<string>",
"isVirtual": true
},
"attendees": [],
"recurringEventId": "<string>",
"recurringEvent": {
"id": "<string>",
"rrule": "<string>",
"startDate": "2023-11-07T05:31:56Z",
"durationMinutes": 123,
"timezone": "<string>",
"type": "APPOINTMENT",
"title": "<string>",
"organizerId": "<string>",
"serviceIds": [
"<string>"
],
"capacity": 123,
"attendeeIds": [
"<string>"
],
"locationId": "<string>"
},
"eventServices": [],
"icons": [],
"capacity": 123
}
],
"appointments": [
{
"id": "<string>",
"title": "<string>",
"start": "2023-11-07T05:31:56Z",
"end": "2023-11-07T05:31:56Z",
"type": "APPOINTMENT",
"status": "PENDING",
"location": {
"id": "<string>",
"isVirtual": true
},
"attendees": [],
"recurringEventId": "<string>",
"recurringEvent": {
"id": "<string>",
"rrule": "<string>",
"startDate": "2023-11-07T05:31:56Z",
"durationMinutes": 123,
"timezone": "<string>",
"type": "APPOINTMENT",
"title": "<string>",
"organizerId": "<string>",
"serviceIds": [
"<string>"
],
"capacity": 123,
"attendeeIds": [
"<string>"
],
"locationId": "<string>"
},
"eventServices": [],
"icons": [],
"capacity": 123
}
]
}
]
}The tenant you are making this request on behalf of
Your api key
Date in YYYY-MM-DD format
Successful Response
Show child attributes
Show child attributes
APPOINTMENT, SHIFT, BLOCK PENDING, RESERVED, CONFIRMED, CANCELLED, COMPLETED, OVERRIDABLE, NO_SHOW Show child attributes
Show child attributes
The unique identifier for the user.
The type of user.
PROVIDER, PATIENT, ASSISTANT The user's first name.
The user's last name.
The user's phone number.
The user's email address.
The location of the user.
PENDING, ACCEPTED, REJECTED Show child attributes
APPOINTMENT, SHIFT, BLOCK Show child attributes
Show child attributes
Show child attributes
BOOKING_FEE_PAID, NEW_PATIENT, SCHEDULED_BY_AI, FORM_COMPLETED, CHECKED_IN Show child attributes
APPOINTMENT, SHIFT, BLOCK PENDING, RESERVED, CONFIRMED, CANCELLED, COMPLETED, OVERRIDABLE, NO_SHOW Show child attributes
Show child attributes
The unique identifier for the user.
The type of user.
PROVIDER, PATIENT, ASSISTANT The user's first name.
The user's last name.
The user's phone number.
The user's email address.
The location of the user.
PENDING, ACCEPTED, REJECTED Show child attributes
APPOINTMENT, SHIFT, BLOCK Show child attributes
Show child attributes
Show child attributes
BOOKING_FEE_PAID, NEW_PATIENT, SCHEDULED_BY_AI, FORM_COMPLETED, CHECKED_IN