Get the full text of the received SMS
GEThttps://onlinesim.io/stubs/handler_api.php?action=getFullSms
Returns the full text of the current SMS of the operation, prefixed with the sender in square brackets:
FULL_SMS:[Google] G-123456 is your code. Useful when the SMS holds more than a code (a link, a date). The
other answers are those of getStatus.
Security
Parameters
query2
| Name | Type | Description |
|---|---|---|
action* | string | Method name: Enum: getFullSms |
id* | integer≥ 1 | Operation ID from getNumber Example: 65904893 |
Responses
200FULL_SMS:[<sender>] <text> or a status / error
Content-Type
text/plainSchema
schemaoneOf
One Of
[0]string
Pattern:^FULL_SMS:\[[^\]]*\] [1]string
Enum:STATUS_WAIT_CODEBAD_STATUS[2]string
Error answered as text by every action (also by the JSON ones):
BAD_KEY— the API key is wrong or missingBANNED— the account is blockedBAD_ACTION— unknown action or an error without its own code (for example a temporary error or too many concurrent requests); check the request and repeat it laterToo many requests. Please wait a moment before trying again.— the converter's limit of getNumber, getRentNumber, setStatus and setRentStatus (3 requests per second, 150 per 30 seconds)
BAD_KEYBANNEDBAD_ACTIONToo many requests. Please wait a moment before trying again.Examples
sms
Text received
FULL_SMS:[VK] Your code 877613. Do not share itwait
No SMS yet
STATUS_WAIT_CODECode Samples
Generating examples...