Messages
Newest first. subject is a case-insensitive substring. after is a message id.
Organization API key (mw_live_…).
In: header
Path Parameters
Query Parameters
Case-insensitive substring of Subject.
Message id. Only later messages are returned.
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/inboxes/string/messages"{ "messages": [ { "id": "string", "inbox_id": "string", "from": "string", "to": "string", "subject": "string", "text": "string", "html": "string", "links": [ "http://example.com" ], "otp": "string", "received_at": "2019-08-24T14:15:22Z" } ]}from is the inbox address and cannot be set. Local recipients on the Mailwurf
domain are delivered into that inbox so wait works. Internet recipients go out
over SMTP from the mail worker.
Organization API key (mw_live_…).
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/inboxes/string/messages" \ -H "Content-Type: application/json" \ -d '{ "to": "string", "subject": "string" }'{ "id": "string", "status": "string"}Keep one request open. Do not poll. Matching is oldest-first. If a match is already stored, it returns immediately. At most four waits may run at once per API key.
Organization API key (mw_live_…).
In: header
Path Parameters
Query Parameters
Case-insensitive substring of Subject.
Message id. Only later messages are returned.
Milliseconds to wait. Default 15000. Max 120000. 0 is a single lookup.
0 <= value <= 12000015000Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/inboxes/string/messages/wait"{ "id": "string", "inbox_id": "string", "from": "string", "to": "string", "subject": "string", "text": "string", "html": "string", "links": [ "http://example.com" ], "otp": "string", "received_at": "2019-08-24T14:15:22Z"}Organization API key (mw_live_…).
In: header
Path Parameters
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/v1/messages/string"{ "id": "string", "inbox_id": "string", "from": "string", "to": "string", "subject": "string", "text": "string", "html": "string", "links": [ "http://example.com" ], "otp": "string", "received_at": "2019-08-24T14:15:22Z"}