Integrate Star Telecom APIs with clear examples and responses.
All endpoints accept JSON and require a Bearer token. Everything the dashboard can do, the API can do.
Quick start
Grab an API key from the dashboard, set your base URL, and copy the request samples. A key can be limited to part of the API when you create it; a key created without scopes can use all of it.
/api/sms/sendcurl https://startelecom.io/api/sms/send \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "to": "12025550123", "message": "Hello from Star Telecom" }'{ "messages": [ { "id": 2381, "recipient": "12025550123", "status": "sent" } ] }VoIP APIs
Manage SIP lines, caller IDs, balances and call logs.
/api/voip/accountsEvery SIP line on the account with its account_id, which the other endpoints use to target one line. Also returns your wallet balance.
{
"accounts": [{ "id": 483, "extension": "700483", "label": "Acme Ltd", "is_primary": false, "auto_renew": true, "expires_at": "2026-08-31T13:58:57+00:00", "sip_balance": 12.5 }],
"extra_line_price_eur": 5,
"wallet_balance_eur": 53.2396
}/api/voip/plansEvery VoIP route you can use, with the per-minute price for each destination prefix. The longest matching prefix wins. initblock / billingblock are seconds charged for the first block and each block after it.
{ "plans": [{ "id": 42, "name": "USA All Pass 100%", "tech_prefix": "10001", "region": "United States", "tariff": [{ "destination": "United States", "prefix": "1", "rate": 0.4, "initblock": 60, "billingblock": 60 }] }] }/api/voip/plan{ "id_plan": 42, "account_id": 483 }{ "status": "ok", "id_plan": 42, "name": "USA All Pass 100%", "account_id": 483 }/api/voip/accountsBuys an extra SIP line and charges the monthly fee to your wallet.
{ "label": "Acme Ltd" }{ "message": "Additional SIP line created.", "account": { "id": 484, "extension": "700484", "label": "Acme Ltd", "sip_balance": 0 } }/api/voip/account/update{ "account_id": 483, "sip_callerid": "12025550123", "sip_password": "optional-new-secret", "sip_connection_mode": "registration" }{ "status": "ok", "sip_callerid": "12025550123", "sip_connection_mode": "registration", "sip_ip2ip_host": null }/api/voip/callsPer-call records for one SIP line or every line. Omit account_id to get them all.
?account_id=483&from=2026-08-01&to=2026-08-21&limit=100&page=1
{ "data": [{ "id": 140691, "account_id": 483, "started_at": "2026-08-21T04:14:45Z", "from": "12025550100", "to": "12025550123", "direction": "outbound", "answered": true, "billed_seconds": 60, "talk_seconds": 42, "cost_eur": 0.35 }], "total": 403, "has_more": true }/api/voip/calls/summary?from=2026-08-01&to=2026-08-21
{ "lines": [{ "account_id": 483, "label": "Acme Ltd", "calls": 2, "billed_minutes": 2, "cost_eur": 0.51 }], "totals": { "calls": 403, "billed_minutes": 359.73, "cost_eur": 157.58 } }/api/voip/account/chargeMoves wallet funds onto one line’s call credit. Minimum €10.
{ "account_id": 483, "amount": 10 }{ "status": "ok", "sip_balance": 42.75 }/api/voip/account/transferYour wallet is not touched, so this is how you reclaim credit from a line you no longer need.
{ "from_account_id": 483, "to_account_id": 484, "amount": 12.5 }{ "status": "ok", "amount": 12.5, "from_balance": 0, "to_balance": 12.5 }/api/voip/dtmf-pollDigits the far-end caller presses during an active call. Poll every ~500ms; each read drains the buffer. For push, open an SSE stream at /api/voip/dtmf-stream?token=YOUR_API_KEY.
{ "digits": [{ "digit": "4", "channel": "PJSIP/webrtc-700483-00000a1b", "duration": 180, "ts": 1731460485 }] }Numbers (DID)
Everything the dashboard Numbers page does, over the API: browse buyable numbers and buy one instantly, or request a number for a country that needs manual setup and accept the price we send back. Buying and accepting a quote both charge your wallet.
/api/didsEvery number with routing, price, status and concurrent-line support, plus your SIP lines and IVR flows so you can route a number to one.
{ "dids": [{ "id": 42, "number": "442037...", "country": "United Kingdom", "iso": "GB", "routing_type": "sip", "user_sip_account_id": 1001, "monthly_price_eur": 3.5, "inbound_rate_eur": 0, "supports_lines": true, "status": "active" }], "accounts": [{ "id": 1001, "label": "Main line" }], "flows": [{ "id": 7, "name": "Support menu" }], "wallet_balance_eur": 24.80 }/api/dids/catalog?countryId=44&typeId=1&search=london&page=1
{ "groups": [{ "groupId": "grp_123", "country": "United Kingdom", "city": "London", "type": "Local", "skus": [{ "skuId": "sku_1", "channels": 2, "setup_eur": 2, "monthly_eur": 3.5 }], "inbound_included": true }], "total": 128, "countries": [...], "types": [...] }/api/dids/buyrouting_type is sip, app or ivr. Charges your wallet and returns the new number.
{ "groupId": "grp_123", "skuId": "sku_1", "countryId": "44", "typeId": "1", "routing_type": "sip", "user_sip_account_id": 1001 }201 { "did": { "id": 58, "number": "442038081234", "status": "active" } }/api/did-requestsFor a country or type not in the catalogue. number_type is local, tollfree or mobile. Does not charge your wallet.
{ "country": "Japan", "number_type": "local", "preferred_routing": "sip", "note": "Tokyo area preferred" }201 { "id": 301, "status": "pending" }/api/did-requests/{id}/acceptAccept takes payment from your wallet and sets the number up. Decline (POST …/decline) closes the request with an optional reason.
{ "reason": "Changed my mind" } // decline only{ "status": "accepted", "did_id": 59 }/api/dids/{id}/routing"sip" rings a SIP line (pass user_sip_account_id), "app" rings the mobile app, "ivr" runs an IVR flow (pass dtmf_flow_id). A number cannot forward to an external phone number.
{ "routing_type": "ivr", "dtmf_flow_id": 7 }{ "status": "ok", "routing_type": "ivr" }/api/dids/{id}/capacityRead (GET) or set how many simultaneous calls a number accepts. Above the included lines, incoming is metered per minute.
{ "max_calls": 4 }{ "max_calls": 4, "included": 2, "supported": true }/api/dids/{id}/cancelStops billing at the end of the current period.
{ "status": "released", "ends_at": "2026-12-13T00:00:00+00:00" }SMS APIs
Send SMS and monitor delivery activity. route_option_id is optional; omit it for automatic routing by destination. Direct value: alpha. GAMMA, EPSILON, PRO and ETA need a specific subroute.
/api/sms/send{ "to": ["12025550123"], "message": "Your code is 123456", "route_option_id": "alpha" }{ "messages": [{ "id": 2381, "recipient": "12025550123", "status": "sent" }] }/api/sms/available-routes?expand=gamma # or ?expand=epsilon | pro | eta
{ "gamma": { "33": [{ "option_id": "acb913c880d4…", "name": "CH1", "price": 0.0714, "prefix": "33" }] } }/api/sms/sendSend the same message through one or more routes to see which delivers. Each test message starts with the route name.
{ "to": "12025550123", "message": "Route test", "test_all_routes": true }
// or: "test_routes": ["alpha", "gamma", "epsilon_1"]{ "messages": [{ "route": "ALPHA", "status": "sent" }, { "route": "GAMMA", "status": "sent" }] }/api/sms/logs?limit=10&page=1&search=1202&from=2026-01-01&to=2026-01-31
{ "data": [{ "id": 2381, "date": "2026-01-20 14:45:12 UTC", "to": "12025550123", "status": "delivered", "route": "ALPHA", "cost": 0.03 }], "has_more": true }Number checks
WhatsApp, Telegram, Viber, iMessage and Airbnb. Every batch needs at least 2,000 numbers. WhatsApp numbers must be from one country. The other platforms use the same requests with the path prefix /api/telegram-checks, /api/viber-checks, /api/imessage-checks or /api/airbnb-checks. Export returns only registered numbers.
/api/whatsapp/statusCurrent price per number. Does not charge the wallet.
{ "price_per_number_eur": 0.004 }/api/whatsapp/quote{ "numbers": ["4915112345678", "..."] }{ "count": 2400, "total_eur": 9.60 }/api/whatsapp/jobsCharges the wallet for the quoted cost and starts the check.
{ "job_id": 9001, "status": "queued" }/api/whatsapp/resultsPoll /jobs/{id} until status is completed, then read results.
?job_id=9001&limit=50
{ "data": [{ "number": "4915112345678", "registered": true }], "has_more": true }CLI Check
Place a real test call over one of your voice routes to a live handset abroad and see the caller ID it actually shows: delivered, replaced or restricted. Each report costs €0.50 (max 30/day). Reports that can’t connect are refunded.
/api/cli-check/options{ "plans": [{ "id": 1, "name": "Worldwide" }], "countries": [{ "name": "Denmark", "operators": ["TDC", "Telenor"] }], "price_eur": 0.5 }/api/cli-check{ "plan_id": 7, "country": "Denmark", "cli": "442037654321", "operator": "TDC" }{ "report": { "id": 11, "status": "pending", "stage": "dispatching" } }/api/cli-check/batchTest one caller ID to one destination across several routes at once.
{ "plan_ids": [1, 106], "country": "Denmark", "cli": "442037654321" }{ "reports": [{ "id": 11, "batch_id": "6f0b1c2d-...", "plan_id": 1, "status": "pending" }, { "id": 12, "plan_id": 106, "status": "pending" }] }/api/cli-check/{id}{ "id": 11, "outcome": "delivered", "reported_cli": "442037654321", "operator": "TDC" }Rates
Retrieve pay-as-you-go voice rates: the cheapest per-minute price for each destination across all routes.
/api/rates/voice?search=United&limit=10&page=1
{ "data": [{ "destination": "United States", "prefix": "1", "rate": 0.15, "tiers": [{ "rate": 0.2, "count": 4 }, { "rate": 0.4, "count": 12 }] }] }IVR Studio (DTMF)
Build automated outbound call flows. IVR Studio places the call from your SIP line, runs your saved flow, and stores the keypad input. Requires the IVR Studio add-on. Minutes are charged from the selected line’s credit and the line’s route must allow IVR.
/api/dtmf/upload{ "audio_token": "aud_7f2…" }/api/dtmf/flows{ "name": "Support menu", "steps": [{ "type": "play", "audio_token": "aud_7f2…" }, { "type": "menu", "options": { "1": "sales", "2": "support" } }] }{ "flow_id": 7 }/api/dtmf/callPass account_id to choose which SIP line dials; omit it for the primary line. destinations (max 500) instead of destination for bulk.
{ "flow_id": 7, "destination": "12025551234", "account_id": 483, "callerid": "12025550100" }{ "session_id": "ivr_8f21", "status": "dialing" }/api/dtmf/result/{session_id}{ "status": "completed", "digits": "1", "duration": 38, "cost_eur": 0.4 }