curl --request GET \
--url https://api.lettermint.co/v1/messages \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "<string>",
"type": "inbound",
"status": "pending",
"from_email": "<string>",
"from_name": "<string>",
"subject": "<string>",
"to": [
{
"email": "<string>",
"name": "<string>"
}
],
"cc": [
{
"email": "<string>",
"name": "<string>"
}
],
"bcc": [
{
"email": "<string>",
"name": "<string>"
}
],
"reply_to": [
"<string>"
],
"tag": "<string>",
"created_at": "<string>"
}
],
"path": "<string>",
"per_page": 123,
"next_cursor": "<string>",
"next_page_url": "<string>",
"prev_cursor": "<string>",
"prev_page_url": "<string>"
}Returns a paginated list of messages with filtering and sorting capabilities.
curl --request GET \
--url https://api.lettermint.co/v1/messages \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "<string>",
"type": "inbound",
"status": "pending",
"from_email": "<string>",
"from_name": "<string>",
"subject": "<string>",
"to": [
{
"email": "<string>",
"name": "<string>"
}
],
"cc": [
{
"email": "<string>",
"name": "<string>"
}
],
"bcc": [
{
"email": "<string>",
"name": "<string>"
}
],
"reply_to": [
"<string>"
],
"tag": "<string>",
"created_at": "<string>"
}
],
"path": "<string>",
"per_page": 123,
"next_cursor": "<string>",
"next_page_url": "<string>",
"prev_cursor": "<string>",
"prev_page_url": "<string>"
}Team API token. Find this in your team settings.
Available sorts are type, status, from_email, subject, created_at, status_changed_at. You can sort by multiple options by separating them with a comma. To sort in descending order, use - sign in front of the sort, for example: -type.
The number of results that will be returned per page.
The cursor to start the pagination from.
inbound, outbound pending, queued, suppressed, processed, delivered, soft_bounced, hard_bounced, spam_complaint, failed, blocked, policy_rejected, unsubscribed Filter by route ID
Filter by domain ID
Filter by tag name
Search by sender email (partial match)
Search by subject (partial match)
Filter messages created after this date
Filter messages created before this date
Paginated set of MessageListData
Show child attributes
inbound, outbound pending, queued, suppressed, processed, delivered, soft_bounced, hard_bounced, spam_complaint, failed, blocked, policy_rejected, unsubscribed Base path for paginator generated URLs.
Number of items shown per page.
The "cursor" that points to the next set of items.
The "cursor" that points to the previous set of items.