GET https://services.leadconnectorhq.com/calendars/events/appointments/{eventId}
Autorización
Bearer token generado desde el portal Leadway. Ver Autenticación.
Versión de la API.
Path parameters
Event Id or Instance id. For recurring appointments send masterEventId to modify original series.
Respuestas
200 - Successful response
200 - Successful response
Show propiedades
Show propiedades
Event Id or Instance id for a recurring event
Calendar Event address
Calendar Event title
Calendar ID
Account ID
Contact ID
Group ID
Appointment Status
AssignedUser - the primary owner of an appointment
Users - the secondary owners of an appointment.
Notes
Description
true if the event is recurring otherwise false
RRULE as per the iCalendar (RFC 5545) specification for recurring events. DTSTART is not required, instance ids are calculated on the basis of startTime of the event.
Start Time
End Time
Date Added
Date Updated
Ids of associated resources rooms and/or equipments
Appointment booked by metadata
Master event id for a recurring instance
{
"event": {
"id": "string",
"address": "https://meet.google.com/yqp-gogr-wve",
"title": "Appointment with GHL Dev team",
"calendarId": "BqTwX8QFwXzpegMve9EQ",
"locationId": "0007BWpSzSwfiuSl0tR2",
"contactId": "9NkT25Vor1v4aQatFsv2",
"groupId": "9NkT25Vor1v4aQatFsv2",
"appointmentStatus": "confirmed",
"assignedUserId": "YlWd2wuCAZQzh2cH1fVZ",
"users": [
"YlWd2wuCAZQzh2cH1fVZ",
"9NkT25Vor1v4aQatFsv2"
],
"notes": "Some dummy note",
"description": "Some dummy description",
"isRecurring": "true",
"rrule": "string",
"startTime": "2023-09-25T16:00:00+05:30",
"endTime": "2023-09-25T16:00:00+05:30",
"dateAdded": "2023-09-25T16:00:00+05:30",
"dateUpdated": "2023-09-25T16:00:00+05:30",
"assignedResources": [
"string"
],
"masterEventId": "ocWd2wuBGAQzh2cH1fSZ"
}
}
400 - Bad Request
400 - Bad Request
{}
401 - Unauthorized
401 - Unauthorized
{}
Ejemplo
curl -X GET 'https://services.leadconnectorhq.com/calendars/events/appointments/YOUR_eventId' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Version: 2021-07-28'
const response = await fetch('https://services.leadconnectorhq.com/calendars/events/appointments/YOUR_eventId', {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.LEADWAY_TOKEN}`,
Version: '2021-07-28',
},
});
const data = await response.json();
import os, requests
response = requests.request(
'GET',
'https://services.leadconnectorhq.com/calendars/events/appointments/YOUR_eventId',
headers={
'Authorization': f"Bearer {os.environ['LEADWAY_TOKEN']}",
'Version': '2021-07-28',
},
)
data = response.json()
<?php
$ch = curl_init('https://services.leadconnectorhq.com/calendars/events/appointments/YOUR_eventId');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . getenv('LEADWAY_TOKEN'),
'Version: 2021-07-28',
],
]);
$data = json_decode(curl_exec($ch), true);

