b0c8a1820333
List Messages
List all of the application's messages.
The before and after parameters let you filter all items created before or after a certain date. These can be used alongside an iterator to paginate over results within a certain window.
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.
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
Filter response based on the channel.
Filter response based on the channel.
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 message payloads are included in the response.
Defaults to false in v2+ of the Svix SDKs, true in v1 or when manually making a request without specifying this parameter.
When true message payloads are included in the response.
Defaults to false in v2+ of the Svix SDKs, true in v1 or when manually making a request without specifying this parameter.
Filter messages matching the provided tag.
Filter messages matching the provided tag.
Filter response based on the event type
Filter response based on the event type
[ "user.signup" ]
Response
Example response
{
"data": [
{
"channels": [
"project_123",
"group_2"
],
"eventId": "unique-identifier",
"eventType": "user.signup",
"id": "msg_1srOrx2ZWZBpBUvZwXKQmoEYga2",
"payload": {
"type": "user.created",
"email": "test@example.com",
"username": "test_user"
},
"tags": [
"project_1337"
]
}
],
"iterator": "iterator",
"prevIterator": "-iterator"
}