get getState
https://onlinesim.io/api/getState.php
Returns detailed information on all active numbers you have (or specific one).
It allows you to check the status of operations of your account and read the messages received on ordered numbers.
For example, you can use this request to get a list of all SMS from active numbers to process them.
In fact, this is a representation of active operations section ("My numbers") from the main page.
Security
Parameters
tzid
query
- integerExample:
10000
>= 1
message_to_code
SMS display mode: &br; 0
- show the entire SMS, &br; 1
- display only the code from the SMS
query
- numberExample:
1
Enum:0
1
orderby
query
- stringExample:
"asc"
Enum:asc
desc
msg_list
Message list display mode: &br; 0
- show only the active message, &br; 1
- show the whole list
query
- integerExample:
1
<= 1
>= 0
Enum:0
1
clean
Message display mode (only for msg_list = 0): &br; 0
- show previosly shown messages, &br; 1
- do not show previously shown messages
query
- integerExample:
1
<= 1
>= 0
Enum:0
1
lang
Response language: fr
- French, de
- German, ru
- Russian, en
- English, zh
- Chinese
query
- stringExample:
"en"
Enum:fr
de
ru
en
zh
Responses
200
- Schema
- Examples
- arrayArray of active numbers (current operations) on your accountExample:
[{"country":46,"sum":14,"service":"Facebook","number":"+46050101010","response":"TZ_NUM_ANSWER","tzid":10000,"time":281,"form":"index"}]
Items:- objectOperation informationExample:
{"country":46,"sum":14,"service":"Facebook","number":"+46050101010","response":"TZ_NUM_ANSWER","tzid":10000,"time":281,"form":"index"}