Files

1.8 KiB

5SIM

Auth

  • Use Authorization: Bearer <token>.
  • Send Accept: application/json.

Core endpoints

  • GET /v1/user/profile
  • GET /v1/user/vendor
  • GET /v1/vendor/wallets
  • GET /v1/user/buy/activation/{country}/{operator}/{product}
  • GET /v1/user/buy/hosting/{country}/{operator}/{product}
  • GET /v1/user/check/{id}
  • GET /v1/user/finish/{id}
  • GET /v1/user/cancel/{id}
  • GET /v1/user/ban/{id}
  • GET /v1/user/orders?category=activation|hosting
  • GET /v1/vendor/orders
  • GET /v1/user/reuse/{product}/{number}
  • GET /v1/guest/products/{country}/{operator}
  • GET /v1/guest/prices

Important semantics

  • profile gives balance, rating, default country, and default operator.
  • buy/activation is the default activation path.
  • buy/hosting is a separate long-lived-number path and is not the default workflow.
  • check returns the order object and the sms array.
  • finish closes a successful order.
  • cancel cancels an order; documented failures include order not found, expired order, order has SMS, and hosting order.
  • ban marks a used number as banned.
  • guest/products and guest/prices can be used for product, price, and quantity discovery without auth.

Order statuses

  • PENDING
  • RECEIVED
  • CANCELED
  • TIMEOUT
  • FINISHED
  • BANNED

Response shape

  • Order payloads include id, phone, product, price, status, expires, sms, created_at, country, and forwarding fields.
  • SMS entries include text and code when available.

Practical notes

  • Resolve country, operator, and product from the docs or prior discovery output before buying.
  • Use maxPrice on buy/activation when buying with operator any and a price ceiling is needed.
  • Use user/orders or vendor/orders for history, not for live SMS polling.