02Developers
Messaging APIs with durable IDs
Create applications, rotate hashed credentials and submit SMS through versioned REST. Acceptance returns a platform message ID — delivery updates follow separately via status and webhooks.
Request path
What happens on every send
Dashboard and API share the same internal submission and billing service — so money and messages stay consistent.
01
Authenticate
Bearer token tied to an application inside an organization. Requests are authorized against that tenant.
02
Validate
Sender ID, recipient, daily/TPS limits and available wallet balance are checked before acceptance.
03
Accept atomically
Message record + fund reservation happen together. You receive a durable platform message ID and queued status.
04
Dispatch & notify
Workers submit upstream. Delivery receipts update status. Optional signed webhooks push outcomes to your systems.
API surface
Send, estimate, wallet and more
Bearer auth, rate limits, structured errors and usage logging. OpenAPI documentation ships with the messaging engine.
| Method | Endpoint | Purpose |
|---|---|---|
| POST | /v1/sms/send | Send a single SMS |
| POST | /v1/sms/batch | Send a batch |
| POST | /v1/sms/estimate | Estimate segments & cost |
| GET | /v1/sms | List messages |
| GET | /v1/sms/{id} | Fetch message status |
| POST | /v1/sms/{id}/cancel | Cancel when possible |
| GET | /v1/wallet | Wallet balances |
| GET | /v1/wallet/transactions | Ledger history |
| POST | /v1/applications/{id}/credentials | Create API key |
| GET | /v1/campaigns/{id}/analytics | Campaign analytics |
Example
Submit once. Retry safely.
Pass an Idempotency-Key on message submissions. Repeated requests with the same key must not create duplicate charges or messages.
curl -X POST https://api.romiflow.example/v1/sms/send \
-H "Authorization: Bearer <token>" \
-H "Idempotency-Key: 8f3c2a1b" \
-H "Content-Type: application/json" \
-d '{
"to": "+2547XXXXXXXX",
"from": "ROMIFLOW",
"body": "Your order is confirmed."
}'Credentials
Secrets shown once, stored hashed. Rotate, revoke, scope and optionally restrict by IP. Last-used timestamps included.
Webhooks
Signed customer callbacks with timestamps and replay protection when delivery updates land. Failed deliveries retry safely.
Shared billing path
REST and future SMPP use the same internal submission and wallet reservation service — one ledger of truth.
Building something that needs reliable SMS?
Tell us your stack and volume. We'll share sandbox expectations and onboarding next steps.