CRM
contacts & custom fields api
Get Appointments for Contact
cURL
curl --request GET \ --url https://services.leadconnectorhq.com/contacts/{contactId}/appointments \ --header 'Authorization: Bearer <token>' \ --header 'Version: <version>'
{ "events": [ { "id": "YS3jaqqeehkR2Is80miy", "calendarId": "YlWd2wuCAZQzh2cH1fVZ", "status": "booked", "title": "Test", "assignedUserId": "YlWd2wuCAZQzh2cH1fVZ", "notes": "test", "startTime": "2021-07-16 11:00:00", "endTime": "2021-07-16 11:30:00", "address": "Address", "locationId": "YlWd2wuCAZQzh2cH1fVZ", "contactId": "YlWd2wuCAZQzh2cH1fVZ", "groupId": "YlWd2wuCAZQzh2cH1fVZ", "appointmentStatus": "booked", "users": [ "YlWd2wuCAZQzh2cH1fVZ", "YlWd2wuCAZQzh2cH1fVZ" ], "dateAdded": "2021-07-16 11:00:00", "dateUpdated": "2021-07-16 11:30:00", "assignedResources": [ "YlWd2wuCAZQzh2cH1fVZ", "YlWd2wuCAZQzh2cH1fVZ" ] } ] }
Use the Access Token generated with user type as Sub-Account (OR) Private Integration Token of Sub-Account.
API Version
2021-07-28
Contact Id
"sx6wyHhbFdRXh302LLNR"
Successful response
Show child attributes
Was this page helpful?