List Attempts For Endpoint

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

DEPRECATED: please use listattempts with endpointid as a query parameter instead.

List the message attempts for a particular endpoint.

Returning the endpoint.

The before parameter lets you filter all items created before a certain date and is ignored if an iterator is passed.

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
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
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;}