A sandbox to test everything
Test keys, simulated statuses and special numbers to reproduce a failure or a reply. Nothing is sent, nothing is charged.
Send and receive SMS from real Moroccan numbers. Test for free, pay in dirhams, no 1,000 DH minimum pack.
| Recipient | Message | Status | Number | Time |
|---|---|---|---|---|
| +212 6•• ••41 12 | Order #8841: 349 DH, delivery tomorrow… | Reply | 06 61 •• 45 01 | 09:42 |
| +212 7•• ••08 33 | Your verification code is 482913. | Delivered | 06 61 •• 45 02 | 09:40 |
| +212 6•• ••90 27 | Your parcel AT-20931 arrives today. | Delivered | 06 61 •• 45 01 | 09:40 |
| +212 6•• ••15 64 | Reminder: appointment tomorrow 10:30 in store. | Sent | 06 61 •• 45 03 | 09:39 |
| +212 6•• ••72 09 | Refund of 129 DH processed. | Queued | 06 61 •• 45 02 | 09:39 |
| +212 6•• ••00 01 | Failure test (sandbox number) | Failed | sandbox | 09:31 |
Classic SMS platforms send one way only and sell packs of 10,000. GetSMS is built for apps that talk with their customers.
Test keys, simulated statuses and special numbers to reproduce a failure or a reply. Nothing is sent, nothing is charged.
Your recipients reply by SMS. Each reply reaches your server by webhook, in the same conversation thread.
GetSMS picks the sending number from its fleet. A given recipient always gets your messages from the same number.
curl -X POST https://api.getsms.tech/v1/messages/send \ -H "x-api-key: sk_test_YOUR_KEY" \ -H "Content-Type: application/json" \ -d '{ "to": "+212612345678", "content": "Your verification code is 482913" }'
const res = await fetch("https://api.getsms.tech/v1/messages/send", { method: "POST", headers: { "x-api-key": process.env.GETSMS_API_KEY, "Content-Type": "application/json", }, body: JSON.stringify({ to: "+212612345678", content: "Your verification code is 482913", }), }); const { data } = await res.json(); console.log(data.id, data.status); // "pending"
import os, requests res = requests.post( "https://api.getsms.tech/v1/messages/send", headers={"x-api-key": os.environ["GETSMS_API_KEY"]}, json={ "to": "+212612345678", "content": "Your verification code is 482913", }, ) print(res.json()["data"]["status"]) # "pending"
<?php $ch = curl_init("https://api.getsms.tech/v1/messages/send"); curl_setopt_array($ch, [ CURLOPT_POST => true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ "x-api-key: " . getenv("GETSMS_API_KEY"), "Content-Type: application/json", ], CURLOPT_POSTFIELDS => json_encode([ "to" => "+212612345678", "content" => "Your verification code is 482913", ]), ]); $response = json_decode(curl_exec($ch), true);
One call, one SMS. Tracking ID, real-time status, 2 automatic attempts.
The same message to 1,000 recipients per request, spread across our numbers.
Schedule a reminder, a due date or a follow-up up to 20 days ahead.
Every event carries a JWT your server checks with your key.
Show your brand name instead of a number, with the same API.
API and database hosted in the Casablanca cloud region.
Delivery slots, rescheduling, proof of visit.
Confirm cash-on-delivery orders before you ship.
Reminders the day before, confirmed or moved with a simple reply.
One-time codes for sign-up or sign-in.
Your credits never expire. Pay by Moroccan bank card or bank transfer.
| SENDING MODE | THE RECIPIENT SEES | CAN REPLY | PRICE |
|---|---|---|---|
| Moroccan number (default) | 06 61 XX 45 01 | Yes | Included in your pack |
| Sender name | LOCAPRO | No | 0.45 DH excl. VAT per SMS |
Free sandbox, 20 free SMS, no credit card.