Calendar Events
Operations related to calendar events
Retrieve a paginated list of calendar events with optional filtering
Filter calendar events by start date
2025-01-01
Filter calendar events by end date
2025-01-01
Filter calendar events by calendar ID
5516cd47-2bd0-4f4f-adc2-22524e54ba4d
Filter calendar events by status
confirmed
Page number
1
Number of items per page
10
Calendar events retrieved successfully
Unauthorized - missing or invalid API key
GET /api/v1/calendar-events HTTP/1.1
Host: api.salescaling.com
x-api-key: YOUR_API_KEY
Accept: */*
{
"statusCode": 200,
"count": 1,
"error": "text",
"data": [
{
"id": "5516cd47-2bd0-4f4f-adc2-22524e54ba4d",
"calendarId": "5516cd47-2bd0-4f4f-adc2-22524e54ba4d",
"title": "Team Meeting",
"description": "Weekly team standup meeting",
"startDateTime": "2024-07-15T10:00:00.000Z",
"endDateTime": "2024-07-15T11:00:00.000Z",
"location": "Conference Room A",
"status": "confirmed",
"visibility": "default",
"organizerEmail": "[email protected]",
"organizerName": "John Doe",
"busy": true,
"readOnly": false,
"hideParticipants": false,
"htmlLink": "https://calendar.google.com/event?eid=...",
"iCalUID": "[email protected]",
"nylasId": "nylas_event_123",
"masterEventId": "master_event_123",
"duration": 3600,
"recurrence": [
"FREQ=WEEKLY;BYDAY=MO"
],
"participants": [
{
"email": "[email protected]",
"name": "John Doe",
"status": "yes"
}
],
"conferencing": {
"provider": "Zoom Meeting",
"details": {
"url": "https://zoom.us/j/91288944390?pwd=1234567890"
}
},
"metadata": {
"customField": "value"
},
"createdAt": "2024-07-15T09:00:00.000Z",
"updatedAt": "2024-07-15T09:30:00.000Z"
}
]
}
Create a new calendar event
Calendar ID this event belongs to
5516cd47-2bd0-4f4f-adc2-22524e54ba4d
Title of the calendar event
Team Meeting
Description of the calendar event
Weekly team standup meeting
Date and time when the event starts
2024-07-15T10:00:00.000Z
Date and time when the event ends
2024-07-15T11:00:00.000Z
Location of the event
Conference Room A
Status of the calendar event
confirmed
Valores posibles: Visibility of the calendar event
default
Valores posibles: Name of the event organizer
John Doe
Whether the event is marked as busy
true
Whether the event is read-only
false
Whether to hide participants
false
Duration of the event in seconds
3600
Recurrence rules for the event
["FREQ=WEEKLY;BYDAY=MO"]
Meeting URL
https://zoom.us/j/91288944390?pwd=1234567890
Additional metadata for the event
{"customField":"value"}
Calendar event created successfully
Unauthorized - missing or invalid API key
POST /api/v1/calendar-events HTTP/1.1
Host: api.salescaling.com
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 633
{
"calendarId": "5516cd47-2bd0-4f4f-adc2-22524e54ba4d",
"title": "Team Meeting",
"description": "Weekly team standup meeting",
"startDateTime": "2024-07-15T10:00:00.000Z",
"endDateTime": "2024-07-15T11:00:00.000Z",
"location": "Conference Room A",
"status": "confirmed",
"visibility": "default",
"organizerEmail": "[email protected]",
"organizerName": "John Doe",
"busy": true,
"readOnly": false,
"hideParticipants": false,
"duration": 3600,
"recurrence": [
"FREQ=WEEKLY;BYDAY=MO"
],
"participants": [
{
"email": "[email protected]",
"name": "John Doe",
"status": "yes"
}
],
"meetingUrl": "https://zoom.us/j/91288944390?pwd=1234567890",
"metadata": {
"customField": "value"
}
}
{
"statusCode": 200,
"count": 1,
"error": "text",
"data": {
"id": "5516cd47-2bd0-4f4f-adc2-22524e54ba4d",
"calendarId": "5516cd47-2bd0-4f4f-adc2-22524e54ba4d",
"title": "Team Meeting",
"description": "Weekly team standup meeting",
"startDateTime": "2024-07-15T10:00:00.000Z",
"endDateTime": "2024-07-15T11:00:00.000Z",
"location": "Conference Room A",
"status": "confirmed",
"visibility": "default",
"organizerEmail": "[email protected]",
"organizerName": "John Doe",
"busy": true,
"readOnly": false,
"hideParticipants": false,
"htmlLink": "https://calendar.google.com/event?eid=...",
"iCalUID": "[email protected]",
"nylasId": "nylas_event_123",
"masterEventId": "master_event_123",
"duration": 3600,
"recurrence": [
"FREQ=WEEKLY;BYDAY=MO"
],
"participants": [
{
"email": "[email protected]",
"name": "John Doe",
"status": "yes"
}
],
"conferencing": {
"provider": "Zoom Meeting",
"details": {
"url": "https://zoom.us/j/91288944390?pwd=1234567890"
}
},
"metadata": {
"customField": "value"
},
"createdAt": "2024-07-15T09:00:00.000Z",
"updatedAt": "2024-07-15T09:30:00.000Z"
}
}
Retrieve a specific calendar event by its ID
Calendar event ID
5516cd47-2bd0-4f4f-adc2-22524e54ba4d
Calendar event retrieved successfully
Unauthorized - missing or invalid API key
GET /api/v1/calendar-events/{id} HTTP/1.1
Host: api.salescaling.com
x-api-key: YOUR_API_KEY
Accept: */*
{
"statusCode": 200,
"count": 1,
"error": "text",
"data": {
"id": "5516cd47-2bd0-4f4f-adc2-22524e54ba4d",
"calendarId": "5516cd47-2bd0-4f4f-adc2-22524e54ba4d",
"title": "Team Meeting",
"description": "Weekly team standup meeting",
"startDateTime": "2024-07-15T10:00:00.000Z",
"endDateTime": "2024-07-15T11:00:00.000Z",
"location": "Conference Room A",
"status": "confirmed",
"visibility": "default",
"organizerEmail": "[email protected]",
"organizerName": "John Doe",
"busy": true,
"readOnly": false,
"hideParticipants": false,
"htmlLink": "https://calendar.google.com/event?eid=...",
"iCalUID": "[email protected]",
"nylasId": "nylas_event_123",
"masterEventId": "master_event_123",
"duration": 3600,
"recurrence": [
"FREQ=WEEKLY;BYDAY=MO"
],
"participants": [
{
"email": "[email protected]",
"name": "John Doe",
"status": "yes"
}
],
"conferencing": {
"provider": "Zoom Meeting",
"details": {
"url": "https://zoom.us/j/91288944390?pwd=1234567890"
}
},
"metadata": {
"customField": "value"
},
"createdAt": "2024-07-15T09:00:00.000Z",
"updatedAt": "2024-07-15T09:30:00.000Z"
}
}
Update an existing calendar event
Calendar event ID
5516cd47-2bd0-4f4f-adc2-22524e54ba4d
Title of the calendar event
Team Meeting
Description of the calendar event
Weekly team standup meeting
Date and time when the event starts
2024-07-15T10:00:00.000Z
Date and time when the event ends
2024-07-15T11:00:00.000Z
Location of the event
Conference Room A
Status of the calendar event
confirmed
Valores posibles: Visibility of the calendar event
default
Valores posibles: Name of the event organizer
John Doe
Whether the event is marked as busy
true
Whether the event is read-only
false
Whether to hide participants
false
Duration of the event in seconds
3600
Recurrence rules for the event
["FREQ=WEEKLY;BYDAY=MO"]
Meeting URL
https://zoom.us/j/91288944390?pwd=1234567890
Additional metadata for the event
{"customField":"value"}
Calendar event updated successfully
Unauthorized - missing or invalid API key
PUT /api/v1/calendar-events/{id} HTTP/1.1
Host: api.salescaling.com
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 581
{
"title": "Team Meeting",
"description": "Weekly team standup meeting",
"startDateTime": "2024-07-15T10:00:00.000Z",
"endDateTime": "2024-07-15T11:00:00.000Z",
"location": "Conference Room A",
"status": "confirmed",
"visibility": "default",
"organizerEmail": "[email protected]",
"organizerName": "John Doe",
"busy": true,
"readOnly": false,
"hideParticipants": false,
"duration": 3600,
"recurrence": [
"FREQ=WEEKLY;BYDAY=MO"
],
"participants": [
{
"email": "[email protected]",
"name": "John Doe",
"status": "yes"
}
],
"meetingUrl": "https://zoom.us/j/91288944390?pwd=1234567890",
"metadata": {
"customField": "value"
}
}
{
"statusCode": 200,
"count": 1,
"error": "text",
"data": {
"id": "5516cd47-2bd0-4f4f-adc2-22524e54ba4d",
"calendarId": "5516cd47-2bd0-4f4f-adc2-22524e54ba4d",
"title": "Team Meeting",
"description": "Weekly team standup meeting",
"startDateTime": "2024-07-15T10:00:00.000Z",
"endDateTime": "2024-07-15T11:00:00.000Z",
"location": "Conference Room A",
"status": "confirmed",
"visibility": "default",
"organizerEmail": "[email protected]",
"organizerName": "John Doe",
"busy": true,
"readOnly": false,
"hideParticipants": false,
"htmlLink": "https://calendar.google.com/event?eid=...",
"iCalUID": "[email protected]",
"nylasId": "nylas_event_123",
"masterEventId": "master_event_123",
"duration": 3600,
"recurrence": [
"FREQ=WEEKLY;BYDAY=MO"
],
"participants": [
{
"email": "[email protected]",
"name": "John Doe",
"status": "yes"
}
],
"conferencing": {
"provider": "Zoom Meeting",
"details": {
"url": "https://zoom.us/j/91288944390?pwd=1234567890"
}
},
"metadata": {
"customField": "value"
},
"createdAt": "2024-07-15T09:00:00.000Z",
"updatedAt": "2024-07-15T09:30:00.000Z"
}
}
Delete a calendar event by its ID
Calendar event ID
5516cd47-2bd0-4f4f-adc2-22524e54ba4d
Calendar event deleted successfully
Unauthorized - missing or invalid API key
DELETE /api/v1/calendar-events/{id} HTTP/1.1
Host: api.salescaling.com
x-api-key: YOUR_API_KEY
Accept: */*
{
"statusCode": 200,
"count": 1,
"error": "text",
"data": true
}