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
| 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 |
| 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 |
| with_msg
| boolean | | When true
, the message information 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
{"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"}