| Namespace | http://www.mulesoft.org/schema/mule/twilio |
|---|---|
| Schema Location | http://www.mulesoft.org/schema/mule/twilio/current/mule-twilio.xsd (View Schema) |
| Schema Version | 1.0 |
| Minimum Mule Version | 3.2 |
Twilio is a provider of cloud API for voice and SMS communications for customers who want to use phone services as marketing leverage.
| Configuration | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Configure an instance of this module
| |||||||||||
| Message Processors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Adds a new phone number to your account.
| |||||||||||
Adds a new phone number to your account.
| |||||||||||
Adds a new CallerID to your account.
| |||||||||||
Modify the state of a live call.
| |||||||||||
Creates a new application within your account.
| |||||||||||
Creates a new subaccount.
| |||||||||||
Delete this application.
| |||||||||||
Release this phone number from your account.
| |||||||||||
Deletes the notification identified by {NotificationSid} from an account's log.
| |||||||||||
Deletes the caller ID from the account.
| |||||||||||
Kick this participant from the conference.
| |||||||||||
Deletes a recording from your account.
| |||||||||||
Trasfers a number between two subaccounts.
| |||||||||||
Returns a representation of an account.
| |||||||||||
Retrieve a list of the Account resources belonging to the account used to make the API request.
| |||||||||||
Returns a list of Application resource representations, each representing an application within your account.
| |||||||||||
Returns a list of notifications generated for an account.
| |||||||||||
Returns a list of OutgoingCallerId resource representations, each representing a Caller ID number valid for an account.
| |||||||||||
Returns a list of SMS messages associated with your account.
| |||||||||||
Returns an application resource matching the given application sid.
| |||||||||||
Returns a list of local AvailablePhoneNumber resource representations that match the specified filters, each representing a phone number that is currently available for provisioning within your account.
| |||||||||||
Returns a list of local AvailablePhoneNumber resource representations that match the specified filters, each representing a phone number that is currently available for provisioning within your account.
| |||||||||||
Returns a list of toll-free AvailablePhoneNumber elements that match the specified filters, each representing a phone number that is currently available for provisioning within your account.
| |||||||||||
Returns the single Call resource identified by the given call sid.
| |||||||||||
Returns a list of phone calls made to and from the account identified by the given account sid.
| |||||||||||
Returns a representation of the conference identified by the given conference id.
| |||||||||||
Returns a list of conferences within an account.
| |||||||||||
Returns a list of IncomingPhoneNumber resource representations, each representing a phone number given to your account.
| |||||||||||
Returns an incoming phone numbers matching the given query filters.
| |||||||||||
Return a notificaction resource for the given notification sid.
| |||||||||||
Returns a list of notifications generated for an account.
| |||||||||||
Returns an outgoing caller id instance matching the given filters.
| |||||||||||
Returns a representation of this participant.
| |||||||||||
Returns the list of participants in the conference identified by the given conference sid.
| |||||||||||
Returns one of several representations depending on the given recording type.
| |||||||||||
Returns a list of Recording resource representations, each representing a recording generated during the course of a phone call.
| |||||||||||
Returns the Sandbox resource associated with the account identified by {YourAccountSid}.
| |||||||||||
Returns a single SMS message specified by the provided SMS message sid.
| |||||||||||
Subaccounts in Twilio are just accounts that are "owned" by another account.
| |||||||||||
Subaccounts in Twilio are just accounts that are "owned" by another account.
| |||||||||||
Returns a single Transcription resource representation identified by the given transcription sid.
| |||||||||||
Returns a set of Transcription resource representations that includes paging information, sorted by 'DateUpdated', with most recent transcripts first.
| |||||||||||
Initiates a call using the given paramaters.
| |||||||||||
Send an outgoing SMS message.
| |||||||||||
Allows you to modify the properties of an account.
| |||||||||||
Tries to update the application's properties, and returns the updated resource representation if successful.
| |||||||||||
Tries to update the incoming phone number's properties, and returns the updated resource representation if successful.
| |||||||||||
Updates the caller id, and returns the updated resource if successful.
| |||||||||||
Updates the participant status.
| |||||||||||
You can POST to the Sandbox resource to update the TwiML voice and SMS URLs associated with the sandbox number.
| |||||||||||
To use the this module within a flow the namespace to the module must be included. The resulting flow will look similar to the following:
<mule xmlns="http://www.mulesoft.org/schema/mule/core"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:twilio="http://www.mulesoft.org/schema/mule/twilio"
xsi:schemaLocation="
http://www.mulesoft.org/schema/mule/core
http://www.mulesoft.org/schema/mule/core/current/mule.xsd
http://www.mulesoft.org/schema/mule/twilio
http://www.mulesoft.org/schema/mule/twilio/current/mule-twilio.xsd">
<!-- here goes your flows and configuration elements -->
</mule>
This module is configured using the config element. This element must be placed outside of your flows and at the root of your Mule application. You can create as many configurations as you deem necessary as long as each carries its own name.
Each message processor, message source or transformer carries a config-ref attribute that allows the invoker to specify which configuration to use.
| Attributes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Type | Name | Default Value | Description | Java Type | MIME Type | Encoding | Optional. Give a name to this configuration so it can be later referenced. | ||||
| The account sid to be used to connect to Twilio. | |||||||||||
| The authentication token to be used to connect to Twilio | |||||||||||
Adds a new phone number to your account. If a phone number is found for your request, Twilio will add it to your account and bill you for the first month's cost of the phone number. If Twilio can't find a phone number to match your request, you will receive an HTTP 400 with Twilio error code 21452. If successful, Twilio responds with a representation of the new phone number that was assigned to your account.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| Optional. Optionally override globally configured Account SID | String | */* | UTF-8 | ||
| The area code in which you'd like a new incoming phone number. Any three digit, US area code is valid. Twilio will provision a random phone number within this area code for you. | String | */* | UTF-8 | ||
| Optional. A human readable description of the new incoming phone number. Maximum 64 characters. Defaults to a formatted version of the number. | String | */* | UTF-8 | ||
| Optional. The URL that Twilio should request when somebody dials the new phone number. | String | */* | UTF-8 | ||
| Optional. The HTTP method that should be used to request the VoiceUrl. Must be either GET or POST. Defaults to POST. | HttpMethod | */* | |||
| Optional. A flow that Twilio will request if an error occurs requesting or executing the TwiML at Url. | HttpCallback | */* | |||
| Optional. A flow that Twilio will request to pass status parameters (such as call ended) to your application. | HttpCallback | */* | |||
| Optional. Do a lookup of a caller's name from the CNAM database and post it to your app. Either true or false. Defaults to false. | Boolean | */* | |||
| Optional. The 34 character sid of the application Twilio should use to handle phone calls to the new number. If a VoiceApplicationSid is present, Twilio will ignore all of the voice urls above and use those set on the application. | String | */* | UTF-8 | ||
| Optional. The URL that Twilio should request when somebody sends an SMS to the phone number. | String | */* | UTF-8 | ||
| Optional. The HTTP method that should be used to request the SmsUrl. Must be either GET or POST. Defaults to POST. | HttpMethod | */* | |||
| Optional. A flow that Twilio will request if an error occurs requesting or executing the TwiML defined by SmsUrl. | HttpCallback | */* | |||
| Optional. The 34 character sid of the application Twilio should use to handle SMSs sent to the new number. If a SmsApplicationSid is present, Twilio will ignore all of the SMS urls above and use those set on the application. | String | */* | UTF-8 |
| Return Type | Description |
|---|---|
| String | If successful, Twilio responds with a representation of the new phone number that was assigned to your account. |
Adds a new phone number to your account. If a phone number is found for your request, Twilio will add it to your account and bill you for the first month's cost of the phone number. If Twilio can't find a phone number to match your request, you will receive an HTTP 400 with Twilio error code 21452. If successful, Twilio responds with a representation of the new phone number that was assigned to your account.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| Optional. Optionally override globally configured Account SID | String | */* | UTF-8 | ||
| The phone number you want to purchase. The number should be formated starting with a '+' followed by the country code and the number in E.164 format e.g., '+15105555555'. | String | */* | UTF-8 | ||
| Optional. A human readable description of the new incoming phone number. Maximum 64 characters. Defaults to a formatted version of the number. | String | */* | UTF-8 | ||
| Optional. The URL that Twilio should request when somebody dials the new phone number. | String | */* | UTF-8 | ||
| Optional. The HTTP method that should be used to request the VoiceUrl. Must be either GET or POST. Defaults to POST. | HttpMethod | */* | |||
| Optional. A flow that Twilio will request if an error occurs requesting or executing the TwiML at Url. | HttpCallback | */* | |||
| Optional. A flow that Twilio will request to pass status parameters (such as call ended) to your application. | HttpCallback | */* | |||
| Optional. Do a lookup of a caller's name from the CNAM database and post it to your app. Either true or false. Defaults to false. | Boolean | */* | |||
| Optional. The 34 character sid of the application Twilio should use to handle phone calls to the new number. If a VoiceApplicationSid is present, Twilio will ignore all of the voice urls above and use those set on the application. | String | */* | UTF-8 | ||
| Optional. The URL that Twilio should request when somebody sends an SMS to the phone number. | String | */* | UTF-8 | ||
| Optional. The HTTP method that should be used to request the SmsUrl. Must be either GET or POST. Defaults to POST. | HttpMethod | */* | |||
| Optional. A flow that Twilio will request if an error occurs requesting or executing the TwiML defined by SmsUrl. | HttpCallback | */* | |||
| Optional. The 34 character sid of the application Twilio should use to handle SMSs sent to the new number. If a SmsApplicationSid is present, Twilio will ignore all of the SMS urls above and use those set on the application. | String | */* | UTF-8 |
| Return Type | Description |
|---|---|
| String | If successful, Twilio responds with a representation of the new phone number that was assigned to your account. |
Adds a new CallerID to your account. After making this request, Twilio will return to you a validation code and Twilio will dial the phone number given to perform validation. The code returned must be entered via the phone before the CallerID will be added to your account.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| Optional. Optionally override globally configured Account SID | String | */* | UTF-8 | ||
| The phone number to verify. Should be formatted with a '+' and country code e.g., +16175551212 (E.164 format). Twilio will also accept unformatted US numbers e.g., (415) 555-1212, 415-555-1212. | String | */* | UTF-8 | ||
| Optional. A human readable description for the new caller ID with maximum length 64 characters. Defaults to a nicely formatted version of the number. | String | */* | UTF-8 | ||
| Optional. The number of seconds, between 0 and 60, to delay before initiating the validation call. Defaults to 0. | Integer | */* | |||
| Optional. Digits to dial after connecting the validation call. | String | */* | UTF-8 |
| Return Type | Description |
|---|---|
| String | a validation request (see validation request propertie) |
Modify the state of a live call. Returns the call representation.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| Optional. Optionally override globally configured Account SID | String | */* | UTF-8 | ||
| The call sid to modify | String | */* | UTF-8 | ||
| Optional. A valid URL that returns TwiML. Twilio will immediately redirect the call to the new TwiML. | String | */* | UTF-8 | ||
| Optional. The HTTP method Twilio should use when requesting the above URL. Defaults to POST. | HttpMethod | */* | |||
| Optional. Either canceled or completed. Specifying canceled will attempt to hangup calls that are queued or ringing but not affect calls already in progress. Specifying completed will attempt to hang up a call even if it's already in progress. | String | */* | UTF-8 |
| Return Type | Description |
|---|---|
| String | the call representation |
Creates a new application within your account. If successful, Twilio responds with a representation of the new application.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| Optional. Optionally override globally configured Account SID | String | */* | UTF-8 | ||
| A human readable description of the new application. Maximum 64 characters. | String | */* | UTF-8 | ||
| Optional. Requests to this application's URLs will start a new TwiML session with this API version. Either 2010-04-01 or 2008-08-01. Defaults to your account's default API version. | String | */* | UTF-8 | ||
| Optional. The URL that Twilio should request when somebody dials a phone number assigned to this application | String | */* | UTF-8 | ||
| Optional. The HTTP method that should be used to request the VoiceUrl. Must be either GET or POST. Defaults to POST. | HttpMethod | */* | |||
| Optional. A flow that Twilio will request if an error occurs requesting or executing the TwiML at Url. | HttpCallback | */* | |||
| Optional. A flow that Twilio will request to pass status parameters (such as call ended) to your application. | HttpCallback | */* | |||
| Optional. Do a lookup of a caller's name from the CNAM database and post it to your app. Either true or false. Defaults to false. | Boolean | */* | |||
| Optional. The URL that Twilio should request when somebody sends an SMS to a phone number assigned to this application. | String | */* | UTF-8 | ||
| Optional. The HTTP method that should be used to request the SmsUrl. Must be either GET or POST. Defaults to POST. | HttpMethod | */* | |||
| Optional. A flow that Twilio will request if an error occurs requesting or executing the TwiML defined by SmsUrl. | HttpCallback | */* | |||
| Optional. Twilio will make a POST request to this flow to pass status parameters (such as sent or failed) to your application if you specify this application's Sid as the ApplicationSid on an outgoing SMS request. | HttpCallback | */* |
| Return Type | Description |
|---|---|
| String | If successful, Twilio responds with a representation of the new application. |
Creates a new subaccount.
Subaccounts in Twilio are just accounts that are "owned" by another account. Using a subaccount you can segment each of your customers' use of Twilio and keep it separate from all the rest, allowing you to easily manage the activity and resources of each customer independently. For instance, if you are running a hosted service that relies on Twilio you can create a Twilio subaccount for each customer that signs up. Then if a customer closes his or her account with your service, you can simply deactivate the associated Twilio subaccount.INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| Optional. A human readable description of the new subaccount, up to 64 characters. Defaults to "SubAccount Created at {YYYY-MM-DD HH:MM meridiam}". | String | */* | UTF-8 |
| Return Type | Description |
|---|---|
| String | a representation of the account |
Delete this application. If this application's sid is assigned to any IncomingPhoneNumber resources as a VoiceApplicationSid or SmsApplicationSid it will be removed.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| Optional. Optionally override globally configured Account SID | String | */* | UTF-8 | ||
| The application sid to use | String | */* | UTF-8 |
| Return Type | Description |
|---|---|
| String | If succesful, Twilio will return an HTTP 204 response with no body. |
Release this phone number from your account. Twilio will no longer answer calls to this number, and you will stop being billed the monthly phone number fee. The phone number will eventually be recycled and potentially given to another customer, so use with care.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| Optional. Optionally override globally configured Account SID | String | */* | UTF-8 | ||
| The incoming phone number sid to delete | String | */* | UTF-8 |
| Return Type | Description |
|---|---|
| String | if succesful, returns an HTTP 204 response with no body. |
Deletes the notification identified by {NotificationSid} from an account's log.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| Optional. Optionally override globally configured Account SID | String | */* | UTF-8 | ||
| The notification sid to use | String | */* | UTF-8 |
| Return Type | Description |
|---|---|
| String | If successful, returns HTTP status 204 (No Content) with no body. |
Deletes the caller ID from the account. Returns an HTTP 204 response if successful, with no body.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| Optional. Optionally override globally configured Account SID | String | */* | UTF-8 | ||
| The outgoing caller id sid to delete | String | */* | UTF-8 |
| Return Type | Description |
|---|---|
| String | an HTTP 204 response if successful, with no body. |
Kick this participant from the conference. Returns HTTP 204 (No Content), with no body, if the participant was successfuly booted from the conference.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| Optional. Optionally override globally configured Account SID | String | */* | UTF-8 | ||
| The conference sid to use | String | */* | UTF-8 | ||
| The call sid to use | String | */* | UTF-8 |
| Return Type | Description |
|---|---|
| String | Returns HTTP 204 (No Content), with no body, if the participant was successfuly booted from the conference. |
Deletes a recording from your account. If successful, returns HTTP 204 (No Content) with no body.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| Optional. Optionally override globally configured Account SID | String | */* | UTF-8 | ||
| The recording sid to use. | String | */* | UTF-8 |
| Return Type | Description |
|---|---|
| String | If successful, returns HTTP 204 (No Content) with no body. |
Trasfers a number between two subaccounts.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| Optional. The account sid from where to get the number, leave empty to use accountSid | String | */* | UTF-8 | ||
| The incoming phone number sid to transfer | String | */* | UTF-8 | ||
| The account sid where to transfer the phone number. | String | */* | UTF-8 |
| Return Type | Description |
|---|---|
| String | an incoming phone number instance. |
Returns a representation of an account.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| Optional. The account sid for which to get the details, leave empty to use to use accountSid | String | */* | UTF-8 |
| Return Type | Description |
|---|---|
| String | a representation of the account |
Retrieve a list of the Account resources belonging to the account used to make the API request. This list will include that Account as well.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| Optional. Only return Account resources with the given status. Can be closed, suspended or active. | AccountStatus | */* | |||
| Optional. Only return the Account resources with friendly names that exactly match this name. | String | */* | UTF-8 |
| Return Type | Description |
|---|---|
| String | a list of the Account resources belonging to the account used to make the API request. This list will include that Account as well. |
Returns a list of Application resource representations, each representing an application within your account. The list includes paging information.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| Optional. Optionally override globally configured Account SID | String | */* | UTF-8 | ||
| Optional. Only return the Application resources with friendly names that exactly match this name. | String | */* | UTF-8 |
| Return Type | Description |
|---|---|
| String | a list of Application resource representations |
Returns a list of notifications generated for an account. The list includes paging information and is sorted by DateUpdated, with most recent notifications first.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| Optional. Optionally override globally configured Account SID | String | */* | UTF-8 | ||
| Optional. An integer log level corresponding to the type of notification: 0 is ERROR, 1 is WARNING. | Integer | */* | |||
| Optional. Only show notifications for this date. Should be formatted as YYYY-MM-DD. You can also specify inequality, such as MessageDate<=YYYY-MM-DD for messages logged at or before midnight on a date, and MessageDate>=YYYY-MM-DD for messages logged at or after midnight on a date. | String | */* | UTF-8 |
| Return Type | Description |
|---|---|
| String | a list of notifications generated for an account |
Returns a list of OutgoingCallerId resource representations, each representing a Caller ID number valid for an account. The list includes paging information.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| Optional. Optionally override globally configured Account SID | String | */* | UTF-8 | ||
| Optional. Only show the caller id resource that exactly matches this phone number. | String | */* | UTF-8 | ||
| Optional. Only show the caller id resource that exactly matches this name. | String | */* | UTF-8 |
| Return Type | Description |
|---|---|
| String | a list of OutgoingCallerId resource representations |
Returns a list of SMS messages associated with your account. The list includes paging information and is sorted by DateSent, with most recent messages first.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| Optional. Optionally override globally configured Account SID | String | */* | UTF-8 | ||
| Optional. Only show SMS messages to this phone number. | String | */* | UTF-8 | ||
| Optional. Only show SMS messages from this phone number. | String | */* | UTF-8 | ||
| Optional. Only show SMS messages sent on this date, given as YYYY-MM-DD. Example: DateSent=2009-07-06. You can also specify inequality, such as DateSent<=YYYY-MM-DD for SMS messages that were sent on or before midnight on a date, and DateSent>=YYYY-MM-DD for SMS messages sent on or after midnight on a date. | String | */* | UTF-8 |
| Return Type | Description |
|---|---|
| String | a list of SMS messages associated with your account |
Returns an application resource matching the given application sid.
An Application instance resource represents an application that you have created with Twilio. An application inside of Twilio is just a set of URLs and other configuration data that tells Twilio how to behave when one of your Twilio numbers receives a call or SMS message.INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| Optional. Optionally override globally configured Account SID | String | */* | UTF-8 | ||
| The application sid to use in the query | String | */* | UTF-8 |
| Return Type | Description |
|---|---|
| String | an application resource matching the given application sid. |
Returns a list of local AvailablePhoneNumber resource representations that match the specified filters, each representing a phone number that is currently available for provisioning within your account.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| Optional. Optionally override globally configured Account SID | String | */* | UTF-8 | ||
| A country code in ISO 3166-1 alpha-2 format (e.g. 'US' for United States, 'CA' for Canada). | String | */* | UTF-8 | ||
| Optional. Find phone numbers in the specified Area Code. Only available for North American numbers. | String | */* | UTF-8 | ||
| Optional. A pattern to match phone numbers on. Valid characters are '*' and [0-9a-zA-Z]. The '*' character will match any single digit. | String | */* | UTF-8 | ||
| Optional. Limit results to a particular region (i.e. State/Province). Given a phone number, search within the same Region as that number. | String | */* | UTF-8 | ||
| Optional. Limit results to a particular postal code. Given a phone number, search within the same postal code as that number. | String | */* | UTF-8 |
| Return Type | Description |
|---|---|
| String | a list of local AvailablePhoneNumber resource representations that match the specified filters |
Returns a list of local AvailablePhoneNumber resource representations that match the specified filters, each representing a phone number that is currently available for provisioning within your account.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| Optional. Optionally override globally configured Account SID | String | */* | UTF-8 | ||
| A country code in ISO 3166-1 alpha-2 format (e.g. 'US' for United States, 'CA' for Canada). | String | */* | UTF-8 | ||
| Optional. Find phone numbers in the specified Area Code. Only available for North American numbers. | String | */* | UTF-8 | ||
| Optional. A pattern to match phone numbers on. Valid characters are '*' and [0-9a-zA-Z]. The '*' character will match any single digit. | String | */* | UTF-8 | ||
| Optional. Limit results to a particular region (i.e. State/Province). Given a phone number, search within the same Region as that number. | String | */* | UTF-8 | ||
| Optional. Limit results to a particular postal code. Given a phone number, search within the same postal code as that number. | String | */* | UTF-8 | ||
| Optional. Given a latitude/longitude pair lat,long find geographically close numbers within Distance miles. | String | */* | UTF-8 | ||
| Optional. Given a phone number, find a geographically close number within Distance miles. Distance defaults to 25 miles. | String | */* | UTF-8 | ||
| Optional. Limit results to a specific Local access and transport area (LATA). Given a phone number, search within the same LATA as that number. | String | */* | UTF-8 | ||
| Optional. Limit results to a specific rate center, or given a phone number search within the same rate center as that number. Requires InLata to be set as well. | String | */* | UTF-8 | ||
| Optional. Specifies the search radius for a Near- query in miles. If not specified this defaults to 25 miles. | String | */* | UTF-8 |
| Return Type | Description |
|---|---|
| String | a list of local AvailablePhoneNumber resource representations that match the specified filters |
Returns a list of toll-free AvailablePhoneNumber elements that match the specified filters, each representing a phone number that is currently available for provisioning within your account.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| Optional. Optionally override globally configured Account SID | String | */* | UTF-8 | ||
| A country code in ISO 3166-1 alpha-2 format (e.g. 'US' for United States, 'CA' for Canada). | String | */* | UTF-8 | ||
| Optional. A pattern to match phone numbers on. Valid characters are '*' and [0-9a-zA-Z]. The '*' character will match any single digit. | String | */* | UTF-8 |
| Return Type | Description |
|---|---|
| String | a list of toll-free AvailablePhoneNumber elements that match the specified filters |
Returns the single Call resource identified by the given call sid.
A Call instance resource represents a connection between a telephone and Twilio. This may be inbound, when a person calls your application, or outbound, when your application initiates the call, either via the REST API (see Making Calls) or during a call via the TwiMLINCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| Optional. Optionally override globally configured Account SID | String | */* | UTF-8 | ||
| The call sid to use in the query | String | */* | UTF-8 |
| Return Type | Description |
|---|---|
| String | the single Call resource identified by the given call sid. |
Returns a list of phone calls made to and from the account identified by the given account sid. The list includes paging information and is sorted by DateUpdated with most-recent calls first.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| Optional. Optionally override globally configured Account SID | String | */* | UTF-8 | ||
| Optional. Only show calls to this phone number. | String | */* | UTF-8 | ||
| Optional. Only show calls from this phone number. | String | */* | UTF-8 | ||
| Optional. Only show calls currently in this status. May be queued, ringing, in-progress, completed, failed, busy, or no-answer. | String | */* | UTF-8 | ||
| Optional. Only show calls that started on this date, given as YYYY-MM-DD. Also supports inequalities, such as StartTime<=YYYY-MM-DD for calls that started at or before midnight on a date, and StartTime>=YYYY-MM-DD for calls that started at or after midnight on a date. | String | */* | UTF-8 |
| Return Type | Description |
|---|---|
| String | a list of phone calls made to and from the account identified by the given account sid |
Returns a representation of the conference identified by the given conference id.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| Optional. Optionally override globally configured Account SID | String | */* | UTF-8 | ||
| The conference sid to use in the query | String | */* | UTF-8 |
| Return Type | Description |
|---|---|
| String | a representation of the conference identified by the given conference id. |
Returns a list of conferences within an account. The list includes paging information and is sorted by DateUpdated, with most recent conferences first.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| Optional. Optionally override globally configured Account SID | String | */* | UTF-8 | ||
| Optional. Only show conferences currently in with this status. May be init, in-progress, or completed. | String | */* | UTF-8 | ||
| Optional. List conferences who's FriendlyName is the exact match of this string. | String | */* | UTF-8 | ||
| Optional. Only show conferences that started on this date, given as YYYY-MM-DD. You can also specify inequality, such as DateCreated<=YYYY-MM-DD for conferences that started at or before midnight on a date, and DateCreated>=YYYY-MM-DD for conferences that started at or after midnight on a date. | String | */* | UTF-8 | ||
| Optional. Only show conferences that were last updated on this date, given as YYYY-MM-DD. You can also specify inequality, such as DateUpdated<=YYYY-MM-DD for conferences that were last updated at or before midnight on a date, and DateUpdated>=YYYY-MM-DD for conferences that were updated at or after midnight on a date. | String | */* | UTF-8 |
| Return Type | Description |
|---|---|
| String | a list of conferences within an account |
Returns a list of IncomingPhoneNumber resource representations, each representing a phone number given to your account. The list includes paging information.
An IncomingPhoneNumber instance resource represents a Twilio phone number purchased from Twilio or ported to Twilio.INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| Optional. Optionally override globally configured Account SID | String | */* | UTF-8 | ||
| Optional. Only show the incoming phone number resources that match this pattern. You can specify partial numbers and use '*' as a wildcard for any digit. | String | */* | UTF-8 | ||
| Optional. Only show the incoming phone number resources with friendly names that exactly match this name. | String | */* | UTF-8 |
| Return Type | Description |
|---|---|
| String | a list of IncomingPhoneNumber resource representations |
Returns an incoming phone numbers matching the given query filters.
An IncomingPhoneNumber instance resource represents a Twilio phone number purchased from Twilio or ported to Twilio.INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| Optional. Optionally override globally configured Account SID | String | */* | UTF-8 | ||
| The incoming phone number sid to use in the query | String | */* | UTF-8 |
| Return Type | Description |
|---|---|
| String | an incoming phone number matching the given incoming phone number sid |
Return a notificaction resource for the given notification sid.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| Optional. The account sid to use in the query | String | */* | UTF-8 | ||
| The notification sid to use in the query | String | */* | UTF-8 |
| Return Type | Description |
|---|---|
| String | a notificaction resource for the given notification sid. |
Returns a list of notifications generated for an account. The list includes paging information and is sorted by DateUpdated, with most recent notifications first.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| Optional. Optionally override globally configured Account SID | String | */* | UTF-8 | ||
| The call sid to use in the query | String | */* | UTF-8 | ||
| Optional. An integer log level corresponding to the type of notification: 0 is ERROR, 1 is WARNING. | Integer | */* | |||
| Optional. Only show notifications for this date. Should be formatted as YYYY-MM-DD. You can also specify inequality, such as MessageDate<=YYYY-MM-DD for messages logged at or before midnight on a date, and MessageDate>=YYYY-MM-DD for messages logged at or after midnight on a date. | String | */* | UTF-8 |
| Return Type | Description |
|---|---|
| String | a list of notifications generated for an account for the given call sid. |
Returns an outgoing caller id instance matching the given filters.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| Optional. Optionally override globally configured Account SID | String | */* | UTF-8 | ||
| The outgoing caller id sid to use in the query | String | */* | UTF-8 |
| Return Type | Description |
|---|---|
| String | an outgoing caller id instance matching the given filters. |
Returns a representation of this participant.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| Optional. Optionally override globally configured Account SID | String | */* | UTF-8 | ||
| The conference sid to use in the query | String | */* | UTF-8 | ||
| The call sid to use in the query | String | */* | UTF-8 |
| Return Type | Description |
|---|---|
| String | a representation of this participant. |
Returns the list of participants in the conference identified by the given conference sid.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| Optional. Optionally override globally configured Account SID | String | */* | UTF-8 | ||
| The conference sid to use in the query | String | */* | UTF-8 | ||
| Optional. Only show participants that are muted or unmuted. Either true or false. | Boolean | */* |
| Return Type | Description |
|---|---|
| String | he list of participants in the conference identified by the given conference sid. |
Returns one of several representations depending on the given recording type.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| Optional. Optionally override globally configured Account SID | String | */* | UTF-8 | ||
| The recording sid to use in the query | String | */* | UTF-8 | ||
| The recording type to use | RecordingType | */* |
| Return Type | Description |
|---|---|
| String | a recording representation. |
Returns a list of Recording resource representations, each representing a recording generated during the course of a phone call. The list includes paging information.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| Optional. Optionally override globally configured Account SID | String | */* | UTF-8 | ||
| Optional. Show only recordings made during the call given by this sid. | String | */* | UTF-8 | ||
| Optional. Only show recordings created on the given date. Should be formatted as YYYY-MM-DD. You can also specify inequality, such as DateCreated<=YYYY-MM-DD for recordings generated at or before midnight on a date, and DateCreated>=YYYY-MM-DD for recordings generated at or after midnight on a date. | String | */* | UTF-8 |
| Return Type | Description |
|---|---|
| String | a list of Recording resource representations. |
Returns the Sandbox resource associated with the account identified by {YourAccountSid}. Twilio accounts upgraded prior to February 2010 may not have a Sandbox resource, and in this case you will receive a 404 (Not Found) response.
The Sandbox resource gives you programatic access to your Twilio Developer Sandbox phone number. Using this resource you can get the phone number and PIN for your sandbox, view the current voice and SMS URLs and update those URLs just like any other IncomingPhoneNumber resource on a Full Twilio Account.INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| Optional. Optionally override globally configured Account SID | String | */* | UTF-8 |
| Return Type | Description |
|---|---|
| String | the Sandbox resource associated with the account identified by {YourAccountSid}. Twilio accounts upgraded prior to February 2010 may not have a Sandbox resource, and in this case you will receive a 404 (Not Found) response. |
Returns a single SMS message specified by the provided SMS message sid.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| Optional. Optionally override globally configured Account SID | String | */* | UTF-8 | ||
| The SMS message sid to use in the query. | String | */* | UTF-8 |
| Return Type | Description |
|---|---|
| String | a single SMS message specified by the provided SMS message sid. |
Subaccounts in Twilio are just accounts that are "owned" by another account. Using a subaccount you can segment each of your customers' use of Twilio and keep it separate from all the rest, allowing you to easily manage the activity and resources of each customer independently.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| The account sid to use in the query | String | */* | UTF-8 |
| Return Type | Description |
|---|---|
| String | a representation of the subaccount |
Subaccounts in Twilio are just accounts that are "owned" by another account. Using a subaccount you can segment each of your customers' use of Twilio and keep it separate from all the rest, allowing you to easily manage the activity and resources of each customer independently.
For instance, if you are running a hosted service that relies on Twilio you can create a Twilio subaccount for each customer that signs up. Then if a customer closes his or her account with your service, you can simply deactivate the associated Twilio subaccount.INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| The friendly name to use in the query | String | */* | UTF-8 |
| Return Type | Description |
|---|---|
| String | a representation of the subaccount |
Returns a single Transcription resource representation identified by the given transcription sid.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| Optional. Optionally override globally configured Account SID | String | */* | UTF-8 | ||
| The transcription sid to use in the query. | String | */* | UTF-8 | ||
| The transcription format of the response | TranscriptionFormat | */* |
| Return Type | Description |
|---|---|
| String | a single Transcription resource representation identified by the given transcription sid. |
Returns a set of Transcription resource representations that includes paging information, sorted by 'DateUpdated', with most recent transcripts first.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| Optional. Optionally override globally configured Account SID | String | */* | UTF-8 | ||
| Optional. The recording sid to use in the query | String | */* | UTF-8 | ||
| The transcription format for the response | TranscriptionFormat | */* |
| Return Type | Description |
|---|---|
| String | a set of Transcription resource representations |
Initiates a call using the given paramaters. Only one of url or applicationSid parameters must be specified, not both. Returns the call representation.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| Optional. Optionally override globally configured Account SID | String | */* | UTF-8 | ||
| The phone number to use as the caller id. Format with a '+' and country code e.g., +16175551212 (E.164 format). Must be a Twilio number or a valid outgoing caller id for your account. | String | */* | UTF-8 | ||
| The number to call formatted with a '+' and country code e.g., +16175551212 (E.164 format). Twilio will also accept unformatted US numbers e.g., (415) 555-1212, 415-555-1212. | String | */* | UTF-8 | ||
| Optional. The fully qualified URL that should be consulted when the call connects. Just like when you set a URL on a phone number for handling inbound calls. | String | */* | UTF-8 | ||
| Optional. The 34 character sid of the application Twilio should use to handle this phone call. If this parameter is present, Twilio will ignore all of the voice URLs passed and use the URLs set on the application. | String | */* | UTF-8 | ||
| Optional. The HTTP method Twilio should use when making its request to the above Url parameter's value. Defaults to POST. If an ApplicationSid parameter is present, this parameter is ignored. | HttpMethod | */* | |||
| Optional. A flow that Twilio will request if an error occurs requesting or executing the TwiML at Url. If an ApplicationSid parameter is present, this parameter is ignored. | HttpCallback | */* | |||
| Optional. A flow that Twilio will request when the call ends to notify your app. If an ApplicationSid parameter is present, this parameter is ignored. | HttpCallback | */* | |||
| Optional. A string of keys to dial after connecting to the number. Valid digits in the string include: any digit (0-9), '#' and '*'. For example, if you connected to a company phone number, and wanted to dial extension 1234 and then the pound key, use SendDigits=1234#. Remember to URL-encode this string, since the '#' character has special meaning in a URL. | String | */* | UTF-8 | ||
| Optional. Tell Twilio to try and determine if a machine (like voicemail) or a human has answered the call. Possible values are Continue and Hangup. | String | */* | UTF-8 | ||
| Optional. The integer number of seconds that Twilio should allow the phone to ring before assuming there is no answer. Default is 60 seconds, the maximum is 999 seconds. Note, you could set this to a low value, such as 15, to hangup before reaching an answering machine or voicemail. | String | */* | UTF-8 |
| Return Type | Description |
|---|---|
| String | the call representation. |
Send an outgoing SMS message. By specifying an SMS URL for your SMS enabled Twilio phone number, Twilio will make a request to your application to notify you when someone replies to a message you send.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| Optional. Optionally override globally configured Account SID | String | */* | UTF-8 | ||
| A Twilio number enabled for SMS. Only phone numbers purchased from Twilio work here; you cannot (for example) spoof SMS messages from your own cell phone number. | String | */* | UTF-8 | ||
| The destination phone number. Format with a '+' and country code e.g., +16175551212 (E.164 format). Twilio will also accept unformatted US numbers e.g., (415) 555-1212, 415-555-1212. | String | */* | UTF-8 | ||
| The text of the message you want to send, limited to 160 characters. | String | */* | UTF-8 | ||
| Optional. A flow that Twilio will POST to when your message is processed. Twilio will POST the SmsSid as well as SmsStatus=sent or SmsStatus=failed. | HttpCallback | */* | |||
| Optional. Twilio will POST SmsSid as well as SmsStatus=sent or SmsStatus=failed to the URL in the SmsStatusCallback property of this Application. If the StatusCallback parameter above is also passed, the Application's SmsStatusCallback parameter will take precedence. | String | */* | UTF-8 |
| Return Type | Description |
|---|---|
| String | the SMS message representation. |
Allows you to modify the properties of an account.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| Optional. Optionally override globally configured Account SID | String | */* | UTF-8 | ||
| Optional. Alter the status of this account: use closed to irreversibly close this account, suspended to temporarily suspend it, or active to reactivate it. | AccountStatus | */* | |||
| Optional. Update the human-readable description of this account. | String | */* | UTF-8 |
| Return Type | Description |
|---|---|
| String | a representation of the account |
Tries to update the application's properties, and returns the updated resource representation if successful.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| Optional. Optionally override globally configured Account SID | String | */* | UTF-8 | ||
| The application sid to update | String | */* | UTF-8 | ||
| Optional. A human readable description of the application, with maximum length 64 characters. | String | */* | UTF-8 | ||
| Optional. Requests to this application's URLs will start a new TwiML session with this API version. Either 2010-04-01 or 2008-08-01. | String | */* | UTF-8 | ||
| Optional. The URL that Twilio should request when somebody dials a phone number assigned to this application. | String | */* | UTF-8 | ||
| Optional. The HTTP method that should be used to request the VoiceUrl. Either GET or POST. | HttpMethod | */* | |||
| Optional. A flow that Twilio will request if an error occurs requesting or executing the TwiML defined by VoiceUrl. | HttpCallback | */* | |||
| Optional. A flow that Twilio will request to pass status parameters (such as call ended) to your application. | HttpCallback | */* | |||
| Optional. Do a lookup of a caller's name from the CNAM database and post it to your app. Either true or false. | Boolean | */* | |||
| Optional. The URL that Twilio should request when somebody sends an SMS to a phone number assigned to this application. | String | */* | UTF-8 | ||
| Optional. The HTTP method that should be used to request the SmsUrl. Either GET or POST. | HttpMethod | */* | |||
| Optional. A flow that Twilio will request if an error occurs requesting or executing the TwiML defined by SmsUrl. | HttpCallback | */* | |||
| Optional. Twilio will make a POST request to this flow to pass status parameters (such as sent or failed) to your application if you specify this application's Sid as the ApplicationSid on an outgoing SMS request. | HttpCallback | */* |
| Return Type | Description |
|---|---|
| String | returns the updated resource representation if successful. |
Tries to update the incoming phone number's properties, and returns the updated resource representation if successful.
* An IncomingPhoneNumber instance resource represents a Twilio phone number purchased from Twilio or ported to Twilio.INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| Optional. Optionally override globally configured Account SID | String | */* | UTF-8 | ||
| The incoming phone number sid to use | String | */* | UTF-8 | ||
| Optional. A human readable description of the new incoming phone number resource, with maximum length 64 characters. | String | */* | UTF-8 | ||
| Optional. Calls to this phone number will start a new TwiML session with this API version. Either 2010-04-01 or 2008-08-01. | String | */* | UTF-8 | ||
| Optional. The URL that Twilio should request when somebody dials the new phone number. | String | */* | UTF-8 | ||
| Optional. The HTTP method that should be used to request the VoiceUrl. Must be either GET or POST. Defaults to POST. | HttpMethod | */* | |||
| Optional. A flow that Twilio will request if an error occurs requesting or executing the TwiML at Url. | HttpCallback | */* | |||
| Optional. A flow that Twilio will request to pass statusCallback parameters (such as call ended) to your application. | HttpCallback | */* | |||
| Optional. Do a lookup of a caller's name from the CNAM database and post it to your app. Either true or false. | Boolean | */* | |||
| Optional. The 34 character sid of the application Twilio should use to handle phone calls to this number. If a VoiceApplicationSid is present, Twilio will ignore all of the voice urls above and use those set on the application instead. | String | */* | UTF-8 | ||
| Optional. The URL that Twilio should request when somebody sends an SMS to the phone number. | String | */* | UTF-8 | ||
| Optional. The HTTP method that should be used to request the SmsUrl. Must be either GET or POST. Defaults to POST. | HttpMethod | */* | |||
| Optional. A flow that Twilio will request if an error occurs requesting or executing the TwiML defined by sms. | HttpCallback | */* | |||
| Optional. The 34 character sid of the application Twilio should use to handle SMSs sent to this number. If a SmsApplicationSid is present, Twilio will ignore all of the SMS urls above and use those set on the application instead. | String | */* | UTF-8 | ||
| Optional. The unique 34 character id of the account to which you wish to transfer this phone number. | String | */* | UTF-8 |
| Return Type | Description |
|---|---|
| String | if successful the updated incoming phone number instance. |
Updates the caller id, and returns the updated resource if successful.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| Optional. Optionally override globally configured Account SID | String | */* | UTF-8 | ||
| The outgoing caller id sid to update | String | */* | UTF-8 | ||
| A human readable description of a Caller ID, with maximum length of 64 characters. Defaults to a nicely formatted version of the phone number. | String | */* | UTF-8 |
| Return Type | Description |
|---|---|
| String | returns the updated resource if successful. |
Updates the participant status. Returns the participant representation.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| Optional. Optionally override globally configured Account SID | String | */* | UTF-8 | ||
| The conference sid to use | String | */* | UTF-8 | ||
| The call sid to use | String | */* | UTF-8 | ||
| Specifying true will mute the participant, while false will un-mute. | Boolean | */* |
| Return Type | Description |
|---|---|
| String | the participant representation |
You can POST to the Sandbox resource to update the TwiML voice and SMS URLs associated with the sandbox number.
The Sandbox resource gives you programatic access to your Twilio Developer Sandbox phone number. Using this resource you can get the phone number and PIN for your sandbox, view the current voice and SMS URLs and update those URLs just like any other IncomingPhoneNumber resource on a Full Twilio Account.INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| Optional. Optionally override globally configured Account SID | String | */* | UTF-8 | ||
| Optional. The URL that Twilio should request when somebody calls this sandbox. | String | */* | UTF-8 | ||
| Optional. The HTTP method that should be used to request the above URL. Must be either GET or POST. Defaults to POST. | HttpMethod | */* | |||
| Optional. The URL that Twilio should request when somebody sends an SMS to the sandbox. | String | */* | UTF-8 | ||
| Optional. The HTTP method that should be used to request the SmsUrl. Must be either GET or POST. Defaults to POST. | HttpMethod | */* |
| Return Type | Description |
|---|---|
| String | If successful, Twilio responds with an updated representation of the sandbox. |