Kostenlose SMS-API: die erste SMS in 5 Minuten
Von null zur ersten SMS in unter fünf Minuten.
Zuletzt aktualisiert
1. Schlüssel erstellen
- Melden Sie sich bei Ihrem DroidSender-Konto an
- Öffnen Sie die API-Seite
- Klicken Sie auf Neuer Schlüssel
- Geben Sie ihm einen Namen und kopieren Sie ihn (Format DS-live-xxxx)
2. Telefone anzeigen
curl -X GET https://api.droidsender.com/api/v1/devices \
-H "X-API-Key: DS-live-your-key"3. Erste SMS senden
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": "Ihr Termin am 10.08. um 11:15 Uhr ist bestätigt.",
"deviceId": "dev_oppo_cph2577"
}'import requests
r = requests.post(
"https://api.droidsender.com/api/v1/sms/send",
headers={"X-API-Key": "DS-live-your-key"},
json={
"to": "+14155550100",
"message": "Ihr Termin am 10.08. um 11:15 Uhr ist bestätigt.",
"deviceId": "dev_oppo_cph2577",
},
timeout=10,
)
print(r.json())const r = await fetch("https://api.droidsender.com/api/v1/sms/send", {
method: "POST",
headers: {
"Content-Type": "application/json",
"X-API-Key": "DS-live-your-key",
},
body: JSON.stringify({
to: "+14155550100",
message: "Ihr Termin am 10.08. um 11:15 Uhr ist bestätigt.",
deviceId: "dev_oppo_cph2577",
}),
});
console.log(await r.json());