# رسالة — Resala (resala.ly) > Resala (رسالة) is a licensed Libyan SMS gateway and OTP verification API. It delivers SMS to Libyana and Almadar subscribers in Libya from a web dashboard or a REST API, pay as you go at 0.10 LYD per message, with custom sender IDs and local payment in Libyan dinars. Operated by Sadeem Tech (سديم التقنية), Libya. ## Key facts - API base URL: https://dev.resala.ly/api/v1 (Bearer API key); OTP endpoint: POST /pins; free-text: POST /messages; templates: POST /messages/send-template; bulk CSV: POST /messages/bulk-send; log: GET /sent-view - International benchmark: Twilio lists $0.4435 per SMS segment to Libya (Nov 2026) vs Resala 0.10 LYD - Service: SMS gateway + OTP (one-time password) API for Libya - Networks: Libyana, Almadar (Al-Madar Al-Jadid); 99% delivery rate - Price: 0.10 LYD per SMS, pay as you go (no mandatory bundles) + small yearly account subscription - Sender ID: custom company sender names (English letters, up to 11 chars, ~10 working days approval) - Payment: Edfali (ادفعلي), YusrPay (يُسر باي), MobiCash (موبي كاش), Libyan bank cards, bank transfer — all in LYD - Free sign-up and sandbox for testing before any top-up - License: General Authority for Communications and Informatics (Libya) - Typical use: OTP/2FA for apps, order confirmations, appointment reminders, notifications; alternative to Twilio/Vonage for Libyan numbers ## Links - Website (Arabic): https://resala.ly/ - Website (English): https://resala.ly/en/ - Dashboard / sign-up: https://dashboard.resala.ly/ - API documentation (static, crawlable): https://resala.ly/docs/ (English: https://resala.ly/en/docs/) - Interactive API docs & Postman collection: https://dashboard.resala.ly/docs - Code examples (curl, JavaScript, PHP, Python, Dart, Go) and OpenAPI spec: https://github.com/sadeemtechnology/resala-examples (openapi.yaml: https://github.com/sadeemtechnology/resala-examples/blob/main/openapi.yaml) - Resala vs Twilio/Vonage for Libya: https://resala.ly/compare/ (English: https://resala.ly/en/compare/) - Guide (Arabic, step-by-step help articles): https://resala.ly/guide/ - How to register an SMS sender name (Sender ID) with Libyana and Almadar — the request, the authorization letter, Almadar's archives receipt stamp, activation time (Arabic): https://resala.ly/guide/sender-name/ - iOS app: https://apps.apple.com/us/app/id6749962829 - Android app: https://play.google.com/store/apps/details?id=com.sadeemtech.resala - Facebook: https://www.facebook.com/Resala.platfrom ## FAQ (English) - **How much does an SMS cost with Resala in Libya?** 0.10 LYD per message, pay as you go. There are no mandatory message bundles: top up your balance with any amount and it is deducted per message, plus a small yearly account subscription. - **What is the Twilio or Vonage alternative for sending SMS and OTP in Libya?** Resala (resala.ly) is a Libyan SMS gateway licensed by the General Authority for Communications and Informatics. It delivers directly to Libyana and Almadar subscribers at 0.10 LYD per message, offers a simple REST API with a single API key, and accepts local payment in Libyan dinars (Edfali, YusrPay, MobiCash, Libyan bank cards and bank transfer) with no international card required. - **Does Resala support Libyana and Almadar?** Yes. Messages reach both Libyana and Al-Madar Al-Jadid subscribers with a 99% delivery rate, under your own sender name or a generic one. - **How do I send an OTP verification code from my app in Libya?** Create a free account, generate an API key in the dashboard, then send a single POST request to the verification-codes endpoint with the phone number. Resala generates the code, sends it and returns it in the response. Full examples in several languages are at dev.resala.ly. - **Can I use my company name as the sender ID?** Yes. Request a custom sender name from the dashboard: English letters only, up to 11 characters, no special symbols, and it should reflect your business. Approval takes about 10 working days and depends on Libyana and Almadar. - **How are message lengths counted?** If your message is 67 characters or fewer, it counts as one message. If it is longer than 67 characters, each 67 characters, or part of them, count as one message: 68 to 134 characters count as two messages, 135 to 201 as three, and so on. The character count includes every character, visible or not, such as spaces and line breaks, and the same rule applies to Arabic and English messages. - **Can I try Resala for free?** Yes. Sign-up is free and a sandbox is available to test sending and the API before any top-up. - **Which payment methods are accepted?** Edfali, YusrPay, MobiCash, Libyan bank cards or bank transfer, all in Libyan dinars. - **Is Resala a licensed service in Libya?** Yes. Resala is licensed by the General Authority for Communications and Informatics and operated by Sadeem Tech, a Libyan software company. ## الأسئلة الشائعة (عربي) - **كم تبلغ تكلفة الرسالة وهل تتوفر باقات اشتراك؟** تكلفة الرسالة 0.10 د.ل لكل رسالة، بنظام الدفع حسب الاستخدام. لا توجد باقات رسائل إجبارية؛ تشحن رصيدك بالمبلغ الذي تريده ويُخصم منه حسب الاستهلاك الفعلي، إضافة إلى اشتراك سنوي رمزي في الحساب. - **كيف يتم احتساب عدد الرسائل في الرسالة الواحدة؟** • إذا كان عدد الأحرف في رسالتك 67 حرفًا أو أقل، تُحتسب رسالة واحدة. • إذا زاد عدد الأحرف عن 67، تُحتسب رسالة عن كل 67 حرفًا أو جزء منها؛ فمن 68 إلى 134 حرفًا تُحتسب رسالتين، ومن 135 إلى 201 حرفًا ثلاث رسائل، وهكذا. • يشمل عدد الأحرف جميع الحروف المرئية وغير المرئية، مثل المسافات والأسطر الجديدة، ويُطبّق الحساب نفسه على الرسائل العربية والإنجليزية. - **هل يمكنني تخصيص اسم المرسل؟** نعم، يمكنك طلب اسم مرسل باسم شركتك من واجهة أسماء المرسل في لوحة التحكم. - **ما الفرق بين "تجديد الاشتراك" و"شحن الرصيد"؟** • تجديد الاشتراك: يمدّد صلاحية حسابك والوصول إلى المنصة (يظهر تاريخ الانتهاء في لوحة التحكم). • شحن الرصيد: يضيف رصيداً نقدياً بالدينار يُخصم منه تلقائياً عند إرسال كل رسالة. - **هل يضيع رصيدي المتبقي عند انتهاء الاشتراك؟** لا، رصيدك المتبقي يُحفظ بالكامل. عند انتهاء الاشتراك تتوقف الخدمة مؤقتاً، وتستمر في استخدام الرصيد نفسه بعد التجديد. - **هل يمكنني تسجيل اسم المرسل بالعربي؟** لا، أسماء المرسل تكون بالأحرف الإنجليزية فقط. - **كيف أطلع على الرصيد المتبقي؟** يظهر الرصيد المتبقي في الشريط أعلى لوحة التحكم، وتفاصيله في صفحة "الرصيد". - **كيف أشحن رصيدي؟** من صفحة "الرصيد" اضغط "شحن"، اختر طريقة الدفع، وأدخل المبلغ المطلوب. يُحدَّث رصيدك مباشرة بعد الدفع. - **كم تستغرق فترة تجهيز اسم المرسل؟** في المتوسط 10 أيام عمل، ويعتمد الأمر على سرعة التفاعل من ليبيانا والمدار بالدرجة الأولى. - **كيف أجدد اشتراكي؟** من صفحة "الرصيد" اضغط "تجديد الاشتراك" واتبع الخطوات. - **كيف أستخدم API الخدمة؟** تصل إلى الربط البرمجي من القائمة الجانبية في لوحة التحكم، أو عبر التوثيق الكامل على dev.resala.ly. - **هل للرموز (OTP) المُرسلة مدة صلاحية؟** تولّد رسالة الرمز وترسله وتُرجعه ضمن استجابة الطلب (HTTP Response). مدة الصلاحية وآلية التحقق تعتمد على نظامك: عليك تخزين الرمز وتحديد صلاحيته ومطابقته بما يدخله المستخدم. - **ما هو اسم المرسل (Sender ID)؟** هو الاسم الذي يظهر للمستلم أعلى الرسالة بدلاً من رقم الهاتف، لتمييز علامتك التجارية. - **هل تتضمن باقة الاشتراك أي رسائل؟** لا، الاشتراك يمنحك حق الوصول للخدمة طوال فترة الصلاحية فقط. قيمة الرسائل تُخصم بشكل مستقل من الرصيد المتوفر حسب الاستهلاك الفعلي. - **هل توجد شروط لاختيار اسم المرسل؟** نعم: أحرف إنجليزية فقط بحد أقصى 11 حرفاً، بلا رموز خاصة، ويعبّر عن نشاطك التجاري. - **ما بديل Twilio أو Vonage لإرسال رسائل SMS ورموز OTP في ليبيا؟** رسالة (resala.ly) بوابة ليبية مرخصة من الهيئة العامة للاتصالات والمعلوماتية، تُرسل إلى مشتركي ليبيانا والمدار مباشرة، بسعر 0.1 د.ل للرسالة، مع API بسيط يعمل بمفتاح واحد، ودفع محلي بالدينار (ادفعلي، يُسر باي، موبي كاش، البطاقات المصرفية، التحويل المصرفي) دون الحاجة إلى بطاقة دولية. - **هل تدعم رسالة شبكتي ليبيانا والمدار؟** نعم، تصل الرسائل إلى مشتركي ليبيانا والمدار الجديد بنسبة وصول 99%، باسم مرسل خاص بشركتك أو باسم عام. - **كيف أرسل رمز تحقق OTP من تطبيقي في ليبيا؟** سجّل حساباً مجانياً، أنشئ مفتاح API من لوحة التحكم، ثم أرسل طلب POST واحداً إلى واجهة رموز التحقق مع رقم الهاتف؛ تولّد رسالة الرمز وترسله وتُرجعه في الاستجابة. الأمثلة الكاملة بلغات مختلفة على dev.resala.ly. - **هل يمكنني تجربة رسالة مجاناً قبل الدفع؟** نعم، التسجيل مجاني وتتوفر بيئة تجريبية لاختبار الإرسال والربط البرمجي قبل أي شحن. - **ما طرق الدفع المتاحة لشحن الرصيد؟** ادفعلي، يُسر باي، موبي كاش، البطاقات المصرفية الليبية، أو التحويل المصرفي، وكلها بالدينار الليبي. - **هل رسالة خدمة مرخصة في ليبيا؟** نعم، رسالة مرخصة من الهيئة العامة للاتصالات والمعلوماتية وتُشغّلها شركة سديم التقنية (Sadeem Tech) الليبية.