Models
Get Started
Integrations
Threads
Message
Get Message
GET
/
v1
/
mail
/
messages
/
{message_id}
curl --request GET \
--url http://localhost:8000/api/v1/mail/messages/{message_id}
{
"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>"
}
}
Path Parameters
Query Parameters
Include raw response. When you want more data from the source
Response
200
application/json
curl --request GET \
--url http://localhost:8000/api/v1/mail/messages/{message_id}
{
"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>"
}
}