Nav

Twilio Connector Reference

Default Configuration

Parameters

Name Type Description Default Value Required

Name

String

The name for this configuration. Connectors reference the configuration with this name.

x

Connection

config_connection, Connection

The connection types that can be provided to this configuration.

x

host

String

Host for consuming API

api.twilio.com

port

String

Port for consuming API

443

basePath

String

Basepath for consuming API

/2010-04-01

protocol

String

Protocol for consuming API

HTTPS

username

String

Username

x

password

String

Password

x

Expiration Policy

ExpirationPolicy

Configures the minimum amount of time that a dynamic configuration instance can remain idle before the runtime considers it eligible for expiration. This does not mean the platform expires an eligible instance. The runtime purges instances as it sees fit.

Operations

  • Delete Media

  • Delete Message

  • Get Media

  • Get Media List

  • Get Message

  • Get Message List

  • Redact Message

  • Send Message

Delete Media

<twilio-connector:delete-media>

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

Date Created

String

Only show media created on the given date. Should be formatted as YYYY-MM-DD. You can also specify inequality, such as DateCreated⇐YYYY-MM-DD for media generated at or before midnight on a date, and DateCreated>=YYYY-MM-DD for media generated at or after midnight on a date.

Account Sid

String

A 34 character string that uniquely identifies the user account.

x

Message Sid

String

Unique ID for any message successfully created by Twilio’s API. It is a 34 character string that starts with “SM…” for SMS and “MM…” for MMS. To find the SID for a specific message via the API, make a GET request to the Messages List Resource. This returns a list of SMS messages associated with your account along with details about each message. Provides the Sid property in a message resource.

x

Media Sid

String

Unique ID for any media successfully created by Twilio’s API. It is a 34 character string that starts with “SM…” for SMS and “MM…” for MMS. To find the SID for a specific message via the API, make a GET request to the Messages List Resource. This returns a list of SMS messages associated with your account along with details about each message. Provides the Sid property in a message resource.

x

Target Variable

String

Name of a variable that stores the operation’s output.

Target Value

String

Evaluate this expression against the operation’s output and store the results in the target variable.

#[payload]

Output

Type

String

For Configurations

  • config

Delete Message

<twilio-connector:delete-message>

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

Account Sid

String

A 34 character string that uniquely identifies the user account.

x

Message Sid

String

Unique ID for any message successfully created by Twilio’s API. It is a 34 character string that starts with “SM…” for SMS and “MM…” for MMS. To find the SID for a specific message via the API, make a GET request to the Messages List Resource. This returns a list of SMS messages associated with your account along with details about each message. Provides the Sid property in a message resource.

x

Target Variable

String

Name of a variable that stores the operation’s output.

Target Value

String

Evaluate this expression against the operation’s output and store the results in the target variable.

#[payload]

Output

Type

String

For Configurations

  • config

Get Media

<twilio-connector:get-media>

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

Date Created

String

Only show media created on the given date. Should be formatted as YYYY-MM-DD. You can also specify inequality, such as DateCreated⇐YYYY-MM-DD for media generated at or before midnight on a date, and DateCreated>=YYYY-MM-DD for media generated at or after midnight on a date.

Account Sid

String

A 34 character string that uniquely identifies the user account.

x

Message Sid

String

Unique ID for any message successfully created by Twilio’s API. It is a 34 character string that starts with “SM…” for SMS and “MM…” for MMS. To find the SID for a specific message via the API, make a GET request to the Messages List Resource. This returns a list of SMS messages associated with your account along with details about each message. Provides the Sid property in a message resource.

x

Media Sid

String

Unique ID for any media successfully created by Twilio’s API. It is a 34 character string that starts with “SM…” for SMS and “MM…” for MMS. To find the SID for a specific message via the API, make a GET request to the Messages List Resource. This returns a list of SMS messages associated with your account along with details about each message. Provides the Sid property in a message resource.

x

Target Variable

String

Name of a variable that stores the operation’s output.

Target Value

String

Evaluate this expression against the operation’s output and store the results in the target variable.

#[payload]

Output

Type

Any

For Configurations

  • config

Get Media List

<twilio-connector:get-media-list>

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

Date Created

String

Only show media created on the given date. Should be formatted as YYYY-MM-DD. You can also specify inequality, such as DateCreated⇐YYYY-MM-DD for media generated at or before midnight on a date, and DateCreated>=YYYY-MM-DD for media generated at or after midnight on a date.

Account Sid

String

A 34 character string that uniquely identifies the user account.

x

Message Sid

String

Unique ID for any message successfully created by Twilio’s API. It is a 34 character string that starts with “SM…” for SMS and “MM…” for MMS. To find the SID for a specific message via the API, make a GET request to the Messages List Resource. This returns a list of SMS messages associated with your account along with details about each message. Provides the Sid property in a message resource.

x

Target Variable

String

Name of a variable that stores the operation’s output.

Target Value

String

Evaluate this expression against the operation’s output and store the results in the target variable.

#[payload]

Output

Type

Any

For Configurations

  • config

Get Message

<twilio-connector:get-message>

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

Account Sid

String

A 34 character string that uniquely identifies the user account.

x

Message Sid

String

Unique ID for any message successfully created by Twilio’s API. It is a 34 character string that starts with “SM…” for SMS and “MM…” for MMS. To find the SID for a specific message via the API, make a GET request to the Messages List Resource. This returns a list of SMS messages associated with your account along with details about each message. Provides the Sid property in a message resource.

x

Target Variable

String

Name of a variable that stores the operation’s output.

Target Value

String

Evaluate this expression against the operation’s output and store the results in the target variable.

#[payload]

Output

Type

Any

For Configurations

  • config

Get Message List

<twilio-connector:get-message-list>

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

To

String

Only show messages to this phone number.

From

String

Only show messages from this phone number or alphanumeric sender ID.

Date Sent

String

Only show messages sent on this date (in GMT format), given as YYYY-MM-DD. Example: DateSent=2009-07-06. You can also specify inequality, such as DateSent⇐YYYY-MM-DD for messages that were sent on or before midnight on a date, and DateSent>=YYYY-MM-DD for messages sent on or after midnight on a date.

Account Sid

String

A 34 character string that uniquely identifies the user account.

x

Target Variable

String

Name of a variable that stores the operation’s output.

Target Value

String

Evaluate this expression against the operation’s output and store the results in the target variable.

#[payload]

Output

Type

Any

For Configurations

  • config

Redact Message

<twilio-connector:redact-message>

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

Redact Message Request Data

Any

#[payload]

Account Sid

String

A 34 character string that uniquely identifies the user account.

x

Message Sid

String

Unique ID for any message successfully created by Twilio’s API. It is a 34 character string that starts with “SM…” for SMS and “MM…” for MMS. To find the SID for a specific message via the API, make a GET request to the Messages List Resource. This returns a list of SMS messages associated with your account along with details about each message. It provides the Sid property in a message resource.

x

Target Variable

String

Name of a variable that stores the operation’s output.

Target Value

String

Evaluate this expression against the operation’s output and store the results in the target variable.

#[payload]

Output

Type

Any

For Configurations

  • config

Send Message

<twilio-connector:send-message>

Parameters

Name Type Description Default Value Required

Configuration

String

The name of the configuration to use.

x

Send Message Request Data

Any

#[payload]

Account Sid

String

A 34 character string that uniquely identifies the user account.

x

Target Variable

String

Name of a variable that stores the operation’s output.

Target Value

String

Evaluate this expression against the operation’s output and store the results in the target variable.

#[payload]

Output

Type

Any

For Configurations

  • config

Expiration Policy Type

Field Type Description Default Value Required

Max Idle Time

Number

A scalar time value for the maximum amount of time a dynamic configuration instance should be allowed to be idle before it’s considered eligible for expiration.

Time Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

A time unit that qualifies the maxIdleTime attribute.

We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used and to tailor advertising. You can read more and make your cookie choices here. By continuing to use this site you are giving us your consent to do this.

+