Skip to content

Usage


Twilio SMS main functionality

Function: twilio_sendsms

Description: Use Twilio to send an SMS message

Input parameters:

  • TO_CELL_NUMBER (required): The destination cell phone number.
  • MSG (required): The SMS message body.
  • TWILIO_NUMBER (optional): The message to publish.

Return type:

  • varchar(32000) ccsid 1208

Return value:

  • Response message from API call

Twilio SMS utility functions

Function: twilio_setsidforjob

Description: Sets the Twilio Account SID for the current job

Input parameters:

  • ACCOUNT_SID (required): The Twilio Account SID.

Function: twilio_setsidforme

Description: Sets the Twilio Account SID for the current user profile (persists across jobs)

Input parameters:

  • ACCOUNT_SID (required): The Twilio Account SID.

Function: twilio_setauthtokenforjob

Description: Sets the Twilio authentication token for the current job

Input parameters:

  • AUTHTOKEN (required): The Twilio authentication token.

Function: twilio_setauthtokenforme

Description: Sets the Twilio authentication token for the current user profile (persists across jobs)

Input parameters:

  • AUTHTOKEN (required): The Twilio authentication token.