Free SMS API quickstart: first SMS in 5 minutes
Last updated
From nothing to your first SMS in under five minutes.
1. Get your key
- Sign in to your DroidSender account
- Open the API page
- Click New key
- Give it a name and copy it (format DS-live-xxxx)
2. See your phones
bash
curl -X GET https://api.droidsender.com/api/v1/devices \ -H "X-API-Key: DS-live-your-key"
Send even when the phone is offline
The message waits in the queue and goes out as soon as the phone is back. Skipping the send because `online` is false is how messages get lost.
3. Send your first SMS
curl -X POST https://api.droidsender.com/api/v1/sms/send \
-H "Content-Type: application/json" \
-H "X-API-Key: DS-live-your-key" \
-d '{
"to": "+14155550100",
"message": "Your appointment on 10/08 at 11:15 is confirmed.",
"deviceId": "dev_oppo_cph2577"
}'Sent is not delivered
The response confirms the message left for the network. Delivery confirmation arrives later, through the sms.delivered webhook.