Update notification

PUThttps://services.leadconnectorhq.com/calendars/{calendarId}/notifications/{notificationId}
Update Event notification by id
Request

Use the Access Token generated with user type as Sub-Account (OR) Private Integration Token of Sub-Account.

Provide your bearer token in the Authorization header when making requests to protected resources.

Example: Authorization: Bearer 123
Path Parameters
calendarId
string
required
notificationId
string
required
Headers
Authorization
string
required

Access Token

Example:
Bearer 9c48df2694a849b6089f9d0d3513efe
Version
string
required

API Version

Allowed value:
2021-04-15
Body
receiverType
string

Notification recipient type

Allowed values:
contactguestassignedUseremails
additionalEmailIds
array[string]

Additional email addresses to receive notifications.

Example:
["example1@email.com","example2@email.com"]
selectedUsers
array[string]

selected user for in-App notification

channel
string

Notification channel

Allowed values:
emailinApp
notificationType
string

Notification type

Allowed values:
bookedconfirmationcancellationreminderfollowupreschedule
isActive
boolean

Is the notification active

Default:
true
deleted
boolean

Marks the notification as deleted (soft delete)

Default:
false
templateId
string

Template ID for email notification

body
string

Body for email notification. Not necessary for in-App notification

subject
string

Subject for email notification. Not necessary for in-App notification

afterTime
array[object]

Specifies the time after which the follow-up notification should be sent. This is not required for other notification types.

Example:
[{"timeOffset":1,"unit":"hours"}]
timeOffset
number
unit
string
beforeTime
array[object]

Specifies the time before which the reminder notification should be sent. This is not required for other notification types.

Example:
[{"timeOffset":1,"unit":"hours"}]
timeOffset
number
unit
string
fromAddress
string

From address for email notification

fromName
string

From name for email notification

Responses

Successful response

message
string
required

Result of delete/update operation

Unauthorized

statusCode
number
Example:
401
message
string
Example:
Invalid token: access token is invalid
error
string
Example:
Unauthorized

Bad Request

statusCode
number
Example:
400
message
string
Example:
Bad Request