cURL

curl -X POST 'https://api.mailwind.io/v1/send/ses' \
-H 'Content-Type: application/json' \
-d '{
    "accessKey": "<<YOUR_ACCESS_KEY>>",
    "secretKey": "<<YOUR_SECRET_KEY>>",
    "region": "<<YOUR_AWS_REGION>>", // eg. us-east-1
    "layoutIdentifier": "<<YOUR_API_KEY_HERE>>",
    "variables": {},
    "code": null,
    "source": "example.mailwind.io",
    "destination": {
        "toAddresses": ["example.mailwind.io"]
    },
    "message": {
        "subject": {
            "data": "[Your Subject Here]"
        }
    }
}'

Last updated