REST API V1 Injection

MailerQ offers an HTTP injection API. Check out the message format for the required structure of injected messages.


POST /v1/inject HTTP/1.0
Authorization: Bearer ...
Content-Type: application/json

    "envelope": "",
    "recipient": "",
    "mime": "From:\r\nTo:\r\nSubject: ..."

Injected messages simply get published to the inbox queue specified in the config file. The injection endpoint does not support urlencoded post, only JSON directly.

Injected messages will get an extra http property, for its properties see incoming messages.