Skip to content

Latest commit

 

History

History
45 lines (25 loc) · 2.39 KB

Api20100401ValidationRequestApi.md

File metadata and controls

45 lines (25 loc) · 2.39 KB

\Api20100401ValidationRequestApi

All URIs are relative to https://api.twilio.com

Method HTTP request Description
create_validation_request POST /2010-04-01/Accounts/{AccountSid}/OutgoingCallerIds.json

create_validation_request

crate::models::ApiPeriodV2010PeriodAccountPeriodValidationRequest create_validation_request(account_sid, phone_number, friendly_name, call_delay, extension, status_callback, status_callback_method)

Parameters

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.

Return type

crate::models::ApiPeriodV2010PeriodAccountPeriodValidationRequest

Authorization

accountSid_authToken

HTTP request headers

  • Content-Type: application/x-www-form-urlencoded
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]