For AI agents: the complete documentation index is available at https://proxykite.com/docs/llms.txt, the full documentation bundle is available at https://proxykite.com/docs/llms-full.txt, and this page is available as Markdown at https://proxykite.com/docs/api/sms.md.

SMS

Text messages received by the dongle's SIM card (for example verification codes), and sending SMS from it.

Received messages

GET /proxies/{id}/sms

Ability: read · Messages saved by the panel (it copies the dongle's inbox every 2 minutes), paged.

Query
pagepage number, from 1
per_page1–200, default 50 (limit means the same and still works)
sortnewest (default) or oldest, by received date
curl
Python
Node.js
PHP
curl 'https://proxykite.com/api/v1/proxies/7/sms?limit=10' \
  -H "Authorization: Bearer $HYP_TOKEN" \
  -H 'Accept: application/json'

Response 200

{"data": [
  {"id": 55, "phone": "+919800000000", "content": "Your code is 123456", "received_at": "2026-10-09T18:00:00+00:00", "read": false}
 ],
 "meta": {"page": 1, "per_page": 50, "total": 1, "last_page": 1, "sort": "newest"}}

Delete saved messages

DELETE /proxies/{id}/sms

Ability: manage · Who: account owner, team admin, or a sub-user the SMS inbox is shared with (not viewers). Removes messages from the panel only; the dongle is not touched.

Body field
idslist of message ids (up to 500), or
alltrue to delete every saved message of this proxy
curl -X DELETE 'https://proxykite.com/api/v1/proxies/7/sms' \
  -H "Authorization: Bearer $HYP_TOKEN" -H 'Accept: application/json' -H 'Content-Type: application/json' \
  -d '{"ids":[55,56]}'

Response 200: {"ok": true, "data": {"deleted": 2}}

Sync now / free the dongle's storage

POST /proxies/{id}/sms/sync

Ability: manage · 10 requests/min. Copies the dongle's inbox to the panel right now. A HiLink stick stores only 50–100 SMS; when it is full, new verification codes are lost. With delete_from_dongle: true (owner or team admin) every message is saved here first and then deleted from the dongle. Use it as a one-off cleanup, or switch on "delete after sync" in the proxy's settings to do it automatically. Do not delete from the dongle if another application also reads its SMS.

Body field
delete_from_donglefalse (default) keeps the dongle's copy; true empties the dongle's inbox after saving
curl -X POST 'https://proxykite.com/api/v1/proxies/7/sms/sync' \
  -H "Authorization: Bearer $HYP_TOKEN" -H 'Accept: application/json' -H 'Content-Type: application/json' \
  -d '{"delete_from_dongle":true}'

Response 200: {"ok": true, "data": {"fetched": 37, "new": 4, "deleted_from_dongle": 37}}

Errors: 409 dongle_busy (rotation or another SMS running, retry shortly), 409 unsupported (device cannot read / delete SMS), 502 dongle_unreachable.

Send an SMS

POST /proxies/{id}/sms

Ability: manage · Who: account owner, team admin, or the reseller sub-user the proxy is assigned to · 20 requests/min. Sends one SMS from the dongle's SIM (operator charges apply). "OK" means the dongle accepted it, not that it was delivered. Counts toward the proxy's SMS limits.

Body field
tophone number, digits with optional leading + (spaces, dashes, brackets are removed)
text1–670 characters
curl
Python
Node.js
PHP
curl -X POST 'https://proxykite.com/api/v1/proxies/7/sms' \
  -H "Authorization: Bearer $HYP_TOKEN" \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{"to":"+919800000000","text":"Hello"}'

Response 200

{"ok": true, "data": {"id": 31, "to": "+919800000000", "chars": 5, "sent_at": "2026-10-10T09:00:00+00:00"},
 "limits": {"day": {"limit": 50, "used": 13, "resets_at": "2026-10-10T18:30:00+00:00"}, "week": {…}, "month": {…}}}

429: an SMS limit is used up (limit = the period that frees up last; Retry-After header in seconds):

{"error": "sms_limit_reached", "limit": "day", "max": 50, "used": 50,
 "resets_at": "2026-10-10T18:30:00+00:00", "message": "SMS limit reached: 50 of 50 this day. …"}

Other errors: 409 dongle_busy (a rotation or another SMS is running, retry shortly), 422 validation_failed (bad number or text), 502 sms_failed (the dongle refused or is unreachable).

Send from any number

POST /sms

Ability: manage · 60 requests/min. One call for all your numbers: ProxyKite picks the proxy itself, so you do not have to track limits or choose an id.

How a number is picked:

  • only proxies your login may send from, whose device can send SMS, and that are plugged in and answering;
  • a number that has reached its day, week or month SMS limit is left out until the limit resets;
  • among the rest, the number that sent the fewest SMS today goes first, so sends spread evenly;
  • if that dongle is busy or refuses the SMS, the next number is tried (up to 3 attempts).

Set a per-day limit on each proxy (panel: proxy page → SMS tab → "SMS limit per day", or PATCH /proxies/{id} with {"limits":{"sms":{"day":50}}}) and the pool moves on to the next number by itself when one is full.

Body field
tophone number, digits with optional leading +
text1–670 characters
proxiesoptional list of proxy ids to choose from. Left out = every proxy you may send from
curl
Python
Node.js
PHP
curl -X POST 'https://proxykite.com/api/v1/sms' \
  -H "Authorization: Bearer $HYP_TOKEN" \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{"to":"+919800000000","text":"Hello"}'

Response 200: proxy_id / from tell you which number sent it; skipped lists the numbers that were left out and why (limit_reached, offline, unsupported, busy, send_failed).

{"ok": true,
 "data": {"id": 32, "to": "+919800000000", "chars": 5, "sent_at": "2026-11-23T09:00:00+00:00",
          "proxy_id": 9, "label": "Jio 2", "from": "+919811111111"},
 "limits": {"day": {"limit": 50, "used": 14, "resets_at": "2026-11-23T18:30:00+00:00"}, "week": {…}, "month": {…}},
 "skipped": [{"proxy_id": 7, "reason": "limit_reached"}]}

429: every number is at its limit (resets_at = when the first one is free again; Retry-After header in seconds):

{"error": "sms_limit_reached", "message": "Every number in the pool has reached its SMS limit.",
 "skipped": [{"proxy_id": 7, "reason": "limit_reached"}, {"proxy_id": 9, "reason": "limit_reached"}],
 "resets_at": "2026-11-23T18:30:00+00:00"}

Other errors: 409 no_sms_proxy (no proxy that can send right now: none shared with you, all offline, or none of the listed ids are yours), 409 dongle_busy (retry shortly), 422 validation_failed, 502 sms_failed (the dongles tried did not accept the SMS).

List the sending numbers

GET /sms/senders

Ability: read · Every proxy you may send SMS from, in the order POST /sms would use them, with today's usage.

curl 'https://proxykite.com/api/v1/sms/senders' \
  -H "Authorization: Bearer $HYP_TOKEN" -H 'Accept: application/json'

Response 200

{"data": [
  {"proxy_id": 9, "label": "Jio 2", "from": "+919811111111", "available": true, "skip_reason": null,
   "limits": {"day": {"limit": 50, "used": 14, "resets_at": "2026-11-23T18:30:00+00:00"}, "week": {…}, "month": {…}}},
  {"proxy_id": 7, "label": "Airtel 1", "from": null, "available": false, "skip_reason": "limit_reached", "limits": {…}}
]}