get getState
https://onlinesim.io/api/getState.phpReturns 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.
.png)
Security
Parameters
tzidquery- integerExample:
10000>= 1
message_to_codeSMS display mode: &br; 0 - show the entire SMS, &br; 1 - display only the code from the SMS
query- numberExample:
1Enum:01
orderbyquery- stringExample:
"asc"Enum:ascdesc
msg_listMessage list display mode: &br; 0 - show only the active message, &br; 1 - show the whole list
query- integerExample:
1<= 1>= 0Enum:01
cleanMessage 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>= 0Enum:01
langResponse language: fr - French, de - German, ru - Russian, en - English, zh - Chinese
query- stringExample:
"en"Enum:frderuenzh
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"}