cURL
curl --request GET \ --url http://localhost:8000/api/v1/mail/messages
{ "data": [ { "id": "<string>", "body": "<string>", "html_body": "<string>", "user_id": "<string>", "date": "<string>", "snippet": "<string>", "subject": "<string>", "thread_id": "<string>", "starred": true, "unread": true, "cc": [ { "email": "<string>", "name": "<string>" } ], "bcc": [ { "email": "<string>", "name": "<string>" } ], "from": [ { "email": "<string>", "name": "<string>" } ], "reply_to": [ { "email": "<string>", "name": "<string>" } ], "labels": [ "<string>" ], "in_reply_to": "<string>" } ], "meta": { "limit": 123, "cursors": { "before": "<string>", "current": "<string>", "next": "<string>" } } }
Cursor to start from. You can find cursors for next & previous pages in the meta.cursors property of the response.
Include raw response. When you want more data from the source
The response is of type object.
object