Skip to main content
Version: Streamsheets 2.5

SMS77.SEND

star This is a premium feature.

Sends an SMS message to specified contact. In its simplest form only text and recipient number are required. But for more advanced settings it is also possible to pass a JSON object containing additional parameters. Please refer to https://www.sms77.io/en/docs/gateway/http-api for more information about available and supported options (as of 2021-05-17).

Syntax

=SMS77.SEND(APIKey, TextOrJSON, [ToContact], [ResponseTarget])

Arguments

NameDescription
APIKeyAn API key to authorize against SMS77 service
TextOrJSONThe text to send or a JSON which contains the text and additional required or optional parameters
ToContact (optional)The recipient number or name to send message to. Not required if specified within passed JSON
ResponseTarget (optional)Specify inbox, outbox, cell or cell-range to write any response to

Return

A unique random request ID which can be used with REQUESTINFO to check the state of the request. In case of an error the corresponding error-code is returned.

Examples

AB
1toMr. Doe
2texthello
3ttl60
FormulaResultComment
=SMS77.SEND("123key","hello","Mr. Doe")
Sends "hello" to Mr. Doe
=SMS77.SEND("123key",JSON(A1:B3))
Same as before but using JSON to specify required information and set optional ttl value to 1h