1.8 KiB
1.8 KiB
5SIM
Auth
- Use
Authorization: Bearer <token>. - Send
Accept: application/json.
Core endpoints
GET /v1/user/profileGET /v1/user/vendorGET /v1/vendor/walletsGET /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|hostingGET /v1/vendor/ordersGET /v1/user/reuse/{product}/{number}GET /v1/guest/products/{country}/{operator}GET /v1/guest/prices
Important semantics
profilegives balance, rating, default country, and default operator.buy/activationis the default activation path.buy/hostingis a separate long-lived-number path and is not the default workflow.checkreturns the order object and thesmsarray.finishcloses a successful order.cancelcancels an order; documented failures include order not found, expired order, order has SMS, and hosting order.banmarks a used number as banned.guest/productsandguest/pricescan be used for product, price, and quantity discovery without auth.
Order statuses
PENDINGRECEIVEDCANCELEDTIMEOUTFINISHEDBANNED
Response shape
- Order payloads include
id,phone,product,price,status,expires,sms,created_at,country, and forwarding fields. - SMS entries include
textandcodewhen available.
Practical notes
- Resolve
country,operator, andproductfrom the docs or prior discovery output before buying. - Use
maxPriceonbuy/activationwhen buying with operatoranyand a price ceiling is needed. - Use
user/ordersorvendor/ordersfor history, not for live SMS polling.