get
http://api-conserver.onlinesim.io/stubs/handler_api.php?action=setStatusGET /stubs/handler_api.php?action=setStatus
Change operation status
This request allows you to change the status of the operation according to its results (cancel operation, get next SMS code, close operation).
You might want to use this request when you want explicitly change the status of the operation, for example when your application needs to retrieve information from the second message received by this number.
Security
OAuth2
-
sms-scope - grants access to manage numbers for the SMS receiving service from Onlinesim
Parameters
query3
| Name | Type | Description |
|---|---|---|
action* | string | Method name, in this case Enum: setStatusDefault:setStatus |
id* | integer≥ 1 | Example: 10000 |
status* | integer | Status code:
Enum: 136Example:6 |
Responses
200Successful setStatus response from the server: either switches
operation status to the specified or throws an exception.
Successful setStatus response from the server: either switches
operation status to the specified or throws an exception.
Content-Type
text/htmlSchema
Responsestring
Examples
`Operation closed` response
ACCESS_ACTIVATION`Ready to receive another message` response
ACCESS_RETRY_GETCode Samples
Generating examples...