Twilio::SMSApi
Constants
Constructors
Instance methods
@return Crest::Request
@return Crest::Request
@return Crest::Request
Fetch an instance of a short code @required @param account_sid [String?] The SID of the Account that created the ShortCode resource(s) to fetch. @required @param sid [String?] The Twilio-provided string that uniquely identifies the ShortCode resource to fetch @return [Twilio::ShortCode]
Fetch an instance of a short code @required @param account_sid [String?] The SID of the Account that created the ShortCode resource(s) to fetch. @required @param sid [String?] The Twilio-provided string that uniquely identifies the ShortCode resource to fetch @return nil
Fetch an instance of a short code @required @param account_sid [String?] The SID of the Account that created the ShortCode resource(s) to fetch. @required @param sid [String?] The Twilio-provided string that uniquely identifies the ShortCode resource to fetch @return [Tuple(Twilio::ShortCode, Integer, Hash)] Twilio::ShortCode, response status code and response headers
Retrieve a list of short-codes belonging to the account used to make the request @required @param account_sid [String?] The SID of the Account that created the ShortCode resource(s) to read. @optional @param friendly_name [String?] The string that identifies the ShortCode resources to read. @optional @param short_code [String?] Only show the ShortCode resources that match this pattern. You can specify partial numbers and use '*' as a wildcard for any digit. @optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000. @return [Twilio::ListShortCodeResponse]
Retrieve a list of short-codes belonging to the account used to make the request @required @param account_sid [String?] The SID of the Account that created the ShortCode resource(s) to read. @optional @param friendly_name [String?] The string that identifies the ShortCode resources to read. @optional @param short_code [String?] Only show the ShortCode resources that match this pattern. You can specify partial numbers and use '*' as a wildcard for any digit. @optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000. @return nil
Retrieve a list of short-codes belonging to the account used to make the request @required @param account_sid [String?] The SID of the Account that created the ShortCode resource(s) to read. @optional @param friendly_name [String?] The string that identifies the ShortCode resources to read. @optional @param short_code [String?] Only show the ShortCode resources that match this pattern. You can specify partial numbers and use '*' as a wildcard for any digit. @optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000. @return [Tuple(Twilio::ListShortCodeResponse, Integer, Hash)] Twilio::ListShortCodeResponse, response status code and response headers
Update a short code with the following parameters
@required @param account_sid [String?] The SID of the Account that created the ShortCode resource(s) to update.
@required @param sid [String?] The Twilio-provided string that uniquely identifies the ShortCode resource to update
@optional @param api_version [String?] The API version to use to start a new TwiML session. Can be: 2010-04-01 or 2008-08-01.
@optional @param friendly_name [String?] A descriptive string that you created to describe this resource. It can be up to 64 characters long. By default, the FriendlyName is the short code.
@optional @param sms_fallback_method [Twilio::HttpMethod?]
@optional @param sms_fallback_url [String?] The URL that we should call if an error occurs while retrieving or executing the TwiML from sms_url.
@optional @param sms_method [Twilio::HttpMethod?]
@optional @param sms_url [String?] The URL we should call when receiving an incoming SMS message to this short code.
@return [Twilio::ShortCode]
Update a short code with the following parameters
@required @param account_sid [String?] The SID of the Account that created the ShortCode resource(s) to update.
@required @param sid [String?] The Twilio-provided string that uniquely identifies the ShortCode resource to update
@optional @param api_version [String?] The API version to use to start a new TwiML session. Can be: 2010-04-01 or 2008-08-01.
@optional @param friendly_name [String?] A descriptive string that you created to describe this resource. It can be up to 64 characters long. By default, the FriendlyName is the short code.
@optional @param sms_fallback_method [Twilio::HttpMethod?]
@optional @param sms_fallback_url [String?] The URL that we should call if an error occurs while retrieving or executing the TwiML from sms_url.
@optional @param sms_method [Twilio::HttpMethod?]
@optional @param sms_url [String?] The URL we should call when receiving an incoming SMS message to this short code.
@return nil
Update a short code with the following parameters
@required @param account_sid [String?] The SID of the Account that created the ShortCode resource(s) to update.
@required @param sid [String?] The Twilio-provided string that uniquely identifies the ShortCode resource to update
@optional @param api_version [String?] The API version to use to start a new TwiML session. Can be: 2010-04-01 or 2008-08-01.
@optional @param friendly_name [String?] A descriptive string that you created to describe this resource. It can be up to 64 characters long. By default, the FriendlyName is the short code.
@optional @param sms_fallback_method [Twilio::HttpMethod?]
@optional @param sms_fallback_url [String?] The URL that we should call if an error occurs while retrieving or executing the TwiML from sms_url.
@optional @param sms_method [Twilio::HttpMethod?]
@optional @param sms_url [String?] The URL we should call when receiving an incoming SMS message to this short code.
@return [Tuple(Twilio::ShortCode, Integer, Hash)] Twilio::ShortCode, response status code and response headers