List appointments
Authorization
x-api-key API key required for authentication.
Keys begin with 'cc_' prefix. Get your API key from the Developer Dashboard.
In: header
Query Parameters
GET /v2/appointments Parameter
GET /v2/appointments Parameter
Comma-separated member UUIDs. Filter to appointments assigned to any of these members.
GET /v2/appointments Parameter
Comma-separated appointment config UUIDs. Filter to appointments using any of these scheduling configs.
Comma-separated campaign UUIDs. Filter to appointments originating from any of these campaigns.
Comma-separated status filter. Omit to return all statuses.
Comma-separated booking source filter
Comma-separated appointment mode filter
GET /v2/appointments Parameter
GET /v2/appointments Parameter
GET /v2/appointments Parameter
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://api.carecycle.ai/v2/appointments"{
"appointments": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"startTime": "2019-08-24T14:15:22Z",
"endTime": "2019-08-24T14:15:22Z",
"timezone": "string",
"status": "scheduled",
"title": "string",
"appointmentMode": "phone_call",
"appointmentConfigId": "1c7d76df-b376-45c7-a6f4-7e4bd224ddc2",
"bookingSource": "ai_assistant",
"originCallId": "a26be112-6fc9-4ff6-b400-9e5fc72da50e",
"confirmedAt": "2019-08-24T14:15:22Z",
"additionalNotes": "string",
"calendarEventId": "string",
"location": "string",
"meetingUrl": "string",
"cancelledAt": "2019-08-24T14:15:22Z",
"cancellationReason": "string",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"customer": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"firstName": "string",
"lastName": "string",
"callerId": "string"
},
"member": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"image": "string"
},
"appointmentConfig": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string"
},
"campaign": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string"
},
"callbackAttempt": {
"callId": "4722cd84-0ec7-4ef5-8c34-1b0150f45f53",
"attemptedAt": "2019-08-24T14:15:22Z",
"status": "attempted",
"label": "string"
}
}
],
"total": 9007199254740991,
"nextCursor": "string"
}{
"message": "string",
"code": "string"
}{
"message": "string",
"code": "string"
}{
"message": "string",
"code": "string"
}{
"message": "string",
"code": "string"
}{
"message": "string",
"code": "VALIDATION_ERROR",
"errors": [
{
"path": [
"string"
],
"message": "string",
"expected": "string",
"received": "string",
"code": "string"
}
],
"failedRecords": [
{
"index": 0,
"phoneNumber": "string",
"firstName": "string",
"lastName": "string",
"externalId": "string"
}
]
}{
"message": "string",
"code": "string",
"retryAfter": 0
}{
"message": "string",
"code": "string"
}