Alerts
Rotate a webhook secret
AuthorizationBearer <token>
API key minted via POST /v1/api-keys (format mk_live_...)
In: header
Path Parameters
idstring
Channel id (dest_...).
Length
1 <= lengthResponse Body
application/json
application/json
application/json
curl -X POST "https://api.mentio.dev/v1/channels/dest_abc123/rotate-secret"{
"id": "string",
"label": "string",
"stats": {
"alerts": 0,
"activeAlerts": 0,
"lastDeliveryAt": "string",
"last7d": {
"total": 0,
"failed": 0
}
},
"createdAt": "string",
"kind": "slack",
"config": {
"channelId": "string",
"channelName": "string"
}
}{
"error": {
"code": "unauthorized",
"message": "string",
"requestId": "string",
"retryAfterSeconds": 0
}
}{
"error": {
"code": "unauthorized",
"message": "string",
"requestId": "string",
"retryAfterSeconds": 0
}
}Mute authors on an alert POST
Add authors to the alert's muted list without touching the rest of its filter. Links are read the way the dashboard reads them: a post link mutes its author, twitter.com becomes x.com, a Hacker News profile keeps its id. Authors already muted are skipped, so a retry is safe. An entry that names no person (a subreddit, a story) rejects the request with that entry named.
Send a digest now POST
Next Page