List Attempts By Endpoint

GET {{baseUrl}}/api/v1/app/:app_id/attempt/endpoint/:endpoint_id?limit=<uint64>&iterator=<string>&status=<integer>&status_code_class=<integer>&channel=<string>&tag=<string>&before=<dateTime>&after=<dateTime>&with_content=true&with_msg=false&event_types=<string>

List attempts by endpoint id

Note that by default this endpoint is limited to retrieving 90 days' worth of data relative to now or, if an iterator is provided, 90 days before/after the time indicated by the iterator ID. If you require data beyond those time ranges, you will need to explicitly set the before or after parameter as appropriate.

Request Params

KeyDatatypeRequiredDescription
limitstringLimit the number of returned items
iteratorstringThe iterator returned from a prior invocation
statusstringFilter response based on the delivery status
status_code_classstringFilter response based on the HTTP status code
channelstringFilter response based on the channel
tagstringFilter response based on the tag
beforestringOnly include items created before a certain date
afterstringOnly include items created after a certain date
with_contentbooleanWhen true attempt content is included in the response
with_msgbooleanWhen true, the message information is included in the response
event_typesstringFilter response based on the event type

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;data&quot;:[{&quot;endpointId&quot;:&quot;ep_1srOrx2ZWZBpBUvZwXKQmoEYga2&quot;,&quot;id&quot;:&quot;atmpt_1srOrx2ZWZBpBUvZwXKQmoEYga2&quot;,&quot;msgId&quot;:&quot;msg_1srOrx2ZWZBpBUvZwXKQmoEYga2&quot;,&quot;response&quot;:&quot;{}&quot;,&quot;responseStatusCode&quot;:200,&quot;status&quot;:0,&quot;timestamp&quot;:&quot;1999-07-25T08:58:57.893Z&quot;,&quot;triggerType&quot;:0,&quot;url&quot;:&quot;https://example.com/webhook/&quot;,&quot;msg&quot;:{&quot;eventType&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;id&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;payload&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;timestamp&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;eventId&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;channels&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;tags&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}},{&quot;endpointId&quot;:&quot;ep_1srOrx2ZWZBpBUvZwXKQmoEYga2&quot;,&quot;id&quot;:&quot;atmpt_1srOrx2ZWZBpBUvZwXKQmoEYga2&quot;,&quot;msgId&quot;:&quot;msg_1srOrx2ZWZBpBUvZwXKQmoEYga2&quot;,&quot;response&quot;:&quot;{}&quot;,&quot;responseStatusCode&quot;:200,&quot;status&quot;:0,&quot;timestamp&quot;:&quot;1999-10-02T16:37:05.763Z&quot;,&quot;triggerType&quot;:0,&quot;url&quot;:&quot;https://example.com/webhook/&quot;,&quot;msg&quot;:{&quot;eventType&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;id&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;payload&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;timestamp&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;eventId&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;channels&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;tags&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}}],&quot;done&quot;:true,&quot;iterator&quot;:&quot;iterator&quot;,&quot;prevIterator&quot;:&quot;-iterator&quot;}