Alerts
Test an alert target
POST
Sends a sample alert to the target now, outside the queue, and answers whether the provider accepted it and what it said.
AuthorizationBearer <token>
An API token from POST /v2/tokens (at_live_...), or a project's secret key (sk_...) for server-side ingest.
In: header
Path Parameters
project*string
The project id, as listed by GET /v2/projects.
Length
1 <= lengthname*string
The target's name within the project, used in its paths; defaults to the channel name.
Match
^[a-z0-9][a-z0-9-]*$Length
1 <= length <= 40Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v2/projects/string/alerts/targets/string/test"{ "data": { "name": "string", "channel": "mail", "delivered": true, "message": "string" }}