Choose where you’d like to start

Send SMS using Hoiio

Note: This task is applicable only to Zoho Creator.

Overview

The hoiio.sms.send task is used to send messages through your Hoiio account using Deluge. For example, imagine you have a Zoho Creator application to track your inventory. You can use this task to send SMS notification to the specified phone number through your Hoiio account, whenever your inventory runs low on stock.

Syntax

<variable> = hoiio.sms.send(<hoiio_connection>, <to_number><message>);

where,

ParameterData typeDescription
<variable> KEY-VALUEis the variable which will hold the response returned by Hoiio.
<hoiio_connection> TEXTis the name of the Hoiio connection.
<to_number>TEXT

is the phone number to which the message must be sent.

The phone number must be in the format: +<country_code><phone_number>

<message>TEXTContents of the message

Send an SMS using Hoiio

The following snippet when executed sends the specified message to the specified number. 

response = hoiio.sms.send("Hoiio", "+91XXXXXXXXXX", "Thank you for subscribing");

where,

ParamExplanation
"Hoiio"is the name of the Hoiio Connection
"+91XXXXXXXXXX"is the phone number to which the message will be sent
"Thank you for subscribing"is the message which will be sent
responseis response returned as KEY-VALUE by Hoiio

Response Format

Following is a sample success response returned by Hoiio:

{"status":"Success"}

Get Started Now

Execute