Restore archived notifications
curl --request POST \ --url https://example.com/api/v1/notifications/restore \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "ids": [ "example" ] }'Puts the caller’s own archived notifications back in the inbox, with their read state kept. Takes up to 100 ids; ids that are not the caller’s own are skipped, and count is how many notifications actually changed.
Authorizations
Section titled “Authorizations”Request Body
Section titled “Request Body”object
Notification ids, 1 to 100. Duplicates are ignored, and ids that are not the caller’s own are skipped.
Example generated
{ "ids": [ "example" ]}Responses
Section titled “Responses”Notifications restored.
object
object
Notifications that actually changed.
Example generated
{ "data": { "count": 1 }}Validation error. Parse failures include field paths and expectations.
Validation error with safe field paths and expected values; submitted values are never returned.
object
object
Stable machine-readable error code.
object
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Unauthorized.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Forbidden.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Rate limit exceeded. Wait for Retry-After before retrying.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Headers
Section titled “Headers”Maximum requests in the current quota window.
Quota policy in requests and window seconds, for example 60;w=60.
Requests left in this quota window (zero when blocked).
Seconds until the current quota window resets, when available from the rate-limit store.
Seconds until another request may be attempted.
Chelsea is operated by Arepa Labs LLC