curl -X POST https://api.mailersend.com/v1/sms \
-H 'Content-Type: application/json' \
-H 'X-Requested-With: XMLHttpRequest' \
-H 'Authorization: Bearer {place your token here without brackets}' \
-d '{
"from": "+18332552485",
"to": ["+12345678900"],
"text": "Your SMS verification code is [CODE]. Please enter it to verify your account."
}'
Developer-friendly
resources