List Attempts By Msg

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

List attempts by message 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

| Key | Datatype | Required | Description | | limit | string | | Limit the number of returned items | | iterator | string | | The iterator returned from a prior invocation | | status | string | | Filter response based on the delivery status | | status_code_class | string | | Filter response based on the HTTP status code | | channel | string | | Filter response based on the channel | | tag | string | | Filter response based on the tag | | endpoint_id | string | | Filter the attempts based on the attempted endpoint | | before | string | | Only include items created before a certain date | | after | string | | Only include items created after a certain date | | with_content | boolean | | When true attempt content is included in the response | | event_types | string | | Filter response based on the event type |

HEADERS

| Key | Datatype | Required | Description | | Accept | string | | |

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