v2
latestOpenAPI 3.1.02026-07-312303692.4 MBList Attempts By Msg
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.
Path parameters
The Application's ID or UID.
The Application's ID or UID.
The Message's ID or UID.
The Message's ID or UID.
Query parameters
Limit the number of returned items
Limit the number of returned items
The iterator returned from a prior invocation
The iterator returned from a prior invocation
The sending status of the message:
- Success = 0
- Pending = 1
- Fail = 2
- Sending = 3
- Canceled = 4
Filter response based on the status of the attempt: Success (0), Pending (1), Failed (2), Sending (3), or Canceled (4)
The different classes of HTTP status codes:
- CodeNone = 0
- Code1xx = 100
- Code2xx = 200
- Code3xx = 300
- Code4xx = 400
- Code5xx = 500
Filter response based on the HTTP status code
Filter response based on the channel
Filter response based on the channel
Filter response based on the tag
Filter response based on the tag
Filter the attempts based on the attempted endpoint
Filter the attempts based on the attempted endpoint
Only include items created before a certain date
Only include items created before a certain date
Only include items created after a certain date
Only include items created after a certain date
When true attempt content is included in the response
When true attempt content is included in the response
When true, return the Canceled (4) status in attempts.
If false, canceled attempts are returned as Success (0) for backwards compatibility.
When true, return the Canceled (4) status in attempts.
If false, canceled attempts are returned as Success (0) for backwards compatibility.
Filter response based on the event type
Filter response based on the event type
[ "user.signup" ]
Response
Example response
{
"data": [
{
"url": "https://example.com/webhook/",
"response": "{}",
"responseStatusCode": 200,
"msgId": "msg_1srOrx2ZWZBpBUvZwXKQmoEYga2",
"endpointId": "ep_1srOrx2ZWZBpBUvZwXKQmoEYga2",
"id": "atmpt_1srOrx2ZWZBpBUvZwXKQmoEYga2",
"msg": {
"eventId": "unique-identifier",
"eventType": "user.signup",
"payload": {
"type": "user.created",
"email": "test@example.com",
"username": "test_user"
},
"channels": [
"project_123",
"group_2"
],
"id": "msg_1srOrx2ZWZBpBUvZwXKQmoEYga2",
"tags": [
"project_1337"
]
}
}
],
"iterator": "iterator",
"prevIterator": "-iterator"
}