POST
/
send
curl --request POST \
  --url https://gateway.finhub.cloud/email/1.0.0/send \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "from": "no-reply@sepa-cyber.com",
  "to": "test@gmail.com",
  "subject": "Sepa email",
  "content": "Wso2 test email",
  "contentType": "text/plain"
}'
{
  "result": {
    "success": true
  }
}

Authorizations

Authorization
string
headerrequired

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

Body

application/json
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
result
object