support@t-mnetwork.com +92 311 7360839
Your number · Your customers · One place
TM Sender
Account Login → Start Free →

API reference

Find your key under API access once you are signed in.

Authentication

Send your key as a bearer token on every request.

Authorization: Bearer YOUR_API_KEY

Send a message

POST https://wa.t-mnetwork.com/api/gateway.php { "device_id": 1, "number": "923001234567", "message": "Hello", "scheduled_at": "2026-09-20 14:00:00" // optional }

device_id and scheduled_at are optional. Without device_id, your first connected device is used.

Response

{ "success": true, "job_id": 1042, "status": "queued" }

Check delivery

GET https://wa.t-mnetwork.com/api/status.php?job_id=1042

Errors

CodeMeaning
401Missing or invalid API key
402Subscription expired
409No connected device, or recipient opted out
429Monthly quota exhausted

Delivery timing

Messages are queued, never sent instantly. Each device sends with a 15-45 second gap, pauses after every 50 messages, sends only between 9am and 9pm, and stops at its daily warm-up limit. A new number starts at 20 messages a day and ramps up over about a month. These limits are what keep your number from being banned, so they cannot be turned off.