Update notification
PUT/calendars/:calendarId/notifications/:notificationId
Update Event notification by id
Request
API Version
v3Calendar ID
Notification ID
- application/json
- Body
- Example (auto)
Bodyrequired
Notification recipient type
contactguestassignedUseremailsphoneNumbersbusinessAdditional email addresses to receive notifications.
Additional phone numbers to receive notifications.
Selected users for in-App and business email notifications. Supports user IDs and special keyword "sub_account_admin"
Notification channel
emailinAppsmswhatsappNotification type
bookedconfirmationcancellationreminderfollowuprescheduleIs the notification active
trueMarks the notification as deleted (soft delete)
falseTemplate ID for email notification
Body for email notification. Not necessary for in-App notification
Subject for email notification. Not necessary for in-App notification
Specifies the time after which the follow-up notification should be sent. This is not required for other notification types.
Specifies the time before which the reminder notification should be sent. This is not required for other notification types.
From address for email notification
from number for sms notification
From name for email/sms notification
{
"receiverType": "user",
"additionalEmailIds": [
],
"additionalPhoneNumbers": [
"+919876744444",
"+919876744445"
],
"selectedUsers": [
"userId1",
"userId2",
"sub_account_admin"
],
"channel": "email",
"notificationType": "confirmation",
"isActive": true,
"deleted": false,
"templateId": "MwPcayliwcdoUFzvbTok",
"body": "Your appointment has been confirmed.",
"subject": "Appointment Confirmation",
"afterTime": [
{
"timeOffset": 1,
"unit": "hours"
}
],
"beforeTime": [
{
"timeOffset": 1,
"unit": "hours"
}
],
"fromNumber": "+15551234567",
"fromName": "Acme Scheduling"
}
Successful response
- application/json
- Schema
- Example (auto)
Schema
Result of delete/update operation
{
"message": "Notification deleted successfully"
}