Workspace
Mark notifications read
Marks the given notifications (or all, when ids is omitted) as read.
Authorization
AuthorizationheaderrequiredBearer token: API key (sk_…), OAuth access token (mcp_…) or mobile session (xk_…).
Scope:
crm.writeBody application/json
idsarray<integer>optionalNotification ids.
Request
curl -X POST https://ornek.solk.app/api/v1/notifications/read \
-H "Authorization: Bearer $SOLK_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'const res = await fetch("https://ornek.solk.app/api/v1/notifications/read", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.SOLK_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({}),
});
const data = await res.json();import os, requests
r = requests.post(
"https://ornek.solk.app/api/v1/notifications/read",
headers={"Authorization": f"Bearer {os.environ['SOLK_API_KEY']}"},
json={},
)
print(r.json())Response
{
"marked": 0,
"ok": true
}Example responses were captured from a v22 installation running sample data; lists are shortened to two items.