Send and receive SMS/MMS via SMS Gateway for Android (android-sms-gateway / sms-gate) using Local Server mode with Basic Auth, including webhooks, inbox export, and message status checks.
Coding
Retarus SMS4A
Try itSend SMS jobs and check SMS delivery status through the Retarus SMS for Applications REST API. Use when Codex or OpenClaw needs to create SMS jobs, inspect p...
What it does
Send SMS jobs and check SMS delivery status through the Retarus SMS for Applications REST API. Use when Codex or OpenClaw needs to create SMS jobs, inspect p...
The skill document
Retarus SMS4A
Overview
Use this skill for operational work with the Retarus SMS for Applications API: prepare or validate SMS job payloads, send jobs, and fetch per-recipient status for a jobId.
Prefer the helper script in scripts/sms4a_api.py instead of hand-writing HTTP calls. It already handles Basic Auth, simple payload construction, full-payload file input, datacenter selection, and the eu status fallback across de2 and de1.
Quick Start
- Resolve credentials from the secret store into one of these supported inputs:
RETARUS_SMS4A_USERNAMEandRETARUS_SMS4A_PASSWORDRETARUS_SMS4A_SECRET_FILEpointing to a JSON or.env-style file withusernameandpassword- The default local secret file path
~/.openclaw/secrets/retarus-sms4a.envor~/.openclaw/secrets/retarus-sms4a.json - Explicit
--usernameand--passwordflags only for local testing
- Send a simple SMS job:
python3 scripts/sms4a_api.py send \
--datacenter eu \
--text "Your access code is 123456" \
--recipient +4917600000000 \
--status-requested
- Check recipient status for a job:
python3 scripts/sms4a_api.py status --job-id J.20221116-102407.583-0lajfsfmoXIZJO93PQ
Datacenter Rules
- Use
euas the default send endpoint unless the user explicitly wantsde1orde2. - Do not rely on the
euhostname for status lookups. Theeuendpoint is DNS-balanced acrossde1andde2, so a status lookup must try both datacenters. - The
statuscommand defaults to--datacenter auto, which triesde2first and thende1. - If the user explicitly prefers
de1orde2, still try both datacenters and use the chosen one only as the first lookup target.
Sending Workflow
- For common one-message jobs, pass
--textand one or more--recipientvalues. - For advanced jobs, pass
--payload-filewith a JSON body matching the OpenAPIJobRequestschema. - Use
--dry-runfirst if you want to validate payload assembly without sending anything. - Return the created
jobIdand the datacenter that accepted the job.
Status Workflow
- Use
status --job-id ...to queryGET /sms?jobId=.... - Return the successful datacenter together with the recipient reports.
- If one datacenter returns
404or500, continue with the next datacenter. - If both datacenters fail, report both attempts and their response codes.
Credential Handling
- Never hardcode credentials into the skill files.
- Prefer secret-store backed environment injection.
- Prefer the standard local secret path
~/.openclaw/secrets/retarus-sms4a.envfor operator-managed credentials on an OpenClaw host. - If a secret file is used, support either:
- JSON:
{"username":"...","password":"..."} .envstyle:
- JSON:
RETARUS_SMS4A_USERNAME=...
RETARUS_SMS4A_PASSWORD=...
Reference
- Read
references/api.mdfor the server aliases, supported helper-script options, and the subset of the OpenAPI schema this skill uses most often.
Related skills
httpSMS (httpsms.com). Use this skill for ANY httpSMS request — reading, creating, updating, and deleting data. Whenever a task involves httpSMS, use this skill instead of calling the API directly.
Send SMS and track per‑task delivery status via the UpKuaJing Open Platform API.
Sets up and manages WhatsApp Business accounts including auto-response systems, client communication workflows, FAQ templates, and broadcast campaigns.
Add SMS, WhatsApp, or Telegram OTP / 2FA / MFA / phone verification to any app using MyOTP.App. Two-endpoint REST API with a single X-API-Key header. Use when the user asks for SMS OTP, two-factor auth, signup phone verification, password reset codes, transaction step-up auth, or wants a Twilio Verify, Vonage Verify, or Firebase Phone Auth alternative. Covers SMS, WhatsApp, and Telegram channels. Keywords sms otp verification 2fa mfa authentication phone whatsapp telegram twilio-alternative vonage-alternative firebase-phone-auth one-time-password create account, register, agent signup, buy credits, top up, 402, machine payments, x402, MPP, agent payments.
Textmagic (textmagic.com). Use this skill for ANY Textmagic request — reading, creating, and updating data. Whenever a task involves Textmagic, use this skill instead of calling the API directly.