Virtual Numbers — Get the code
GET/POST
https://api.yoozseen.com/api/v1
Poll the login code for your order_id (the token from getNumber). While nothing has arrived yet the response is status "waiting" — keep polling every few seconds. Telegram issues a fresh code on each successful fetch, so you can re-fetch if you need a new one.
Request
Query parameters
NameDefinition
key *Your Api Key
action *getCode
order_id *the order_id returned by getNumber (your token)
* - mandatory parameter
Request example
1
2
3
4
5
6
7
curl --location 'https://api.yoozseen.com/api/v1/' \
--header 'Content-Type: application/json' \
--data '{
"key": "xxxxxxxxx",
"action": "getCode",
"order_id": "1500123"
}'Response
* Meaning and usage of each parameter
NameDescription
status ok, waiting, or error
message_error error description
order_id your order id — the token used to fetch the code
number the purchased phone number
code the received login code
pass the account password when the provider returns one (otherwise null)
Response example
1
2
3
4
5
6
7
{
"status": "ok",
"order_id": 1500123,
"number": "+998901234567",
"code": "12345",
"pass": null
}