POST {{baseUrl}}/v1/messages
Adds a message into the system.
Body
PARAM
Key | Datatype | Required | Description |
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"
} |