messages
post/api/v1/mails/{mailServerID}/messages

Request

  • Base URL
    https://mail-service.liara.ir
  • URL
    https://mail-service.liara.ir/api/v1/mails/{mailServerID}/messages
  • Auth
    • API key in header Authorization
    • or HTTP bearer

Path parameters

mailServerIDstring required

Request body

htmlstring
textstring
subjectstring required
tostring required

Converted to lowercase.

fromstring required

Converted to lowercase.

replyTostring

Response

OK

statusstring

Changes

    • breaking

      removed the media type */* from the request body

    • info

      added the media type application/json to the request body

    • info

      added the media type application/json for the response with the status

    • info

      endpoint added