AlertsSend a test message

Send a test message

Sends {"type": "alert.test", ...} with alert.source set to test (webhook) or a test message (Slack) now. The response says whether the target accepted it. The attempt is recorded and counts toward the channel's failure count.

curl -X POST "https://mythic-analytics.gulp.workers.dev/client/v1/alerts/channels/123e4567-e89b-12d3-a456-426614174000/test" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "success": true,
  "data": {
    "delivered": true,
    "http_status": 42,
    "error": "HTTP 404"
  }
}
POST
/client/v1/alerts/channels/{id}/test
POST
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token
Bearer Tokenstring
Required

Agency key (ak_) only; a location secret key (sk_) gets 403 agency_required. Agency-wide scoped keys (mcp_) are accepted and need alerts:read or alerts:write. Keys are server-side credentials; this surface serves no CORS headers.

Agency key (ak_) only; a location secret key (sk_) gets 403 agency_required. Agency-wide scoped keys (mcp_) are accepted and need alerts:read or alerts:write. Keys are server-side credentials; this surface serves no CORS headers.
Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. Agency key (ak_) only; a location secret key (sk_) gets 403 agency_required. Agency-wide scoped keys (mcp_) are accepted and need alerts:read or alerts:write. Keys are server-side credentials; this surface serves no CORS headers.

Path Parameters

Responses

successboolean
dataobject