LogoLogo
About
  • Home
  • Guides
  • BDK
  • REST API
  • Release Notes
  • HTTP
    • DELETE Request
    • GET Request
    • HEAD Request
    • PATCH Request
    • POST Request
    • PUT Request
  • Microsoft Excel
    • Clear the Worksheet Range
    • Create a Table on a Worksheet Range
    • Create a Worksheet Range in a Sheet
    • Delete a Column from the Table
    • Delete a Row from the Table
    • Get the Cell's Color
    • Get the Cell's Formula
    • Get the Cell's Value
    • Get the Column's Cells from the Table
    • Get the Column Count in a Table
    • Get the Column Count in a Worksheet Range
    • Get the File's Sheets
    • Get the Following Row Range In a Worksheet Range
    • Get the Row's Cells from the Table
    • Get the Row's Cells From the Worksheet Range
    • Get the Row Count in a Table
    • Get the Row Count in a Worksheet Range
    • Get the Sheet's Tables
    • Get the Sheet's Used Range
    • Get the Worksheet Range's Rows
    • Get the Worksheet Range from the Table
    • Insert a New Column in the Table
    • Insert a New Row in the Table
    • Read the Content from a Table
    • Read the Content from a Worksheet Range
    • Retrieve the Columns from the Table
    • Retrieve the Rows from the Table
    • Retrieve the Worksheet Range from a Table
    • Set the Cell's Content to a Value
    • Set the Cell's Formula to a Formula Value
    • Write the Content in a Table
    • Write the Content in a Worksheet Range
  • Microsoft Outlook
    • Delete Emails
    • Download an Attachment
    • Forward an Email
    • Get a User's Events
    • Get an Email's Attachments
    • Get Event's Attachments
    • Get Email Folders for a User
    • Get Email Folders
    • Get Events in Calendar
    • Get Events
    • Get Outlook Emails
    • Mark Emails
    • Move Outlook Emails
    • Reply to an Email
    • Send an Email
  • Microsoft SharePoint
    • Add a Column to a SharePoint List
    • Add an Item to a SharePoint List
    • Copy an Item to a Folder
    • Create a Folder in a Document Library
    • Create a Folder in Another Folder
    • Create a List in a SharePoint Site
    • Delete a Column from a List
    • Delete a List in SharePoint
    • Delete an Item from a List
    • Delete an Item from a Document Library
    • Download a File
    • Edit an Item
    • Get a Folder
    • Get a Folder's Items
    • Get a Root Folder from a Document Library
    • Get a SharePoint List as a Table
    • Get Items from a Document Library
    • Get Items from a SharePoint List
    • Get Document Libraries
    • Get Sites from SharePoint
    • Move an Item to a Folder
    • Rename a Column in a List
    • Rename a SharePoint List
    • Rename a SharePoint Item
    • Retrieve Column Definitions from a SharePoint List
    • Retrieve Lists within a SharePoint Site
    • Upload a File to a SharePoint Document Library
  • OpenWeather
    • Get the Current Temperature
  • Truckmate
    • Create An Order in Truckmate
    • Update An Order in Truckmate
  • Twilio
    • To Read Some SMS Messages
    • To Send an SMS Message
Powered by GitBook
On this page
  • Introduction
  • Prerequisites
  • Learning the Twilio Book (BDK)
  • Connectivity
  • Connect using Account SID and Auth Token
  • Concepts
  • Sms message

Was this helpful?

Export as PDF

Twilio

The Twilio book enables users to interact with and manage their communications via the Twilio API.

Last updated 1 month ago

Was this helpful?

Introduction

Twilio provides a comprehensive communication platform, offering features such as SMS, voice calls, video, and chat. Ideal for businesses and developers seeking reliable and scalable communication solutions. The Twilio book ensures secure and seamless access to these services.

Prerequisites

Learning the Twilio Book (BDK)

Connectivity

This Book supports the connectivity methods described in this section. Here, you will find information about what information is required to employ each method.

Connect using Account SID and Auth Token

Establishes a connection to the Twilio API using the provided account SID and auth token.

Label
Description
Type

Account SID

The Account SID from your Twilio account.

text

Auth Token

The Auth Token from your Twilio account.

text

Concepts

Sms message

Typically between mobile phones.

Field Name
Description
Type

sid

The unique, Twilio-provided string that identifies the Message resource.

text?

body

The text content of the message

text?

num_segments

text?

sender_number

text?

recipient_number

text?

price

number?

account_sid

text

num_media

The number of media files associated with the Message resource.

number

status

text?

messaging_service_sid

text

date_sent

datetime?

date_created

datetime?

date_updated

datetime?

price_unit

text

error_code

number?

error_message

The description of the error_code if the Message status is failed or undelivered. If no error was encountered, the value is null.

text?

The number of segments that make up the complete message. SMS message bodies that exceed the are segmented and charged as multiple messages. Note: For messages sent via a Messaging Service, num_segments is initially 0, since a sender hasn't yet been assigned

The sender's phone number (in format), , , , or (e.g., whatsapp:+15554449999). For incoming messages, this is the number or channel address of the sender. For outgoing messages, this value is a Twilio phone number, alphanumeric sender ID, short code, or channel address from which the message is sent

The recipient's phone number (in format) or (e.g. whatsapp:+15552229999)

The amount billed for the message in the currency specified by price_unit. The price is populated after the message has been sent/received, and may not be immediately availalble. View the for more details.

The SID of the associated with the Message resource

The status of the message, for more information about possible statuses see

The SID of the associated with the Message resource. A unique default value is assigned if a Messaging Service is not used.

The timestamp (in GMT) of when the Message was sent. For an outgoing message, this is when Twilio sent the message. For an incoming message, this is when Twilio sent the HTTP request to your incoming message webhook URL.

The timestamp (in GMT) of when the Message resource was created

The timestamp (in GMT) of when the Message resource was last updated

The currency in which price is measured, in format (e.g. usd, eur, jpy).

The returned if the Message status is failed or undelivered. If no error was encountered, the value is null.

character limit
E.164
alphanumeric sender ID
Wireless SIM
short code
channel address
E.164
channel address
Pricing page
Account
Message Status
Messaging Service
RFC 2822
RFC 2822
RFC 2822
ISO 4127
error code