Developers & Automation
QuackSMS REST API Reference
Integrate programmatic SMS verification into your applications, bots, and registration pipelines.
Your API Key
qs_live_9a8f27bc40192e8d3741
# 1. Order a number for Telegram in Canada
curl -X POST https://quacksms.com/api/orders \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"serviceCode": "tg", "countryCode": "ca"}'
# Response:
# {
# "status": "success",
# "data": {
# "id": "ord_8492019",
# "phoneNumber": "+16478912401",
# "status": "WAITING_SMS",
# "expiresAt": "2026-09-24T22:20:00Z"
# }
# }
# 2. Check for SMS code
curl -X GET https://quacksms.com/api/orders/ord_8492019 \
-H "Authorization: Bearer YOUR_API_KEY"Core API Endpoints
POST/api/orders
Order a new virtual number for chosen service & countryGET/api/orders/[id]
Poll order status and retrieve received OTP verification codeDELETE/api/orders/[id]
Cancel order and trigger instant 100% balance refund