Delete a webhook endpoint
Deletes a webhook endpoint. Deliveries not yet sent to it are dropped. Free.
DeveloperKeyAuthorizationBearer <gm_live_...>A GetMattered developer API key, sent as Authorization: Bearer gm_live_....
id*integerThe webhook endpoint id.
0 < valueThe endpoint was deleted.
application/json- response
Successful API response
data*meta?success*truetruecurl -X DELETE 'https://api.getmattered.com/api/v1/developer/webhooks/1'{
"data": {
"deleted": true,
"id": 1
},
"meta": {
"duration": 0,
"performance": {
"dbQueries": 0,
"totalDbTime": 0
},
"requestId": "string",
"timestamp": "2019-08-24T14:15:22Z",
"version": "string"
},
"success": true
}Add a webhook endpoint POST
Adds a webhook endpoint to your account, at most 5. Answers the signing secret once. GetMattered POSTs a JSON event (`DeveloperWebhookEvent`) when one of your applications becomes `landed`, `not_landed`, `needs_you` or `held_for_review`, usually within two minutes. Each delivery carries `GetMattered-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of "<t>.<raw body>" under the endpoint secret>`, plus `GetMattered-Event-Id` and `GetMattered-Event-Type`. Answer 2xx within 10 seconds. Anything else is retried after 1 minute, 5 minutes, 30 minutes, 2, 5, 10 and 24 hours, then the delivery is marked `failed`. The same event can arrive twice: skip an `id` you have seen. Free.
Read webhook deliveries GET
The newest 20 deliveries to one endpoint: event, status, attempts and the last HTTP status your endpoint answered. Free.