Skip to content

GET /stubs/handler_api.php?action=getFullSms

Get full SMS text

This request returns a full context of received SMS of a given number.

You might want to use this request when provided by getStatus information is not enough to comprehence or you need some data that is contaied in the message, for example when SMS contains not only a verification code, but also the link for promocode, date and time of receipt or any other information that you want to use in your application.

Security

  • api_key
  • BearerAuth
  • OAuth2 (Scopes: sms-scope)
    • sms-scope: grants access to manage numbers for the SMS receiving service from Onlinesim

Parameters

NameTypeDescription
action*string

Method name, in this case getFullSms

Enum:getFullSmsDefault:getFullSms
id*integer
≥ 1

Operation ID (according to getNumber or getStatus responses)

Example:10000

Responses

200

Successful getFullSms response from the server: either returns
full text of a received SMS or throws an exception.

Code Samples