Create a new application within your account
POST
/2010-04-01/Accounts/{AccountSid}/Applications.json https://api.twilio.com
Create a new application within your account
Parameters
path Path Parameters
| Name | Type |
|---|---|
AccountSid
required
The SID of the Account that will create the resource. | `AC${string}` |
Request Body
application/x-www-form-urlencoded
{
ApiVersion?: string;
VoiceUrl?: string;
VoiceMethod?: "GET" | "POST";
VoiceFallbackUrl?: string;
VoiceFallbackMethod?: "GET" | "POST";
StatusCallback?: string;
StatusCallbackMethod?: "GET" | "POST";
VoiceCallerIdLookup?: boolean;
SmsUrl?: string;
SmsMethod?: "GET" | "POST";
SmsFallbackUrl?: string;
SmsFallbackMethod?: "GET" | "POST";
SmsStatusCallback?: string;
MessageStatusCallback?: string;
FriendlyName?: string;
PublicApplicationConnectEnabled?: boolean;
}
ApiVersion?: string;
VoiceUrl?: string;
VoiceMethod?: "GET" | "POST";
VoiceFallbackUrl?: string;
VoiceFallbackMethod?: "GET" | "POST";
StatusCallback?: string;
StatusCallbackMethod?: "GET" | "POST";
VoiceCallerIdLookup?: boolean;
SmsUrl?: string;
SmsMethod?: "GET" | "POST";
SmsFallbackUrl?: string;
SmsFallbackMethod?: "GET" | "POST";
SmsStatusCallback?: string;
MessageStatusCallback?: string;
FriendlyName?: string;
PublicApplicationConnectEnabled?: boolean;
}
Responses
201 application/json
Created
interface ApiV2010AccountApplication {
account_sid?: `AC${string}` | null;
api_version?: string | null;
date_created?: string | null;
date_updated?: string | null;
friendly_name?: string | null;
message_status_callback?: string | null;
sid?: `AP${string}` | null;
sms_fallback_method?: "GET" | "POST" | null;
sms_fallback_url?: string | null;
sms_method?: "GET" | "POST" | null;
sms_status_callback?: string | null;
sms_url?: string | null;
status_callback?: string | null;
status_callback_method?: "GET" | "POST" | null;
uri?: string | null;
voice_caller_id_lookup?: boolean | null;
voice_fallback_method?: "GET" | "POST" | null;
voice_fallback_url?: string | null;
voice_method?: "GET" | "POST" | null;
voice_url?: string | null;
public_application_connect_enabled?: boolean | null;
}
account_sid?: `AC${string}` | null;
api_version?: string | null;
date_created?: string | null;
date_updated?: string | null;
friendly_name?: string | null;
message_status_callback?: string | null;
sid?: `AP${string}` | null;
sms_fallback_method?: "GET" | "POST" | null;
sms_fallback_url?: string | null;
sms_method?: "GET" | "POST" | null;
sms_status_callback?: string | null;
sms_url?: string | null;
status_callback?: string | null;
status_callback_method?: "GET" | "POST" | null;
uri?: string | null;
voice_caller_id_lookup?: boolean | null;
voice_fallback_method?: "GET" | "POST" | null;
voice_fallback_url?: string | null;
voice_method?: "GET" | "POST" | null;
voice_url?: string | null;
public_application_connect_enabled?: boolean | null;
}