curl --request DELETE \
--url https://mcp.echozero.app/api/v1/notifications \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--header 'x-signature: <x-signature>' \
--header 'x-timestamp: <x-timestamp>' \
--data '
{
"ids": [
"507f1f77bcf86cd799439011"
]
}
'{
"success": true,
"data": true
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "Resource not found"
}
}Notification
Delete notifications
Mirrors GraphQL deleteNotifications (owner-scoped: only the caller’s notifications are deleted). Request body lists ids — some HTTP clients omit DELETE bodies; use a client that sends JSON if needed.
DELETE
/
api
/
v1
/
notifications
curl --request DELETE \
--url https://mcp.echozero.app/api/v1/notifications \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--header 'x-signature: <x-signature>' \
--header 'x-timestamp: <x-timestamp>' \
--data '
{
"ids": [
"507f1f77bcf86cd799439011"
]
}
'{
"success": true,
"data": true
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "Resource not found"
}
}Authorizations
Headers
Required for API-key authenticated requests. HMAC-SHA256(secretKey, timestamp + METHOD + path + body) as lowercase hex. Omit only for JWT/OAuth session tokens or public routes.
Required with x-signature. Epoch milliseconds; rejected if drift exceeds 5 minutes. Omit only for JWT/OAuth session tokens or public routes.
Body
application/json
OpenAPI: McpNotificationIdsBodyDto. GraphQL: FindByIdsArgs.
MongoDB notification document ids
Example:
["507f1f77bcf86cd799439011"]