v1
latestOpenAPI 3.0.12026-07-22120163333.7 KBList Calendar Events
Returns a page of calendar entries (Tasks and Appointments) for the caller, optionally filtered by leadId, type and completion status.
Notes:
- At least one of startTime or endTime is required; requests missing both return 400 INVALID_PARAMETER.
- includeFinished=true returns both finished and unfinished entries; includeFinished=false returns only unfinished.
- Results are wrapped under the 'data' key, which also carries pagination metadata.
Query parameters
Lead ID (optional, filter by specific lead)
Lead ID (optional, filter by specific lead)
Start time, ISO 8601 with offset. At least one of startTime or endTime is required.
Start time, ISO 8601 with offset. At least one of startTime or endTime is required.
End time, ISO 8601 with offset. At least one of startTime or endTime is required.
End time, ISO 8601 with offset. At least one of startTime or endTime is required.
Start time as Unix timestamp in milliseconds. Used when startTime is not provided.
Start time as Unix timestamp in milliseconds. Used when startTime is not provided.
End time as Unix timestamp in milliseconds. Used when endTime is not provided.
End time as Unix timestamp in milliseconds. Used when endTime is not provided.
Timezone code (IANA format, e.g., America/Los_Angeles)
Timezone code (IANA format, e.g., America/Los_Angeles)
Include finished calendars
Include finished calendars
Page number (starts from 0)
Page number (starts from 0)
Page size (max 500)
Page size (max 500)
Sort field (e.g., startTime)
Sort field (e.g., startTime)
Sort in descending order
Sort in descending order
Filter by source type codes. Multiple values allowed.
Filter by source type codes. Multiple values allowed.
Headers
Bearer [access_token]
Response
Page of calendar entries with pagination metadata.
Example response
{
"data": {
"total": 100,
"pageSize": 20,
"items": [
{
"id": "12345-task",
"type": "TASK",
"leadId": 1234567890
}
]
}
}