tw_get_messages_list {twilio}R Documentation

Get List of Messages Sent and Received from Your Account

Description

Retrieves a list of Twilio SMS and MMS messages sent and receieved from your account.

Usage

tw_get_messages_list(page = 0, page_size = 50)

Arguments

page

The page number of the list you would like to retrieve. Starts at zero.

page_size

The number of messages per page. The maximum number allowed is 1000.

Value

A twilio_messages_list object.

Examples

## Not run: 

# Set API credentials
# You only need to do this once per R session
Sys.setenv(TWILIO_SID = "M9W4Ozq8BFX94w5St5hikg7UV0lPpH8e56")
Sys.setenv(TWILIO_TOKEN = "483H9lE05V0Jr362eq1814Li2N1I424t")

# Get messages sent to your account
messages <- tw_get_messages_list()


## End(Not run)

[Package twilio version 0.1.0 Index]