GetSMS
SMS API · Morocco

The SMS API for Moroccan developers

Send and receive SMS from real Moroccan numbers. Test for free, pay in dirhams, no 1,000 DH minimum pack.

+ 20 free SMS+ Replies included+ Hosted in Casablanca
Why GetSMS

SMS that go out, and come back

Classic SMS platforms send one way only and sell packs of 10,000. GetSMS is built for apps that talk with their customers.

sk_test_

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.

message.phone.received

Replies come back to you

Your recipients reply by SMS. Each reply reaches your server by webhook, in the same conversation thread.

from: auto

Moroccan numbers, nothing to manage

GetSMS picks the sending number from its fleet. A given recipient always gets your messages from the same number.

Get started

Your first SMS in five minutes

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"
  }'
status:pending
/v1/messages/send

Single send

One call, one SMS. Tracking ID, real-time status, 2 automatic attempts.

/v1/messages/bulk-send

Bulk send

The same message to 1,000 recipients per request, spread across our numbers.

send_at

Scheduled sends

Schedule a reminder, a due date or a follow-up up to 20 days ahead.

Authorization: Bearer

Signed webhooks

Every event carries a JWT your server checks with your key.

sender_id

Sender name

Show your brand name instead of a number, with the same API.

Oracle · Casablanca

Data in Morocco

API and database hosted in the Casablanca cloud region.

Use cases

Built for apps that talk to their customers

06 61 •• 45 01
Your parcel AT-20931 arrives today between 2 and 4 pm. Reply 2 to move it to tomorrow.
2

Delivery and logistics

Delivery slots, rescheduling, proof of visit.

06 61 •• 45 02
Order #8841: 349 DH, delivery tomorrow in Rabat. Reply 1 to confirm, 2 to cancel.
1

Cash-on-delivery e-commerce

Confirm cash-on-delivery orders before you ship.

06 61 •• 45 03
Appointment tomorrow 10:30 with Dr Bennani. Reply YES to confirm or NO to reschedule.
YES

Clinics and practices

Reminders the day before, confirmed or moved with a simple reply.

LOCAPRO
Your verification code is 482913. It expires in 10 minutes.

Verification codes

One-time codes for sign-up or sign-in.

Pricing

Prepaid, in dirhams, no minimum

Your credits never expire. Pay by Moroccan bank card or bank transfer.

Trial
0 DH
unlimited sandbox
  • Unlimited sandbox
  • 20 free real SMS
  • To your verified numbers
Create an account
Starter
100 DH excl. VAT
500 SMS · 0.20 DH/SMS
  • Shared number fleet
  • Replies and webhooks
  • E-mail support
Choose Starter
Propopular
450 DH excl. VAT
2,500 SMS · 0.18 DH/SMS
  • Everything in Starter
  • Bulk and scheduled sends
  • WhatsApp support
Choose Pro
Business
1,500 DH excl. VAT
10,000 SMS · 0.15 DH/SMS
  • Everything in Pro
  • Optional dedicated number
  • Custom limits
Choose Business
SENDING MODETHE RECIPIENT SEESCAN REPLYPRICE
Moroccan number (default)06 61 XX 45 01YesIncluded in your pack
Sender nameLOCAPRONo0.45 DH excl. VAT per SMS
Questions

Frequently asked questions

Do my SMS show my company name?

By default your SMS come from a Moroccan number, so your recipients can reply. To show a name (11 characters at most), turn on the sender name option: the name is first approved with the operators.

What happens in the sandbox?

The API accepts your requests and simulates the statuses (queued, sent, delivered). No SMS is sent and no credit is used. Special numbers simulate a failure or an incoming reply so you can test your webhooks.

Why a review before going live?

To protect our numbers and your recipients from spam and scams. We check your business and your message templates, usually within 24 business hours.

Where is my data hosted?

The API and the database are hosted in the Oracle Cloud region of Casablanca, Morocco.

Is the source code available?

Yes. The GetSMS source code is published under the AGPL v3 license: you can check how your messages are handled.

Ready?

Send your first SMS today

Free sandbox, 20 free SMS, no credit card.