Skip to main content

Get All Webhook Endpoint Attempts

This endpoint retrieves attempts related to this endpoint

info

This operation requires authentication and admin role.

HTTP Request

GET /api/v2/webhook/endpoint/{id}/attempt/

Parameters

NameInTypeRequiredDescription
idpathstringtrueA unique integer value identifying this endpoint
limitqueryintegerfalseNumber of results to return per page
offsetqueryintegerfalseThe initial index from which to return the results
orderingquerystringfalseWhich field to use when ordering the results. For sorting desc use - in front of the field name. Default to -created_at. Available values are created_at, sent_at, next_retry

Example Request

const headers = {
'Accept':'application/json',
'Authorization': 'Bearer {access_token}'
};

fetch('/api/v2/webhook/endpoint/{id}/attempt/',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});

Responses

StatusMeaningDescriptionSchema
200OKResponse status codeAttempt

Example responses

{
"count": "integer",
"next": "string(uri)",
"previous": "string(uri)",
"results": [
{
"id": "integer",
"created_at": "string",
"event": {
"type": "string",
"added_at": "string"
},
"sent_at": "string",
"http_request_body": "string",
"http_request_signature_header": "string",
"http_response_code": "integer",
"http_response_body": "string",
"next_retry": "string"
}
]
}