mark_notifications_as_read
Endpoint#
| Property | Value |
|---|---|
| Type | mutation |
| Method | POST |
| Path | /api/external/v1/mark_notifications_as_read |
| Handler | OperatelyWeb.Api.Mutations.MarkNotificationsAsRead |
Authentication#
- Requires a valid API token.
- Requires a write-enabled token.
- Read-only tokens return
403.
Inputs#
| Field | Type | Required | Nullable | Default |
|---|---|---|---|---|
ids | array of string | No | Yes | - |
Outputs#
This endpoint has no output fields.
cURL Example#
Copied
curl --request POST \
--url "https://app.operately.com/api/external/v1/mark_notifications_as_read" \
--header "Authorization: Bearer ${OPERATELY_API_TOKEN}" \
--header "Content-Type: application/json" \
--data '{"ids":["value"]}'