get getFreeMessageList
https://onlinesim.io/api/getFreeMessageList
Deprecated!
DEPRECATED, use getFreeList instead
This request allows you to get a list of received messages on the specified free number.
You can use it for testing, as it returns all the needed data of received messages, including registration/verification codes, one time passwords, etc.
IMPORTANT NOTE! &br; It is worth to mention that since the access for these numbers is public we do not recommend to use them to create accounts for personal use with any confidential information.
Security
Parameters
country
Required
Country code (Е.164 standard, without "+" sign), see getNumbersStats
In:
query
Schema:
- integerExample:
0
phone
Required
Free phone number, without country code
In:
query
Schema:
- stringExample:
"9100100101"
page
Page number. All messages are grouped in pages, each containing 10 messages (first page contains the last 10 messages)
In:
query
Schema:
- integerExample:
1
>= 1
lang
Response language: fr
- French, de
- German, ru
- Russian, en
- English, zh
- Chinese
In:
query
Schema:
- stringExample:
"en"
Enum:fr
de
ru
en
zh
Responses
200
Successful response for `getFreeMessageList` request: the server returns a list of messages received by the specified free number or throws an exception.
Content Type:
application/json
- Schema
- Examples
- objectExample:
{"response":1,"messages":{"current_page":1,"data":[{"text":"string","in_number":"string","my_number":0,"created_at":"string","data_humans":"17 часов назад"}],"first_page_url":"string","from":0,"last_page":0,"last_page_url":"string","links":[{"url":"string","label":"string","active":true}],"next_page_url":"string","path":"string","per_page":0,"prev_page_url":"string","to":0,"total":0}}
Properties:response
mixed1, if the request has been completed successfully, or an error messageExample:1
One Of:- integerExample:
0
- stringExample:
"string"
messages
objectExample:{"current_page":1,"data":[{"text":"string","in_number":"string","my_number":0,"created_at":"string","data_humans":"17 часов назад"}],"first_page_url":"string","from":0,"last_page":0,"last_page_url":"string","links":[{"url":"string","label":"string","active":true}],"next_page_url":"string","path":"string","per_page":0,"prev_page_url":"string","to":0,"total":0}