All URIs are relative to https://api.twilio.com
Method | HTTP request | Description |
---|---|---|
create_validation_request | POST /2010-04-01/Accounts/{AccountSid}/OutgoingCallerIds.json |
crate::models::ApiPeriodV2010PeriodAccountPeriodValidationRequest create_validation_request(account_sid, phone_number, friendly_name, call_delay, extension, status_callback, status_callback_method)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
account_sid | String | The SID of the Account responsible for the new caller ID resource. | [required] | |
phone_number | String | The phone number to verify in E.164 format, which consists of a + followed by the country code and subscriber number. | [required] | |
friendly_name | Option<String> | A descriptive string that you create to describe the new caller ID resource. It can be up to 64 characters long. The default value is a formatted version of the phone number. | ||
call_delay | Option<i32> | The number of seconds to delay before initiating the verification call. Can be an integer between 0 and 60 , inclusive. The default is 0 . |
||
extension | Option<String> | The digits to dial after connecting the verification call. | ||
status_callback | Option<String> | The URL we should call using the status_callback_method to send status information about the verification process to your application. |
||
status_callback_method | Option<String> | The HTTP method we should use to call status_callback . Can be: GET or POST , and the default is POST . |
crate::models::ApiPeriodV2010PeriodAccountPeriodValidationRequest
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]