HOW TO SEND SMS WITH MAILJET

CarderPlanet

Professional
Messages
2,549
Reaction score
746
Points
113
Requirements
- MAILJET TOKEN

token="yourmailjettoken"

Then use curl:

Code:
curl -X POST \
  https://api.mailjet.com/v4/sms-send \
  -H "Authorization: Bearer $token" \
  -H 'content-type: application/json' \
  -d '{
  "From": "InfoSMS",
  "To": "+33600000000",
  "Text": "Hello World!"
}'

Replace the 33600.. With receiver number.
 
Top