Fetch an incoming-phone-number belonging to the account used to make the request.
GET
/2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/{Sid}.json https://api.twilio.com
Fetch an incoming-phone-number belonging to the account used to make the request.
Parameters
path Path Parameters
| Name | Type |
|---|---|
AccountSid
required
The SID of the Account that created the IncomingPhoneNumber resource to fetch. | `AC${string}` |
Sid
required
The Twilio-provided string that uniquely identifies the IncomingPhoneNumber resource to fetch. | `PN${string}` |
Responses
200 application/json
OK
interface ApiV2010AccountIncomingPhoneNumber {
account_sid?: `AC${string}` | null;
address_sid?: `AD${string}` | null;
address_requirements?:IncomingPhoneNumberEnumAddressRequirement ;
api_version?: string | null;
beta?: boolean | null;
capabilities?: {
mms?: boolean;
sms?: boolean;
voice?: boolean;
fax?: boolean;
} | null;
date_created?: string | null;
date_updated?: string | null;
friendly_name?: string | null;
identity_sid?: `RI${string}` | null;
phone_number?: string | null;
origin?: string | null;
sid?: `PN${string}` | null;
sms_application_sid?: `AP${string}` | null;
sms_fallback_method?: "GET" | "POST" | null;
sms_fallback_url?: string | null;
sms_method?: "GET" | "POST" | null;
sms_url?: string | null;
status_callback?: string | null;
status_callback_method?: "GET" | "POST" | null;
trunk_sid?: `TK${string}` | null;
uri?: string | null;
voice_receive_mode?:IncomingPhoneNumberEnumVoiceReceiveMode ;
voice_application_sid?: `AP${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;
emergency_status?:IncomingPhoneNumberEnumEmergencyStatus ;
emergency_address_sid?: `AD${string}` | null;
emergency_address_status?:IncomingPhoneNumberEnumEmergencyAddressStatus ;
bundle_sid?: `BU${string}` | null;
status?: string | null;
}
account_sid?: `AC${string}` | null;
address_sid?: `AD${string}` | null;
address_requirements?:
api_version?: string | null;
beta?: boolean | null;
capabilities?: {
mms?: boolean;
sms?: boolean;
voice?: boolean;
fax?: boolean;
} | null;
date_created?: string | null;
date_updated?: string | null;
friendly_name?: string | null;
identity_sid?: `RI${string}` | null;
phone_number?: string | null;
origin?: string | null;
sid?: `PN${string}` | null;
sms_application_sid?: `AP${string}` | null;
sms_fallback_method?: "GET" | "POST" | null;
sms_fallback_url?: string | null;
sms_method?: "GET" | "POST" | null;
sms_url?: string | null;
status_callback?: string | null;
status_callback_method?: "GET" | "POST" | null;
trunk_sid?: `TK${string}` | null;
uri?: string | null;
voice_receive_mode?:
voice_application_sid?: `AP${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;
emergency_status?:
emergency_address_sid?: `AD${string}` | null;
emergency_address_status?:
bundle_sid?: `BU${string}` | null;
status?: string | null;
}