Download OpenAPI specification:
Automatically generated swagger spec for the calendar stack.
Creates an event for the given ownerId, userId, and calendarId. Accepts title, description, location, start/end date and time (omit times for all-day), attendees, reminders, visibility, referenceIds, mediaIds, recurrence fields, and notifyParticipants. Returns the created event.
required | Array of objects (nylasAttendee) |
| calendarId required | string |
| description required | string |
required | object (Represents a whole or partial calendar date, such as a birthday. The time of
day and time zone are either specified elsewhere or are insignificant. The
date is relative to the Gregorian Calendar. This can represent one of the
following:)
Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and
|
required | object (typeTimeOfDay) Represents a time of day. The date and time zone are either not significant
or are specified elsewhere. An API may choose to allow leap seconds. Related
types are [google.type.Date][google.type.Date] and
|
| frequency required | string (nylasEventFrequency) Default: "EVENT_FREQUENCY_UNDEFINED" Enum: "EVENT_FREQUENCY_UNDEFINED" "EVENT_FREQUENCY_DAILY" "EVENT_FREQUENCY_WEEKLY" "EVENT_FREQUENCY_MONTHLY" "EVENT_FREQUENCY_YEARLY" |
| location required | string |
| mediaIds required | Array of strings |
| notifyParticipants required | boolean If true, participants will be notified of the event creation |
| occurrenceCount required | integer <int32> |
| ownerId required | string <int64> |
required | object (Represents a whole or partial calendar date, such as a birthday. The time of
day and time zone are either specified elsewhere or are insignificant. The
date is relative to the Gregorian Calendar. This can represent one of the
following:)
Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and
|
required | object (Represents a whole or partial calendar date, such as a birthday. The time of
day and time zone are either specified elsewhere or are insignificant. The
date is relative to the Gregorian Calendar. This can represent one of the
following:)
Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and
|
| referenceIds required | Array of strings |
required | Array of objects (nylasReminders) |
required | object (Represents a whole or partial calendar date, such as a birthday. The time of
day and time zone are either specified elsewhere or are insignificant. The
date is relative to the Gregorian Calendar. This can represent one of the
following:)
Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and
|
required | object (typeTimeOfDay) Represents a time of day. The date and time zone are either not significant
or are specified elsewhere. An API may choose to allow leap seconds. Related
types are [google.type.Date][google.type.Date] and
|
| title required | string |
| userId required | string |
| visibility required | string (nylasVisibility) Default: "EVENT_VISIBILITY_UNDEFINED" Enum: "EVENT_VISIBILITY_UNDEFINED" "EVENT_VISIBILITY_PRIVATE" "EVENT_VISIBILITY_PUBLIC" |
{- "attendees": [
- {
- "contactId": "string",
- "displayName": "string",
- "email": "string",
- "status": "ATTENDEE_STATUS_NEEDS_ACTION"
}
], - "calendarId": "string",
- "description": "string",
- "endDate": {
- "day": 0,
- "month": 0,
- "year": 0
}, - "endTime": {
- "hours": 0,
- "minutes": 0,
- "nanos": 0,
- "seconds": 0
}, - "frequency": "EVENT_FREQUENCY_UNDEFINED",
- "location": "string",
- "mediaIds": [
- "string"
], - "notifyParticipants": true,
- "occurrenceCount": 0,
- "ownerId": "string",
- "recurrenceEndDate": {
- "day": 0,
- "month": 0,
- "year": 0
}, - "recurrenceStartDate": {
- "day": 0,
- "month": 0,
- "year": 0
}, - "referenceIds": [
- "string"
], - "reminders": [
- {
- "method": "REMINDER_METHOD_UNDEFINED",
- "reminderMinutes": "string"
}
], - "startDate": {
- "day": 0,
- "month": 0,
- "year": 0
}, - "startTime": {
- "hours": 0,
- "minutes": 0,
- "nanos": 0,
- "seconds": 0
}, - "title": "string",
- "userId": "string",
- "visibility": "EVENT_VISIBILITY_UNDEFINED"
}{- "event": {
- "attendees": [
- {
- "contactId": "string",
- "displayName": "string",
- "email": "string",
- "status": "ATTENDEE_STATUS_NEEDS_ACTION"
}
], - "calendarId": "string",
- "description": "string",
- "endDate": {
- "day": 0,
- "month": 0,
- "year": 0
}, - "endTime": {
- "hours": 0,
- "minutes": 0,
- "nanos": 0,
- "seconds": 0
}, - "frequency": "EVENT_FREQUENCY_UNDEFINED",
- "iCalUid": "string",
- "id": "string",
- "location": "string",
- "masterEventId": "string",
- "mediaIds": [
- "string"
], - "notifyParticipants": true,
- "occurrenceCount": 0,
- "organizer": {
- "email": "string",
- "name": "string"
}, - "recurrenceEndDate": {
- "day": 0,
- "month": 0,
- "year": 0
}, - "recurrenceStartDate": {
- "day": 0,
- "month": 0,
- "year": 0
}, - "referenceIds": [
- "string"
], - "reminders": [
- {
- "method": "REMINDER_METHOD_UNDEFINED",
- "reminderMinutes": "string"
}
], - "startDate": {
- "day": 0,
- "month": 0,
- "year": 0
}, - "startTime": {
- "hours": 0,
- "minutes": 0,
- "nanos": 0,
- "seconds": 0
}, - "status": "EVENT_STATUS_UNDEFINED",
- "title": "string",
- "userId": "string",
- "visibility": "EVENT_VISIBILITY_UNDEFINED"
}
}Parses and returns the event associated with the given ICS mediaId.
| mediaId required | string |
{- "event": {
- "attendees": [
- {
- "contactId": "string",
- "displayName": "string",
- "email": "string",
- "status": "ATTENDEE_STATUS_NEEDS_ACTION"
}
], - "calendarId": "string",
- "description": "string",
- "endDate": {
- "day": 0,
- "month": 0,
- "year": 0
}, - "endTime": {
- "hours": 0,
- "minutes": 0,
- "nanos": 0,
- "seconds": 0
}, - "frequency": "EVENT_FREQUENCY_UNDEFINED",
- "iCalUid": "string",
- "id": "string",
- "location": "string",
- "masterEventId": "string",
- "mediaIds": [
- "string"
], - "notifyParticipants": true,
- "occurrenceCount": 0,
- "organizer": {
- "email": "string",
- "name": "string"
}, - "recurrenceEndDate": {
- "day": 0,
- "month": 0,
- "year": 0
}, - "recurrenceStartDate": {
- "day": 0,
- "month": 0,
- "year": 0
}, - "referenceIds": [
- "string"
], - "reminders": [
- {
- "method": "REMINDER_METHOD_UNDEFINED",
- "reminderMinutes": "string"
}
], - "startDate": {
- "day": 0,
- "month": 0,
- "year": 0
}, - "startTime": {
- "hours": 0,
- "minutes": 0,
- "nanos": 0,
- "seconds": 0
}, - "status": "EVENT_STATUS_UNDEFINED",
- "title": "string",
- "userId": "string",
- "visibility": "EVENT_VISIBILITY_UNDEFINED"
}
}Returns the calendars available to the given userId (e.g. from the connected Nylas account).
| userId required | string |
{- "calendars": [
- {
- "associatedEmail": "string",
- "id": "string",
- "name": "string",
- "nylasCalendarId": "string",
- "ownerId": "string",
- "provider": "PROVIDER_UNDEFINED",
- "userId": "string"
}
]
}Returns the Calendar linked to the given user ID.
| id required | string |
{- "calendar": {
- "associatedEmail": "string",
- "id": "string",
- "name": "string",
- "nylasCalendarId": "string",
- "ownerId": "string",
- "provider": "PROVIDER_UNDEFINED",
- "userId": "string"
}
}Returns calendars for the given user IDs.
| ids required | Array of strings |
{- "ids": [
- "string"
]
}{- "calendars": [
- {
- "associatedEmail": "string",
- "id": "string",
- "name": "string",
- "nylasCalendarId": "string",
- "ownerId": "string",
- "provider": "PROVIDER_UNDEFINED",
- "userId": "string"
}
]
}Returns events for the given ownerId and userIds. Supports optional filters by startDate, endDate, attendeeEmails, and referenceIds, and optional sort by start.
| attendeeEmails | Array of strings (Optional filter parameter) Optional filter parameter |
object (Represents a whole or partial calendar date, such as a birthday. The time of
day and time zone are either specified elsewhere or are insignificant. The
date is relative to the Gregorian Calendar. This can represent one of the
following:)
Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and
| |
| ownerId required | string <int64> |
| referenceIds | Array of strings (Optional filter parameter) Optional filter parameter |
| sortStart | string (sortSortOrder) Default: "UNDEFINED_SORT_ORDER" Enum: "UNDEFINED_SORT_ORDER" "ASC" "DESC" |
object (Represents a whole or partial calendar date, such as a birthday. The time of
day and time zone are either specified elsewhere or are insignificant. The
date is relative to the Gregorian Calendar. This can represent one of the
following:)
Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and
| |
| userIds required | Array of strings |
{- "attendeeEmails": [
- "string"
], - "endDate": {
- "day": 0,
- "month": 0,
- "year": 0
}, - "ownerId": "string",
- "referenceIds": [
- "string"
], - "sortStart": "UNDEFINED_SORT_ORDER",
- "startDate": {
- "day": 0,
- "month": 0,
- "year": 0
}, - "userIds": [
- "string"
]
}{- "events": [
- {
- "attendees": [
- {
- "contactId": "string",
- "displayName": "string",
- "email": "string",
- "status": "ATTENDEE_STATUS_NEEDS_ACTION"
}
], - "calendarId": "string",
- "description": "string",
- "endDate": {
- "day": 0,
- "month": 0,
- "year": 0
}, - "endTime": {
- "hours": 0,
- "minutes": 0,
- "nanos": 0,
- "seconds": 0
}, - "frequency": "EVENT_FREQUENCY_UNDEFINED",
- "iCalUid": "string",
- "id": "string",
- "location": "string",
- "masterEventId": "string",
- "mediaIds": [
- "string"
], - "notifyParticipants": true,
- "occurrenceCount": 0,
- "organizer": {
- "email": "string",
- "name": "string"
}, - "recurrenceEndDate": {
- "day": 0,
- "month": 0,
- "year": 0
}, - "recurrenceStartDate": {
- "day": 0,
- "month": 0,
- "year": 0
}, - "referenceIds": [
- "string"
], - "reminders": [
- {
- "method": "REMINDER_METHOD_UNDEFINED",
- "reminderMinutes": "string"
}
], - "startDate": {
- "day": 0,
- "month": 0,
- "year": 0
}, - "startTime": {
- "hours": 0,
- "minutes": 0,
- "nanos": 0,
- "seconds": 0
}, - "status": "EVENT_STATUS_UNDEFINED",
- "title": "string",
- "userId": "string",
- "visibility": "EVENT_VISIBILITY_UNDEFINED"
}
]
}Returns the Calendar associated with the given email address.
| email required | string |
{- "calendar": {
- "associatedEmail": "string",
- "id": "string",
- "name": "string",
- "nylasCalendarId": "string",
- "ownerId": "string",
- "provider": "PROVIDER_UNDEFINED",
- "userId": "string"
}
}Sends an RSVP status (accepted, declined, tentative, or needs action) for the given userId, eventId, calendarId, and optional iCalUid.
| calendarId required | string |
| eventId required | string |
| iCalUid required | string |
| status required | string (nylasAttendeeStatus) Default: "ATTENDEE_STATUS_NEEDS_ACTION" Enum: "ATTENDEE_STATUS_NEEDS_ACTION" "ATTENDEE_STATUS_ACCEPTED" "ATTENDEE_STATUS_DECLINED" "ATTENDEE_STATUS_TENTATIVE" |
| userId required | string |
{- "calendarId": "string",
- "eventId": "string",
- "iCalUid": "string",
- "status": "ATTENDEE_STATUS_NEEDS_ACTION",
- "userId": "string"
}{ }Sets the authenticated user's active calendar by nylasCalendarId. Returns the resulting Calendar.
| nylasCalendarId required | string |
{- "nylasCalendarId": "string"
}{- "calendar": {
- "associatedEmail": "string",
- "id": "string",
- "name": "string",
- "nylasCalendarId": "string",
- "ownerId": "string",
- "provider": "PROVIDER_UNDEFINED",
- "userId": "string"
}
}Updates the event identified by id for the given userId. Accepts title, description, location, start/end, attendees, reminders, visibility, referenceIds, mediaIds, recurrence fields, notifyParticipants, and editFollowing. Returns the updated event.
required | Array of objects (nylasAttendee) |
| description required | string |
| editFollowing required | boolean |
required | object (Represents a whole or partial calendar date, such as a birthday. The time of
day and time zone are either specified elsewhere or are insignificant. The
date is relative to the Gregorian Calendar. This can represent one of the
following:)
Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and
|
required | object (typeTimeOfDay) Represents a time of day. The date and time zone are either not significant
or are specified elsewhere. An API may choose to allow leap seconds. Related
types are [google.type.Date][google.type.Date] and
|
| frequency required | string (nylasEventFrequency) Default: "EVENT_FREQUENCY_UNDEFINED" Enum: "EVENT_FREQUENCY_UNDEFINED" "EVENT_FREQUENCY_DAILY" "EVENT_FREQUENCY_WEEKLY" "EVENT_FREQUENCY_MONTHLY" "EVENT_FREQUENCY_YEARLY" |
| id required | string |
| location required | string |
| mediaIds required | Array of strings |
| notifyParticipants required | boolean If true, participants will be notified of the event update |
| occurrenceCount required | integer <int32> |
required | object (Represents a whole or partial calendar date, such as a birthday. The time of
day and time zone are either specified elsewhere or are insignificant. The
date is relative to the Gregorian Calendar. This can represent one of the
following:)
Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and
|
required | object (Represents a whole or partial calendar date, such as a birthday. The time of
day and time zone are either specified elsewhere or are insignificant. The
date is relative to the Gregorian Calendar. This can represent one of the
following:)
Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and
|
| referenceIds required | Array of strings |
required | Array of objects (nylasReminders) |
required | object (Represents a whole or partial calendar date, such as a birthday. The time of
day and time zone are either specified elsewhere or are insignificant. The
date is relative to the Gregorian Calendar. This can represent one of the
following:)
Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and
|
required | object (typeTimeOfDay) Represents a time of day. The date and time zone are either not significant
or are specified elsewhere. An API may choose to allow leap seconds. Related
types are [google.type.Date][google.type.Date] and
|
| title required | string |
| userId required | string |
| visibility required | string (nylasVisibility) Default: "EVENT_VISIBILITY_UNDEFINED" Enum: "EVENT_VISIBILITY_UNDEFINED" "EVENT_VISIBILITY_PRIVATE" "EVENT_VISIBILITY_PUBLIC" |
{- "attendees": [
- {
- "contactId": "string",
- "displayName": "string",
- "email": "string",
- "status": "ATTENDEE_STATUS_NEEDS_ACTION"
}
], - "description": "string",
- "editFollowing": true,
- "endDate": {
- "day": 0,
- "month": 0,
- "year": 0
}, - "endTime": {
- "hours": 0,
- "minutes": 0,
- "nanos": 0,
- "seconds": 0
}, - "frequency": "EVENT_FREQUENCY_UNDEFINED",
- "id": "string",
- "location": "string",
- "mediaIds": [
- "string"
], - "notifyParticipants": true,
- "occurrenceCount": 0,
- "recurrenceEndDate": {
- "day": 0,
- "month": 0,
- "year": 0
}, - "recurrenceStartDate": {
- "day": 0,
- "month": 0,
- "year": 0
}, - "referenceIds": [
- "string"
], - "reminders": [
- {
- "method": "REMINDER_METHOD_UNDEFINED",
- "reminderMinutes": "string"
}
], - "startDate": {
- "day": 0,
- "month": 0,
- "year": 0
}, - "startTime": {
- "hours": 0,
- "minutes": 0,
- "nanos": 0,
- "seconds": 0
}, - "title": "string",
- "userId": "string",
- "visibility": "EVENT_VISIBILITY_UNDEFINED"
}{- "event": {
- "attendees": [
- {
- "contactId": "string",
- "displayName": "string",
- "email": "string",
- "status": "ATTENDEE_STATUS_NEEDS_ACTION"
}
], - "calendarId": "string",
- "description": "string",
- "endDate": {
- "day": 0,
- "month": 0,
- "year": 0
}, - "endTime": {
- "hours": 0,
- "minutes": 0,
- "nanos": 0,
- "seconds": 0
}, - "frequency": "EVENT_FREQUENCY_UNDEFINED",
- "iCalUid": "string",
- "id": "string",
- "location": "string",
- "masterEventId": "string",
- "mediaIds": [
- "string"
], - "notifyParticipants": true,
- "occurrenceCount": 0,
- "organizer": {
- "email": "string",
- "name": "string"
}, - "recurrenceEndDate": {
- "day": 0,
- "month": 0,
- "year": 0
}, - "recurrenceStartDate": {
- "day": 0,
- "month": 0,
- "year": 0
}, - "referenceIds": [
- "string"
], - "reminders": [
- {
- "method": "REMINDER_METHOD_UNDEFINED",
- "reminderMinutes": "string"
}
], - "startDate": {
- "day": 0,
- "month": 0,
- "year": 0
}, - "startTime": {
- "hours": 0,
- "minutes": 0,
- "nanos": 0,
- "seconds": 0
}, - "status": "EVENT_STATUS_UNDEFINED",
- "title": "string",
- "userId": "string",
- "visibility": "EVENT_VISIBILITY_UNDEFINED"
}
}Creates a reminder for the given ownerId with optional referenceIds, employeeUserId, contactId, date (UNIX seconds), priority, activity, subject, and done timestamp. Returns the created reminder.
| activity required | string (reminderReminderActivity) Default: "UNDEFINED_REMINDER_ACTIVITY" Enum: "UNDEFINED_REMINDER_ACTIVITY" "CALL_REMINDER_ACTIVITY" "MAIL_REMINDER_ACTIVITY" "POST_REMINDER_ACTIVITY" "TODO_REMINDER_ACTIVITY" "TO_DISCUSS_REMINDER_ACTIVITY" "TO_READ_THROUGH_REMINDER_ACTIVITY" |
| contactId required | string |
| date required | string <int64> (UNIX timestamp in seconds) |
| done required | string <int64> (UNIX timestamp in seconds when the reminder was set to done. 0=not done) |
| employeeUserId required | string |
| ownerId required | string <int64> |
| priority required | string (reminderReminderPriority) Default: "NORMAL_REMINDER_PRIORITY" Enum: "NORMAL_REMINDER_PRIORITY" "LOW_REMINDER_PRIORITY" "HIGH_REMINDER_PRIORITY" |
| referenceIds required | Array of strings (IDs to which this reminder is attached to (e.g. requestId)) |
| subject required | string |
{- "activity": "UNDEFINED_REMINDER_ACTIVITY",
- "contactId": "string",
- "date": "string",
- "done": "string",
- "employeeUserId": "string",
- "ownerId": "string",
- "priority": "NORMAL_REMINDER_PRIORITY",
- "referenceIds": [
- "string"
], - "subject": "string"
}{- "reminder": {
- "activity": "UNDEFINED_REMINDER_ACTIVITY",
- "contactId": "string",
- "creatorUserId": "string",
- "date": "string",
- "done": "string",
- "employeeUserId": "string",
- "id": "string",
- "ownerId": "string",
- "priority": "NORMAL_REMINDER_PRIORITY",
- "referenceIds": [
- "string"
], - "subject": "string"
}
}Creates one reminder per reference bucket for the given ownerId, sharing employeeUserId, contactId, date, priority, activity, subject, and done. Each bucket's referenceIds are attached to that reminder.
| activity required | string (reminderReminderActivity) Default: "UNDEFINED_REMINDER_ACTIVITY" Enum: "UNDEFINED_REMINDER_ACTIVITY" "CALL_REMINDER_ACTIVITY" "MAIL_REMINDER_ACTIVITY" "POST_REMINDER_ACTIVITY" "TODO_REMINDER_ACTIVITY" "TO_DISCUSS_REMINDER_ACTIVITY" "TO_READ_THROUGH_REMINDER_ACTIVITY" |
required | Array of objects (reminderReferenceBucket) For each bucket one reminder with all referenceIds in that bucket is created |
| contactId required | string |
| date required | string <int64> (UNIX timestamp in seconds) |
| done required | string <int64> (UNIX timestamp in seconds when the reminder was set to done. 0=not done) |
| employeeUserId required | string |
| ownerId required | string <int64> |
| priority required | string (reminderReminderPriority) Default: "NORMAL_REMINDER_PRIORITY" Enum: "NORMAL_REMINDER_PRIORITY" "LOW_REMINDER_PRIORITY" "HIGH_REMINDER_PRIORITY" |
| subject required | string |
{- "activity": "UNDEFINED_REMINDER_ACTIVITY",
- "buckets": [
- {
- "referenceIds": [
- "string"
]
}
], - "contactId": "string",
- "date": "string",
- "done": "string",
- "employeeUserId": "string",
- "ownerId": "string",
- "priority": "NORMAL_REMINDER_PRIORITY",
- "subject": "string"
}{ }Returns reminders for the given ownerId. Optionally filters by employeeIds (match at least one) and priority values.
| ownerId required | string <int64> |
| employeeIds | Array of strings Optional, needs to match at least one |
| priority | Array of strings Items Enum: "NORMAL_REMINDER_PRIORITY" "LOW_REMINDER_PRIORITY" "HIGH_REMINDER_PRIORITY" Optional, if empty array then no filtering is done |
{- "reminders": [
- {
- "activity": "UNDEFINED_REMINDER_ACTIVITY",
- "contactId": "string",
- "creatorUserId": "string",
- "date": "string",
- "done": "string",
- "employeeUserId": "string",
- "id": "string",
- "ownerId": "string",
- "priority": "NORMAL_REMINDER_PRIORITY",
- "referenceIds": [
- "string"
], - "subject": "string"
}
]
}Returns reminders linked to any of the given contactIds.
| contactIds required | Array of strings |
{- "contactIds": [
- "string"
]
}{- "reminders": [
- {
- "activity": "UNDEFINED_REMINDER_ACTIVITY",
- "contactId": "string",
- "creatorUserId": "string",
- "date": "string",
- "done": "string",
- "employeeUserId": "string",
- "id": "string",
- "ownerId": "string",
- "priority": "NORMAL_REMINDER_PRIORITY",
- "referenceIds": [
- "string"
], - "subject": "string"
}
]
}Returns reminders for the given ownerId that match any of the referenceIds. Set includeDone to also return completed reminders.
| includeDone required | boolean |
| ownerId required | string <int64> |
| referenceIds required | Array of strings |
{- "includeDone": true,
- "ownerId": "string",
- "referenceIds": [
- "string"
]
}{- "reminders": [
- {
- "activity": "UNDEFINED_REMINDER_ACTIVITY",
- "contactId": "string",
- "creatorUserId": "string",
- "date": "string",
- "done": "string",
- "employeeUserId": "string",
- "id": "string",
- "ownerId": "string",
- "priority": "NORMAL_REMINDER_PRIORITY",
- "referenceIds": [
- "string"
], - "subject": "string"
}
]
}Returns reminders for the given ownerId that match any of the referenceIds. Set includeDone to also return completed reminders.
| referenceIds required | Array of strings non-empty |
| ownerId | string <int64> |
| includeDone | boolean |
{- "reminders": [
- {
- "activity": "UNDEFINED_REMINDER_ACTIVITY",
- "contactId": "string",
- "creatorUserId": "string",
- "date": "string",
- "done": "string",
- "employeeUserId": "string",
- "id": "string",
- "ownerId": "string",
- "priority": "NORMAL_REMINDER_PRIORITY",
- "referenceIds": [
- "string"
], - "subject": "string"
}
]
}Clears the done state on the reminders matching the given IDs.
| ids required | Array of strings |
{- "ids": [
- "string"
]
}{ }Updates the reminder identified by id (referenceIds, employeeUserId, contactId, date, priority, activity, subject, and done).
| activity required | string (reminderReminderActivity) Default: "UNDEFINED_REMINDER_ACTIVITY" Enum: "UNDEFINED_REMINDER_ACTIVITY" "CALL_REMINDER_ACTIVITY" "MAIL_REMINDER_ACTIVITY" "POST_REMINDER_ACTIVITY" "TODO_REMINDER_ACTIVITY" "TO_DISCUSS_REMINDER_ACTIVITY" "TO_READ_THROUGH_REMINDER_ACTIVITY" |
| contactId required | string |
| date required | string <int64> (UNIX timestamp in seconds) |
| done required | string <int64> (UNIX timestamp in seconds when the reminder was set to done. 0=not done) |
| employeeUserId required | string |
| id required | string |
| priority required | string (reminderReminderPriority) Default: "NORMAL_REMINDER_PRIORITY" Enum: "NORMAL_REMINDER_PRIORITY" "LOW_REMINDER_PRIORITY" "HIGH_REMINDER_PRIORITY" |
| referenceIds required | Array of strings (IDs to which this reminder is attached to (e.g. requestId)) |
| subject required | string |
{- "activity": "UNDEFINED_REMINDER_ACTIVITY",
- "contactId": "string",
- "date": "string",
- "done": "string",
- "employeeUserId": "string",
- "id": "string",
- "priority": "NORMAL_REMINDER_PRIORITY",
- "referenceIds": [
- "string"
], - "subject": "string"
}{ }Sets the date (UNIX seconds) on the reminders matching the given IDs.
| date required | string <int64> (UNIX timestamp in seconds) |
| ids required | Array of strings |
{- "date": "string",
- "ids": [
- "string"
]
}{ }Sets the employeeUserId on the reminders matching the given IDs.
| employeeUserId required | string |
| ids required | Array of strings |
{- "employeeUserId": "string",
- "ids": [
- "string"
]
}{ }Sets the priority on the reminders matching the given IDs.
| ids required | Array of strings |
| priority required | string (reminderReminderPriority) Default: "NORMAL_REMINDER_PRIORITY" Enum: "NORMAL_REMINDER_PRIORITY" "LOW_REMINDER_PRIORITY" "HIGH_REMINDER_PRIORITY" |
{- "ids": [
- "string"
], - "priority": "NORMAL_REMINDER_PRIORITY"
}{ }Returns the reminder identified by the given ID.
| id required | string |
{- "reminder": {
- "activity": "UNDEFINED_REMINDER_ACTIVITY",
- "contactId": "string",
- "creatorUserId": "string",
- "date": "string",
- "done": "string",
- "employeeUserId": "string",
- "id": "string",
- "ownerId": "string",
- "priority": "NORMAL_REMINDER_PRIORITY",
- "referenceIds": [
- "string"
], - "subject": "string"
}
}Returns the appointment identified by the given ID, including participants and status.
| id required | string |
{- "appointment": {
- "calendarUserId": "string",
- "creatorId": "string",
- "date": {
- "day": 0,
- "month": 0,
- "year": 0
}, - "endTime": {
- "hours": 0,
- "minutes": 0,
- "nanos": 0,
- "seconds": 0
}, - "id": "string",
- "maxParticipants": 0,
- "objectId": "string",
- "participants": [
- {
- "contactId": "string",
- "email": "string",
- "firstName": "string",
- "id": "string",
- "language": "PREFERRED_LANGUAGE_UNDEFINED",
- "lastName": "string",
- "phone": "string",
- "registeredAt": "string",
- "requestId": "string"
}
], - "startTime": {
- "hours": 0,
- "minutes": 0,
- "nanos": 0,
- "seconds": 0
}, - "status": "APPOINTMENT_STATUS_UNDEFINED"
}
}Cancels the appointments matching the given IDs. Returns the cancelled appointments.
| ids required | Array of strings |
{- "ids": [
- "string"
]
}{- "appointments": [
- {
- "calendarUserId": "string",
- "creatorId": "string",
- "date": {
- "day": 0,
- "month": 0,
- "year": 0
}, - "endTime": {
- "hours": 0,
- "minutes": 0,
- "nanos": 0,
- "seconds": 0
}, - "id": "string",
- "maxParticipants": 0,
- "objectId": "string",
- "participants": [
- {
- "contactId": "string",
- "email": "string",
- "firstName": "string",
- "id": "string",
- "language": "PREFERRED_LANGUAGE_UNDEFINED",
- "lastName": "string",
- "phone": "string",
- "registeredAt": "string",
- "requestId": "string"
}
], - "startTime": {
- "hours": 0,
- "minutes": 0,
- "nanos": 0,
- "seconds": 0
}, - "status": "APPOINTMENT_STATUS_UNDEFINED"
}
]
}Creates one or more appointment slots for the given objectId. Each slot specifies date, start/end time, optional maxParticipants, and optional calendarUserId. Returns the created appointments.
| objectId required | string |
required | Array of objects (schedulerAppointmentSlotInput) |
{- "objectId": "string",
- "slots": [
- {
- "calendarUserId": "string",
- "date": {
- "day": 0,
- "month": 0,
- "year": 0
}, - "endTime": {
- "hours": 0,
- "minutes": 0,
- "nanos": 0,
- "seconds": 0
}, - "maxParticipants": 0,
- "startTime": {
- "hours": 0,
- "minutes": 0,
- "nanos": 0,
- "seconds": 0
}
}
]
}{- "appointments": [
- {
- "calendarUserId": "string",
- "creatorId": "string",
- "date": {
- "day": 0,
- "month": 0,
- "year": 0
}, - "endTime": {
- "hours": 0,
- "minutes": 0,
- "nanos": 0,
- "seconds": 0
}, - "id": "string",
- "maxParticipants": 0,
- "objectId": "string",
- "participants": [
- {
- "contactId": "string",
- "email": "string",
- "firstName": "string",
- "id": "string",
- "language": "PREFERRED_LANGUAGE_UNDEFINED",
- "lastName": "string",
- "phone": "string",
- "registeredAt": "string",
- "requestId": "string"
}
], - "startTime": {
- "hours": 0,
- "minutes": 0,
- "nanos": 0,
- "seconds": 0
}, - "status": "APPOINTMENT_STATUS_UNDEFINED"
}
]
}Creates a public token for objectId that lets the given contactId propose appointment slots. Returns the token.
| contactId required | string The contactId of the person who is requested to create the appointments. |
| objectId required | string |
{- "contactId": "string",
- "objectId": "string"
}{- "token": "string"
}Returns the mailboxId used as sender for viewing appointment emails for the given accountId. Empty means a PROPbase generated no-reply address is used.
| accountId | string <int64> |
{- "mailboxId": "string"
}Returns all appointments linked to the given objectId.
| objectId required | string |
{- "objectId": "string"
}{- "appointments": [
- {
- "calendarUserId": "string",
- "creatorId": "string",
- "date": {
- "day": 0,
- "month": 0,
- "year": 0
}, - "endTime": {
- "hours": 0,
- "minutes": 0,
- "nanos": 0,
- "seconds": 0
}, - "id": "string",
- "maxParticipants": 0,
- "objectId": "string",
- "participants": [
- {
- "contactId": "string",
- "email": "string",
- "firstName": "string",
- "id": "string",
- "language": "PREFERRED_LANGUAGE_UNDEFINED",
- "lastName": "string",
- "phone": "string",
- "registeredAt": "string",
- "requestId": "string"
}
], - "startTime": {
- "hours": 0,
- "minutes": 0,
- "nanos": 0,
- "seconds": 0
}, - "status": "APPOINTMENT_STATUS_UNDEFINED"
}
]
}Public endpoint. Returns objectId and future, not-yet-full appointment slots for the given registration token.
| token required | string |
{- "availableSlots": [
- {
- "creatorId": "string",
- "date": {
- "day": 0,
- "month": 0,
- "year": 0
}, - "endTime": {
- "hours": 0,
- "minutes": 0,
- "nanos": 0,
- "seconds": 0
}, - "id": "string",
- "startTime": {
- "hours": 0,
- "minutes": 0,
- "nanos": 0,
- "seconds": 0
}, - "status": "APPOINTMENT_STATUS_UNDEFINED"
}
], - "objectId": "string"
}Public endpoint. Returns appointments accessible via the given token (used when requesting appointments).
| token required | string |
{- "appointments": [
- {
- "calendarUserId": "string",
- "creatorId": "string",
- "date": {
- "day": 0,
- "month": 0,
- "year": 0
}, - "endTime": {
- "hours": 0,
- "minutes": 0,
- "nanos": 0,
- "seconds": 0
}, - "id": "string",
- "maxParticipants": 0,
- "objectId": "string",
- "participants": [
- {
- "contactId": "string",
- "email": "string",
- "firstName": "string",
- "id": "string",
- "language": "PREFERRED_LANGUAGE_UNDEFINED",
- "lastName": "string",
- "phone": "string",
- "registeredAt": "string",
- "requestId": "string"
}
], - "startTime": {
- "hours": 0,
- "minutes": 0,
- "nanos": 0,
- "seconds": 0
}, - "status": "APPOINTMENT_STATUS_UNDEFINED"
}
]
}Public endpoint. Returns the slot a participant is registered for, so the interested party form can open on their existing appointment instead of asking them to register again. Both the registration token and the participantId must match the same object, and only the requesting participant is returned - never the other participants of the slot.
| token required | string |
| participantId required | string The participant to look up. Must belong to an appointment of the object the token was issued for. |
{- "objectId": "string",
- "participant": {
- "contactId": "string",
- "email": "string",
- "firstName": "string",
- "id": "string",
- "language": "PREFERRED_LANGUAGE_UNDEFINED",
- "lastName": "string",
- "phone": "string",
- "registeredAt": "string",
- "requestId": "string"
}, - "slot": {
- "creatorId": "string",
- "date": {
- "day": 0,
- "month": 0,
- "year": 0
}, - "endTime": {
- "hours": 0,
- "minutes": 0,
- "nanos": 0,
- "seconds": 0
}, - "id": "string",
- "startTime": {
- "hours": 0,
- "minutes": 0,
- "nanos": 0,
- "seconds": 0
}, - "status": "APPOINTMENT_STATUS_UNDEFINED"
}
}Public endpoint. Creates appointment slots proposed by an external contact using the request token. Returns the created appointments.
required | Array of objects (schedulerAppointmentSlotInput) |
| token required | string |
{- "slots": [
- {
- "calendarUserId": "string",
- "date": {
- "day": 0,
- "month": 0,
- "year": 0
}, - "endTime": {
- "hours": 0,
- "minutes": 0,
- "nanos": 0,
- "seconds": 0
}, - "maxParticipants": 0,
- "startTime": {
- "hours": 0,
- "minutes": 0,
- "nanos": 0,
- "seconds": 0
}
}
], - "token": "string"
}{- "appointments": [
- {
- "calendarUserId": "string",
- "creatorId": "string",
- "date": {
- "day": 0,
- "month": 0,
- "year": 0
}, - "endTime": {
- "hours": 0,
- "minutes": 0,
- "nanos": 0,
- "seconds": 0
}, - "id": "string",
- "maxParticipants": 0,
- "objectId": "string",
- "participants": [
- {
- "contactId": "string",
- "email": "string",
- "firstName": "string",
- "id": "string",
- "language": "PREFERRED_LANGUAGE_UNDEFINED",
- "lastName": "string",
- "phone": "string",
- "registeredAt": "string",
- "requestId": "string"
}
], - "startTime": {
- "hours": 0,
- "minutes": 0,
- "nanos": 0,
- "seconds": 0
}, - "status": "APPOINTMENT_STATUS_UNDEFINED"
}
]
}Public endpoint. Registers a participant (firstName, lastName, email, phone) for the given appointmentId using the registration token.
| appointmentId required | string |
| email required | string |
| firstName required | string |
| language | string (languagePreferredLanguage) Default: "PREFERRED_LANGUAGE_UNDEFINED" Enum: "PREFERRED_LANGUAGE_UNDEFINED" "PREFERRED_LANGUAGE_GERMAN" "PREFERRED_LANGUAGE_ENGLISH" "PREFERRED_LANGUAGE_ITALIAN" "PREFERRED_LANGUAGE_FRENCH" |
| lastName required | string |
| phone required | string |
| token required | string |
{- "appointmentId": "string",
- "email": "string",
- "firstName": "string",
- "language": "PREFERRED_LANGUAGE_UNDEFINED",
- "lastName": "string",
- "phone": "string",
- "token": "string"
}{ }Sets the reminder mailboxId and hoursBeforeAppointment for the given accountId.
| accountId required | string <int64> |
| hoursBeforeAppointment required | integer <int32> Number of hours before the appointment when the reminder should be sent |
| mailboxId required | string |
{- "accountId": "string",
- "hoursBeforeAppointment": 0,
- "mailboxId": "string"
}{ }Sets the mailboxId used as sender for viewing appointment emails for the given accountId. Empty falls back to a PROPbase generated no-reply address.
| accountId required | string <int64> |
| mailboxId required | string Empty clears the configuration and falls back to a PROPbase generated no-reply address |
{- "accountId": "string",
- "mailboxId": "string"
}{ }Removes the participant identified by participantId from the appointment identified by appointmentId.
| appointmentId required | string |
| participantId required | string |
{- "appointmentId": "string",
- "participantId": "string"
}{ }Sets or clears the maxParticipants of the appointment identified by appointmentId. Returns the updated appointment.
| appointmentId required | string |
| maxParticipants | integer <int32> Optional. If unset the limit is removed and the appointment accepts an unlimited number of participants. |
{- "appointmentId": "string",
- "maxParticipants": 0
}{- "appointment": {
- "calendarUserId": "string",
- "creatorId": "string",
- "date": {
- "day": 0,
- "month": 0,
- "year": 0
}, - "endTime": {
- "hours": 0,
- "minutes": 0,
- "nanos": 0,
- "seconds": 0
}, - "id": "string",
- "maxParticipants": 0,
- "objectId": "string",
- "participants": [
- {
- "contactId": "string",
- "email": "string",
- "firstName": "string",
- "id": "string",
- "language": "PREFERRED_LANGUAGE_UNDEFINED",
- "lastName": "string",
- "phone": "string",
- "registeredAt": "string",
- "requestId": "string"
}
], - "startTime": {
- "hours": 0,
- "minutes": 0,
- "nanos": 0,
- "seconds": 0
}, - "status": "APPOINTMENT_STATUS_UNDEFINED"
}
}