application/json

Body Required

  • from string Required
  • to string Required
  • subject string Required
  • content string Required

Responses

  • 200 application/json

    Email sent

    Hide response attributes Show response attributes object
    • error boolean
    • timestamp string(date-time)
    • uniqueId string | null
  • 400 application/json

    Bad request

    Hide response attributes Show response attributes object
    • error boolean
    • timestamp string(date-time)
    • uniqueId string | null
POST /email/send
curl \
 --request POST 'https://call.xap3y.space/v1/email/send' \
 --header "X-API-Key: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"from":"string","to":"string","subject":"string","content":"string"}'
Request examples
{
  "from": "string",
  "to": "string",
  "subject": "string",
  "content": "string"
}
Response examples (200)
{
  "error": true,
  "timestamp": "2025-05-04T09:42:00Z",
  "uniqueId": "string"
}
Response examples (400)
{
  "error": true,
  "timestamp": "2025-05-04T09:42:00Z",
  "uniqueId": "string"
}