Skip to main content

Field and data conventions

Field and data conventions​

Fields of forwarded endpoints follow the server data model. The conventions below apply to every list and detail response.

ConventionValuesDetails
Timeyyyy-MM-dd HH:mm:ssStrings, not timestamps; the exception is createdAt of automation sessions, which is a millisecond number
SwitchesON · OFFFields such as actived, opened, and audioSwitch
Pagination inputpage · sizeDefault 1 and 20; the server caps size at 1000; /sms/records caps it at 100, and /mail/pull always returns 10 per page
KeywordkeywordAccounts match username/remark; proxies match host/username/activeIp/remark
Array query parametersstate=1&state=0Repeat the key to build an array; the state[]= form has no effect
Batch write collectionitemsBackend commands read only items; batch creation needs items (or the accounts / proxyList aliases), and delete endpoints normalize every ID alias into items on the client
Team ownershipteamIdWhen accounts and proxies are saved, the server overrides it with the current team; passing it in the request has no effect
Proxy state0 · 1 · -1 · -2Pending check, available, unavailable, expired
Proxy enumsIPv4/IPv6 · SOCKS5/HTTP/HTTPS · CUSTOM/BUYMap to ipVersion, protocol, and source
Window IDwindowIdThe window's numeric primary key id, not its uuid
Window runtime statelocal_running · occupied_by_other · closedruntimeState of /browser/list; opened is only the server record and may be stale
Window binding fieldsplatformId · pluginIdJSON text of an ID array, such as "[5001,5002]", not an array
AmountsUSDTPrices may be numbers or decimal strings; compute totals with fixed-point decimals, not floating-point multiplication
JSON text fieldsproduct · resources · message · solutionIn service records these fields are JSON strings and need to be parsed again

Service IDs​

The different service IDs cannot be substituted for one another:

IDMeaningWhere it is used
productId from /ip/productsStandard proxy product ID/ip/buy
id from /proxy/listLocal proxy IDitems of /ip/renew
id from /ip/ordersLocal order IDnexIpId of the short-term pull /ip/snap/pull
tel from /sms/recordsFull phone number string/sms/pull, /sms/recover
id from /mail/recordsLocal mailbox record IDid of /mail/pull and /mail/detail
data[].id from /mail/pullNumeric email ID, not the Message-IDmailId of /mail/detail
id from /captcha/recordsLocal solving task ID, not taskId/captcha/query
What credentials leave the client

/account/list and /browser/list return platform account password and key2fa in plain text; /browser/accounts returns only masked usernames plus the hasPassword / has2fa flags. When you need to sign in, prefer account_fill, which keeps passwords and codes inside the client. resources in /ip/orders and the response of /ip/snap/pull contain proxy credentials in plain text.