Skip to main content
POST
/
send
cURL
curl --request POST \
  --url https://gateway.varchev.com/email/send \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "from": "[email protected]",
  "to": "[email protected]",
  "subject": "Sepa email",
  "content": "Wso2 test email",
  "contentType": "text/plain"
}
'
{
  "result": {
    "success": true
  }
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json

Send Email

from
string

sender email id

to
string

receiver emial id

subject
string

subject

content
string

the body part of the email

contentType
string

content type text/plain

attachments
string

an attachment if any

Response

default - application/json

Default response

result
object