Skip to main content
POST
/
api
/
v1
/
notifications:batchUpdate
BatchUpdateNotifications
curl --request POST \
  --url https://your-sift-api-url.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>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

The request for a call to NotificationService_BatchUpdateNotifications to update notifications. A maximum of 1000 notifications can be modified in a batch.

requests
object[]
required

Response

A successful response.

The response of a call to NotificationService_BatchUpdateNotifications containing the updated notifications.

notifications
object[]

The updated notifications.