cURL
curl --request PATCH \ --url https://shelfforce.ai/api/v1/alerts/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "status": "read", "snoozeDurationMs": 123 } '
{ "data": { "id": "<string>", "status": "<string>", "updatedAt": "2023-11-07T05:31:56Z" } }
Updates an alert’s status. Use this to mark alerts as read, acknowledged, dismissed, or snoozed.
API key with sf_live_ prefix. Pass as Authorization: Bearer sf_live_...
sf_live_
Authorization: Bearer sf_live_...
Alert ID
New status for the alert
read
acknowledged
dismissed
snoozed
Required when status is 'snoozed'. Duration in milliseconds.
Alert updated.
Show child attributes