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
| Key | Datatype | Required | Description |
| limit
| string | | Limit the number of returned items |
| iterator
| string | | The iterator returned from a prior invocation |
| endpoint_id
| string | | Filter the attempts based on the attempted endpoint |
| channel
| string | | Filter response based on the channel |
| tag
| string | | Filter response based on the tag |
| status
| string | | Filter response based on the delivery status |
| before
| string | | Only include items created before a certain date |
| after
| string | | Only include items created after a certain date |
| status_code_class
| string | | Filter response based on the HTTP status code |
| event_types
| string | | Filter response based on the event type |
HEADERS
| Key | Datatype | Required | Description |
| Accept
| string | | |
RESPONSES
status: OK
{"data":[{"endpointId":"ep_1srOrx2ZWZBpBUvZwXKQmoEYga2","id":"atmpt_1srOrx2ZWZBpBUvZwXKQmoEYga2","msgId":"msg_1srOrx2ZWZBpBUvZwXKQmoEYga2","response":"{}","responseStatusCode":200,"status":0,"timestamp":"1999-07-25T08:58:57.893Z","triggerType":0,"url":"https://example.com/webhook/","msg":{"eventType":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"payload":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"timestamp":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"eventId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"channels":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"tags":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}},{"endpointId":"ep_1srOrx2ZWZBpBUvZwXKQmoEYga2","id":"atmpt_1srOrx2ZWZBpBUvZwXKQmoEYga2","msgId":"msg_1srOrx2ZWZBpBUvZwXKQmoEYga2","response":"{}","responseStatusCode":200,"status":0,"timestamp":"1999-10-02T16:37:05.763Z","triggerType":0,"url":"https://example.com/webhook/","msg":{"eventType":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"payload":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"timestamp":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"eventId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"channels":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"tags":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}}],"done":true,"iterator":"iterator","prevIterator":"-iterator"}