curl --request POST \
--url https://api.siftstack.com/api/v1/notifications:batchUpdate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"requests": [
{
"notification": {
"notificationId": "<string>",
"createdDate": "2023-11-07T05:31:56Z",
"modifiedDate": "2023-11-07T05:31:56Z",
"createdByUserId": "<string>",
"modifiedByUserId": "<string>",
"organizationId": "<string>",
"recipientUserId": "<string>",
"isRead": true,
"fullLink": "<string>",
"notificationType": "NOTIFICATION_KIND_UNSPECIFIED",
"contents": "<string>",
"entityId": "<string>"
},
"updateMask": "<string>"
}
]
}
'{
"notifications": [
{
"notificationId": "<string>",
"createdDate": "2023-11-07T05:31:56Z",
"modifiedDate": "2023-11-07T05:31:56Z",
"createdByUserId": "<string>",
"modifiedByUserId": "<string>",
"organizationId": "<string>",
"recipientUserId": "<string>",
"isRead": true,
"fullLink": "<string>",
"notificationType": "NOTIFICATION_KIND_UNSPECIFIED",
"contents": "<string>",
"entityId": "<string>"
}
]
}Batch updates a list of notifications using the list of fields specified in their respective update_masks.
curl --request POST \
--url https://api.siftstack.com/api/v1/notifications:batchUpdate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"requests": [
{
"notification": {
"notificationId": "<string>",
"createdDate": "2023-11-07T05:31:56Z",
"modifiedDate": "2023-11-07T05:31:56Z",
"createdByUserId": "<string>",
"modifiedByUserId": "<string>",
"organizationId": "<string>",
"recipientUserId": "<string>",
"isRead": true,
"fullLink": "<string>",
"notificationType": "NOTIFICATION_KIND_UNSPECIFIED",
"contents": "<string>",
"entityId": "<string>"
},
"updateMask": "<string>"
}
]
}
'{
"notifications": [
{
"notificationId": "<string>",
"createdDate": "2023-11-07T05:31:56Z",
"modifiedDate": "2023-11-07T05:31:56Z",
"createdByUserId": "<string>",
"modifiedByUserId": "<string>",
"organizationId": "<string>",
"recipientUserId": "<string>",
"isRead": true,
"fullLink": "<string>",
"notificationType": "NOTIFICATION_KIND_UNSPECIFIED",
"contents": "<string>",
"entityId": "<string>"
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.siftstack.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The request for a call to NotificationService_BatchUpdateNotifications to update notifications.
A maximum of 1000 notifications can be modified in a batch.
The request for a call to NotificationService_BatchUpdateNotifications to update notifications.
A maximum of 1000 notifications can be modified in a batch.
Show child attributes
A successful response.
The response of a call to NotificationService_BatchUpdateNotifications containing the updated notifications.
The updated notifications.
Show child attributes
Was this page helpful?