Alerts
Alert deliveries
GET
The delivery history, newest first: pending ones with their attempts, last error and next try, sent and failed ones. status narrows it; limit and cursor page it.
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 <= lengthResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v2/projects/string/alerts/deliveries"{ "data": [ { "id": "string", "target": "string", "channel": "mail", "event": "issue.new", "subject": "string", "status": "pending", "attempts": 0, "nextAttemptAt": "2019-08-24T14:15:22Z", "lastError": "string", "sentAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "payload": { "name": "issue.new", "project": "string", "issue": { "id": "string", "title": "string", "culprit": "string", "level": "error", "count": 0, "firstSeen": "2019-08-24T14:15:22Z", "lastSeen": "2019-08-24T14:15:22Z", "lastRelease": "string", "url": "http://example.com" } } } ], "nextCursor": "string"}