Webhooks
Read webhook deliveries
GET
The newest 20 deliveries to one endpoint: event, status, attempts and the last HTTP status your endpoint answered. Free.
DeveloperKeyheader
AuthorizationBearer <gm_live_...>A GetMattered developer API key, sent as Authorization: Bearer gm_live_....
id*integerThe webhook endpoint id.
Range
0 < valueThe deliveries, newest first.
application/json- response
Successful API response
data*meta?success*trueValue in
truecurl -X GET 'https://api.getmattered.com/api/v1/developer/webhooks/1/deliveries'Example Response
{
"data": {
"deliveries": [
{
"attempts": 0,
"createdAt": "string",
"deliveredAt": "string",
"eventId": "string",
"eventType": "string",
"lastStatusCode": 0,
"status": "pending"
}
]
},
"meta": {
"duration": 0,
"performance": {
"dbQueries": 0,
"totalDbTime": 0
},
"requestId": "string",
"timestamp": "2019-08-24T14:15:22Z",
"version": "string"
},
"success": true
}Delete a webhook endpoint DELETE
Deletes a webhook endpoint. Deliveries not yet sent to it are dropped. Free.
Send a test event POST
Queues one `webhook.test` event to the endpoint, signed like every event. It is sent within a minute; read the result from `GET /developer/webhooks/{id}/deliveries`. Free.