Add a message
POST {{baseUrl}}/v1/messages
Adds a message into the system.
Request Body
{"to"=>"john.doe@example.com", "from"=>"jane.doe@example.com", "subject"=>"Hello there!", "body"=>"This is the message"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"id":"123","to":"john.doe@example.com","from":"jane.doe@example.com","subject":"Hello there!","body":"This is the message","timestamp":"2023-03-01T10:30:00Z"}