Api20100401ValidationRequest

POST /2010-04-01/Accounts/{AccountSid}/OutgoingCallerIds.json

Changed on

Request

  • Base URL
    https://api.twilio.com
  • URL
    https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/OutgoingCallerIds.json
  • Auth
    HTTP basic

Path parameters

AccountSidstring required

The SID of the Account responsible for the new caller ID resource.

Request body application/x-www-form-urlencoded

PhoneNumberstring phone-number required

The phone number to verify in E.164 format, which consists of a + followed by the country code and subscriber number.

FriendlyNamestring

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.

CallDelayinteger

The number of seconds to delay before initiating the verification call. Can be an integer between 0 and 60, inclusive. The default is 0.

Extensionstring

The digits to dial after connecting the verification call.

StatusCallbackstring uri

The URL we should call using the status_callback_method to send status information about the verification process to your application.

StatusCallbackMethod'GET' | 'POST' http-method

The HTTP method we should use to call status_callback. Can be: GET or POST, and the default is POST.

Response

OK

account_sidstring nullable

The SID of the Account responsible for the Caller ID.

call_sidstring nullable

The SID of the Call the Caller ID is associated with.

friendly_namestring nullable

The string that you assigned to describe the resource.

phone_numberstring phone-number nullable

The phone number to verify in E.164 format, which consists of a + followed by the country code and subscriber number.

validation_codestring nullable

The 6 digit validation code that someone must enter to validate the Caller ID when phone_number is called.

Changes

    • breaking

      removed the success response with the status

    • info

      added the success response with the status

    • breaking

      removed the enum value DELETE of the request property

    • breaking

      removed the enum value HEAD of the request property

    • breaking

      removed the enum value PATCH of the request property

    • breaking

      removed the enum value PUT of the request property