Skip to Content
MailroomMailroom home

Drop a test message into one of your inboxes

No real mail is received. Scoped to your workspace (and, for an agent key, its own inboxes).

POST
/sandbox/inbound

No real mail is received. Scoped to your workspace (and, for an agent key, its own inboxes).

Authorization

bearerAuth
headerAuthorizationBearer <mr_live_ / mr_test_>

API key. Never log the secret.

Request Body

application/json
  1. body
to?string|array<string>
from?string
subject?string
text?string
html?string
attachments?array<>

Response Body

{ received, messages: [{ message_id, thread_id, inbox_id }] }

Example Request
curl -X POST 'https://api.mailroomapi.com/v1/sandbox/inbound' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response201
Empty