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
Provide your bearer token in the Authorization header when making requests to protected resources.
Path Parameters
contactId
stringContact Id
Example:
sx6wyHhbFdRXh302LLNR
Headers
Authorization
stringAccess Token
Example:
Bearer 9c48df2694a849b6089f9d0d3513efe
Version
stringAPI Version
Allowed value:
2021-07-28
Responses
200
Successful response
Body
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"]
422
Unprocessable Entity
Body
statusCode
number
Example:
422
message
array[string]
Example:
["Unprocessable Entity"]
error
string
Example:
Unprocessable Entity
401
Unauthorized
Body
statusCode
number
Example:
401
message
string
Example:
Invalid token: access token is invalid
error
string
Example:
Unauthorized
400
Bad Request
Body
statusCode
number
Example:
400
message
string
Example:
Bad Request