GEThttps://onlinesim.io/api/setOperationRevise.php

Request next received SMS from the number

Moves the internal pointer to the next SMS message for the specified operation ID. The method only shifts the pointer to the next message within the operation; it does not return the SMS text. To get the message content after calling this method, use getState.

This request can be useful when a service sends multiple SMS messages in a row or when you need to receive more than one message from the same service on a single number.

Security

OAuth2
sms-scope
grants access to manage numbers for the SMS receiving service from Onlinesim

Parameters

query2
NameTypeDescription
tzid*string

Operation ID returned by the server when issuing a number (in response to getNum or getRentNum). The list of active operations on your profile with their IDs can also be obtained via getState or getRentState

langstring

Response language:

fr - French,

de - German,

ru - Russian,

en - English,

zh - Chinese.

Please note that the translation applies only to string field values, such as service names or country names. Field names themselves, error messages, and standard values (for example, true/false for boolean fields) remain in English

Enum:frderuenzhDefault:ru

Responses

200

Successful response for setOperationRevise request: the server moves the pointer to the next SMS received on this number, or throws an exception

Content-Typeapplication/json
Schema
schemaoneOf

Successful response, method-specific error or a common error

One Of
[0]object
[1]object
[2]object

Examples

SMS pointer moved successfully

Successful request execution, pointer moved

{
  "tzid": 10000,
  "response": "1"
}

Code Samples

Generating examples...