Documentation Index
Fetch the complete documentation index at: https://developers.leadwaycrm.com/llms.txt
Use this file to discover all available pages before exploring further.
Get Appointments for Contact
GET https://services.leadconnectorhq.com/contacts/{contactId}/appointments
Autorizacion
Bearer token generado desde el portal Leadway. Ver Autenticacion.
Version
string
default:"2021-07-28"
required
Version de la API.
Path parameters
contactId
string
default:"sx6wyHhbFdRXh302LLNR"
required
Contact Id
Respuestas
200 - Successful response
id
string
default:"YS3jaqqeehkR2Is80miy"
calendarId
string
default:"YlWd2wuCAZQzh2cH1fVZ"
assignedUserId
string
default:"YlWd2wuCAZQzh2cH1fVZ"
startTime
string
default:"2021-07-16 11:00:00"
endTime
string
default:"2021-07-16 11:30:00"
locationId
string
default:"YlWd2wuCAZQzh2cH1fVZ"
contactId
string
default:"YlWd2wuCAZQzh2cH1fVZ"
groupId
string
default:"YlWd2wuCAZQzh2cH1fVZ"
dateAdded
string
default:"2021-07-16 11:00:00"
dateUpdated
string
default:"2021-07-16 11:30:00"
{
"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"
]
}
]
}
422 - Unprocessable Entity
Ejemplo
curl -X GET 'https://services.leadconnectorhq.com/contacts/YOUR_contactId/appointments' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Version: 2021-07-28'