Api20100401Application

Create a new application within your account

Changed on

Create a new application within your account

post/2010-04-01/Accounts/{AccountSid}/Applications.json

Request

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

Path parameters

AccountSidstring required

The SID of the Account that will create the resource.

Request body application/x-www-form-urlencoded

ApiVersionstring

The API version to use to start a new TwiML session. Can be: 2010-04-01 or 2008-08-01. The default value is the account's default API version.

VoiceUrlstring uri

The URL we should call when the phone number assigned to this application receives a call.

VoiceMethod'GET' | 'POST' http-method

The HTTP method we should use to call voice_url. Can be: GET or POST.

VoiceFallbackUrlstring uri

The URL that we should call when an error occurs retrieving or executing the TwiML requested by url.

VoiceFallbackMethod'GET' | 'POST' http-method

The HTTP method we should use to call voice_fallback_url. Can be: GET or POST.

StatusCallbackstring uri

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

StatusCallbackMethod'GET' | 'POST' http-method

The HTTP method we should use to call status_callback. Can be: GET or POST.

VoiceCallerIdLookupboolean

Whether we should look up the caller's caller-ID name from the CNAM database (additional charges apply). Can be: true or false.

SmsUrlstring uri

The URL we should call when the phone number receives an incoming SMS message.

SmsMethod'GET' | 'POST' http-method

The HTTP method we should use to call sms_url. Can be: GET or POST.

SmsFallbackUrlstring uri

The URL that we should call when an error occurs while retrieving or executing the TwiML from sms_url.

SmsFallbackMethod'GET' | 'POST' http-method

The HTTP method we should use to call sms_fallback_url. Can be: GET or POST.

SmsStatusCallbackstring uri

The URL we should call using a POST method to send status information about SMS messages sent by the application.

MessageStatusCallbackstring uri

The URL we should call using a POST method to send message status information to your application.

FriendlyNamestring

A descriptive string that you create to describe the new application. It can be up to 64 characters long.

PublicApplicationConnectEnabledboolean

Whether to allow other Twilio accounts to dial this applicaton using Dial verb. Can be: true or false.

Response

Created

account_sidstring nullable

The SID of the Account that created the Application resource.

api_versionstring nullable

The API version used to start a new TwiML session.

date_createdstring date-time-rfc-2822 nullable

The date and time in GMT that the resource was created specified in RFC 2822 format.

date_updatedstring date-time-rfc-2822 nullable

The date and time in GMT that the resource was last updated specified in RFC 2822 format.

friendly_namestring nullable

The string that you assigned to describe the resource.

message_status_callbackstring uri nullable

The URL we call using a POST method to send message status information to your application.

sidstring nullable

The unique string that that we created to identify the Application resource.

sms_fallback_method'GET' | 'POST' http-method nullable

The HTTP method we use to call sms_fallback_url. Can be: GET or POST.

sms_fallback_urlstring uri nullable

The URL that we call when an error occurs while retrieving or executing the TwiML from sms_url.

sms_method'GET' | 'POST' http-method nullable

The HTTP method we use to call sms_url. Can be: GET or POST.

sms_status_callbackstring uri nullable

The URL we call using a POST method to send status information to your application about SMS messages that refer to the application.

sms_urlstring uri nullable

The URL we call when the phone number receives an incoming SMS message.

status_callbackstring uri nullable

The URL we call using the status_callback_method to send status information to your application.

status_callback_method'GET' | 'POST' http-method nullable

The HTTP method we use to call status_callback. Can be: GET or POST.

uristring nullable

The URI of the resource, relative to https://api.twilio.com.

voice_caller_id_lookupboolean nullable

Whether we look up the caller's caller-ID name from the CNAM database (additional charges apply). Can be: true or false.

voice_fallback_method'GET' | 'POST' http-method nullable

The HTTP method we use to call voice_fallback_url. Can be: GET or POST.

voice_fallback_urlstring uri nullable

The URL that we call when an error occurs retrieving or executing the TwiML requested by url.

voice_method'GET' | 'POST' http-method nullable

The HTTP method we use to call voice_url. Can be: GET or POST.

voice_urlstring uri nullable

The URL we call when the phone number assigned to this application receives a call.

public_application_connect_enabledboolean nullable

Whether to allow other Twilio accounts to dial this applicaton using Dial verb. Can be: true or false.

Changes

    • breaking

      removed the enum value DELETE of the request property

    • breaking

      removed the enum value DELETE of the request property

    • breaking

      removed the enum value DELETE of the request property

    • breaking

      removed the enum value DELETE of the request property

    • 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 HEAD of the request property

    • breaking

      removed the enum value HEAD of the request property

    • breaking

      removed the enum value HEAD 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 PATCH of the request property

    • breaking

      removed the enum value PATCH of the request property

    • breaking

      removed the enum value PATCH of the request property

    • breaking

      removed the enum value PATCH of the request property

    • breaking

      removed the enum value PUT of the request property

    • breaking

      removed the enum value PUT of the request property

    • breaking

      removed the enum value PUT of the request property

    • breaking

      removed the enum value PUT of the request property

    • breaking

      removed the enum value PUT of the request property

    • info

      removed the DELETE enum value from the response property for the response status

    • info

      removed the DELETE enum value from the response property for the response status

    • info

      removed the DELETE enum value from the response property for the response status

    • info

      removed the DELETE enum value from the response property for the response status

    • info

      removed the DELETE enum value from the response property for the response status

    • info

      removed the HEAD enum value from the response property for the response status

    • info

      removed the HEAD enum value from the response property for the response status

    • info

      removed the HEAD enum value from the response property for the response status

    • info

      removed the HEAD enum value from the response property for the response status

    • info

      removed the HEAD enum value from the response property for the response status

    • info

      removed the PATCH enum value from the response property for the response status

    • info

      removed the PATCH enum value from the response property for the response status

    • info

      removed the PATCH enum value from the response property for the response status

    • info

      removed the PATCH enum value from the response property for the response status

    • info

      removed the PATCH enum value from the response property for the response status

    • info

      removed the PUT enum value from the response property for the response status

    • info

      removed the PUT enum value from the response property for the response status

    • info

      removed the PUT enum value from the response property for the response status

    • info

      removed the PUT enum value from the response property for the response status

    • info

      removed the PUT enum value from the response property for the response status