gethttp://api-conserver.onlinesim.io/stubs/handler_api.php?action=getStatus

GET /stubs/handler_api.php?action=getStatus

Get short code from received SMS

This request returns a short code contained in SMS received by the specified number (to see the full text of the message, check getFullSms request).

Security

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

Parameters

query2
NameTypeDescription
action*string

Method name, in this case getStatus

Enum:getStatusDefault:getStatus
id*integer
≥ 1

Operation ID (according to getNumber or getStatus responses)

Example:10000

Responses

200

Successful getStatus response from the server: either returns short code from a received SMS or throws an exception.

Content-Typetext/html
Schema
Responsestring

STATUS:SHORT_CODE

Examples

getStatus example response
STATUS_OK:877613

Code Samples

Generating examples...