Skip to Content
MailroomMailroom home

Get a message

GET
/messages/{id}

Authorization

bearerAuth
headerAuthorizationBearer <mr_live_ / mr_test_>

API key. Never log the secret.

Path Parameters

id*string

Response Body

Message

application/json
  1. response
id?string
thread_id?string
direction?string
Value in"inbound""outbound"
from?string
to?array<string>
subject?string
text?string
html?string
text_reply_only?string
agent_verified?boolean
content_is_untrusted?boolean

Always true for inbound bodies.

Example Request
curl -X GET 'https://api.mailroom.gosuevals.com/v1/messages/string'
Example Response200
{  "id": "string",  "thread_id": "string",  "direction": "inbound",  "from": "string",  "to": [    "string"  ],  "subject": "string",  "text": "string",  "html": "string",  "text_reply_only": "string",  "agent_verified": true,  "content_is_untrusted": true}