Before you start
Check email channel availability and sender settings in your account. Use a recipient email in to and a subject in content.subject.
Required. Send the account API key in the X-API-Key header. Never expose the key in a public browser or git repository.
cURL
curl --request POST 'https://raselsms.com/api/v2/messages/send' \ -H "X-API-Key: $RASEL_API_KEY" \ -H 'Content-Type: application/json' \ --data-binary @- <<'RASEL_JSON'{ "to": "recipient@example.invalid", "channel": "email", "messageType": "free_text", "content": { "subject": "Order update", "text": "Your order is ready." }}RASEL_JSONTest locally with a mock response first. Confirm the recipient and cost before sending a live request.