List Attempts

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

Deprecated: Please use List Attempts by Endpoint and List Attempts by Msg instead.

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.

msg_id: Use a message id or a message eventId

Request Params

KeyDatatypeRequiredDescription
limitstringLimit the number of returned items
iteratorstringThe iterator returned from a prior invocation
endpoint_idstringFilter the attempts based on the attempted endpoint
channelstringFilter response based on the channel
tagstringFilter response based on the tag
statusstringFilter response based on the delivery status
beforestringOnly include items created before a certain date
afterstringOnly include items created after a certain date
status_code_classstringFilter response based on the HTTP status code
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;}