Key Takeaways
- NestJS queue workers send OTP and alerts by HTTPS/JSON from a processor — not a Nest SMS SDK product.
- Bull/BullMQ retries without an idempotency key duplicate codes and burn operator airtime.
- HTTP 201 is accepted. Persist gateway ids. DLR/webhooks close delivery. Confirm fields in Developer Center.
- Pace workers to one OTP device. Starter’s extra slot is a spare chassis, not two radios in one phone.
- You bring the Android and operator credit. Platform pricing is devices plus send volume.
android sms gateway api from NestJS workers is a processor plus a paired phone. OTP sibling: NestJS OTP. Notifications: notifications. Retries: retry policies. Live JSON: Developer Center.
You bring the handset and airtime. Devices and send volume. REST samples are HTTPS/JSON — not NuGet, Composer, or a Nest SDK.
BullMQ · processor · SIM
Five workers do not make five modems.
BullMQ is not a second radio
Conceptual processor only — confirm path and JSON in Developer Center:
@Processor('sms-send')
export class SmsSendConsumer {
async process(job: Job<{ clientRef: string }>) {
// POST HTTPS with env token; persist gateway id
}
}Keys: env. Pair: Downloads. Queue backlog: backlog.
defaultJobOptions.attempts: 8 with a new OTP each attempt is how Nest “reliability” becomes eight texts and a locked-out user.
Worker table
| Queue | Concurrency | On fail | Device |
|---|---|---|---|
| otp-send | Low | Do not mint a new code | Quiet OTP SIM |
| order-alert | Modest | Idempotent client_ref | Transactional SIM |
| promo | Paced to radio | Stop on 429 / throttle | Never the OTP SIM |
| dlr-ingest | Fast persist | Sticky Delivered | — |
Concurrency vs the SIM
Starter allows 2 devices — spare chassis. Throughput per SIM. Dual SIM is not two workers. Transactional SMS.
OTP jobs vs campaign jobs
Order alerts: order alerts. Shopify is a different last mile — contrast only. DLR, webhooks. NestJS queues. Messaging practices.
Next steps
One otp-send job, client_ref required, canary to staff. Spend 300 lifetime SMS proving the processor — then a funded SIM.
Related product pages
Jump to the live product docs for this topic—not another long-form article.
- SMS API documentationLive endpoint reference
- device and SMS volume pricingPlans and allowances
- Android SMS gateway product guideDefinition, product, and how to buy
- download the Android gateway appGet the APK





