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
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