Get Appointments for Contact

GEThttps://services.leadconnectorhq.com/contacts/{contactId}/tasks/{taskId}/completed
Get Appointments for Contact
Request

Use the Access Token generated with user type as Sub-Account (OR) Private Integration Token of Sub-Account.

Provide your bearer token in the Authorization header when making requests to protected resources.

Example: Authorization: Bearer 123
Path Parameters
contactId
string
required

Contact Id

Example:
sx6wyHhbFdRXh302LLNR
Headers
Authorization
string
required

Access Token

Example:
Bearer 9c48df2694a849b6089f9d0d3513efe
Version
string
required

API Version

Allowed value:
2021-07-28

Responses

Successful response

events
array[object]
id
string
Example:
YS3jaqqeehkR2Is80miy
calendarId
string
Example:
YlWd2wuCAZQzh2cH1fVZ
status
string
Example:
booked
title
string
Example:
Test
assignedUserId
string
Example:
YlWd2wuCAZQzh2cH1fVZ
notes
string
Example:
test
startTime
string
Example:
2021-07-16 11:00:00
endTime
string
Example:
2021-07-16 11:30:00
address
string
Example:
Address
locationId
string
Example:
YlWd2wuCAZQzh2cH1fVZ
contactId
string
Example:
YlWd2wuCAZQzh2cH1fVZ
groupId
string
Example:
YlWd2wuCAZQzh2cH1fVZ
appointmentStatus
string
Example:
booked
users
array[string]
Example:
["YlWd2wuCAZQzh2cH1fVZ","YlWd2wuCAZQzh2cH1fVZ"]
dateAdded
string
Example:
2021-07-16 11:00:00
dateUpdated
string
Example:
2021-07-16 11:30:00
assignedResources
array[string]
Example:
["YlWd2wuCAZQzh2cH1fVZ","YlWd2wuCAZQzh2cH1fVZ"]

Unprocessable Entity

statusCode
number
Example:
422
message
array[string]
Example:
["Unprocessable Entity"]
error
string
Example:
Unprocessable Entity

Unauthorized

statusCode
number
Example:
401
message
string
Example:
Invalid token: access token is invalid
error
string
Example:
Unauthorized

Bad Request

statusCode
number
Example:
400
message
string
Example:
Bad Request