Get Failed Webhooks
GET {{baseUrl}}/rest/api/3/webhook/failed?maxResults=<integer>&after=<long>
Returns webhooks that have recently failed to be delivered to the requesting app after the maximum number of retries.
After 72 hours the failure may no longer be returned by this operation.
The oldest failure is returned first.
This method uses a cursor-based pagination. To request the next page use the failure time of the last webhook on the list as the failedAfter
value or use the URL provided in next
.
Permissions required: Only Connect apps can use this operation.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
maxResults | string | The maximum number of webhooks to return per page. If obeying the maxResults directive would result in records with the same failure time being split across pages, the directive is ignored and all records with the same failure time included on the page. | |
after | string | The time after which any webhook failure must have occurred for the record to be returned, expressed as milliseconds since the UNIX epoch. |
RESPONSES
status: OK
{"values":[{"id":"1","body":"{\"data\":\"webhook data\"}","url":"https://example.com","failureTime":1573118132000},{"id":"2","url":"https://example.com","failureTime":1573540473480}],"maxResults":100,"next":"https://your-domain.atlassian.net/rest/api/3/webhook/failed?failedAfter=1573540473480\u0026maxResults=100"}