Fetch an incoming-phone-number belonging to the account used to make the request.
643 matches
60 actions
Twilio
60 actions
- CreateAccountPOSTv1.0.0
- CreateAddressPOSTv1.0.0
- FetchAccountGETv1.0.0
- FetchAddressGETv1.0.0
- FetchApplicationGETv1.0.0
- FetchAuthorizedConnectAppGETv1.0.0
- FetchAvailablePhoneNumberCountryGETv1.0.0
- FetchBalanceGETv1.0.0
- FetchCallGETv1.0.0
- FetchCallFeedbackGETv1.0.0
- FetchCallFeedbackSummaryGETv1.0.0
- FetchCallNotificationGETv1.0.0
- FetchCallRecordingGETv1.0.0
- FetchConferenceGETv1.0.0
- FetchConferenceRecordingGETv1.0.0
- FetchConnectAppGETv1.0.0
- FetchIncomingPhoneNumberGETv1.0.0
- FetchIncomingPhoneNumberAssignedAddOnGETv1.0.0
- FetchIncomingPhoneNumberAssignedAddOnExtensionGETv1.0.0
- FetchKeyGETv1.0.0
- FetchMediaGETv1.0.0
- FetchMemberGETv1.0.0
- FetchMessageGETv1.0.0
- FetchNotificationGETv1.0.0
- FetchOutgoingCallerIdGETv1.0.0
- FetchParticipantGETv1.0.0
- FetchQueueGETv1.0.0
- FetchRecordingGETv1.0.0
- FetchRecordingAddOnResultGETv1.0.0
- FetchRecordingAddOnResultPayloadGETv1.0.0
- FetchRecordingTranscriptionGETv1.0.0
- FetchShortCodeGETv1.0.0
- FetchSigningKeyGETv1.0.0
- FetchSipCredentialGETv1.0.0
- FetchSipCredentialListGETv1.0.0
- FetchSipDomainGETv1.0.0
- FetchSipIpAccessControlListGETv1.0.0
- FetchSipIpAddressGETv1.0.0
- FetchTranscriptionGETv1.0.0
- FetchUsageTriggerGETv1.0.0
- ListAccountGETv1.0.0
- ListApplicationGETv1.0.0
- ListAuthorizedConnectAppGETv1.0.0
- ListAvailablePhoneNumberCountryGETv1.0.0
- ListCallEventGETv1.0.0
- ListConnectAppGETv1.0.0
- ListDependentPhoneNumberGETv1.0.0
- ListIncomingPhoneNumberAssignedAddOnGETv1.0.0
- ListKeyGETv1.0.0
- ListMemberGETv1.0.0
- ListQueueGETv1.0.0
- ListRecordingAddOnResultGETv1.0.0
- ListRecordingTranscriptionGETv1.0.0
- ListSigningKeyGETv1.0.0
- ListSipCredentialGETv1.0.0
- ListSipCredentialListGETv1.0.0
- ListSipDomainGETv1.0.0
- ListSipIpAccessControlListGETv1.0.0
- ListSipIpAddressGETv1.0.0
- ListTranscriptionGETv1.0.0
Communication/Twilio
FetchIncomingPhoneNumber
v1.0.0Input
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
{
"type": "object",
"properties": {
"AccountSid": {
"type": "string"
},
"Sid": {
"type": "string"
}
},
"required": [
"AccountSid",
"Sid"
],
"additionalProperties": false
}Output
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84
- 85
- 86
- 87
- 88
- 89
- 90
- 91
- 92
- 93
- 94
- 95
- 96
- 97
- 98
- 99
- 100
- 101
- 102
- 103
- 104
- 105
- 106
- 107
- 108
- 109
- 110
- 111
- 112
- 113
- 114
- 115
- 116
- 117
- 118
- 119
- 120
- 121
- 122
- 123
- 124
- 125
- 126
- 127
- 128
- 129
- 130
- 131
- 132
- 133
- 134
- 135
- 136
- 137
- 138
- 139
- 140
- 141
- 142
- 143
- 144
- 145
- 146
- 147
- 148
- 149
- 150
- 151
- 152
- 153
- 154
- 155
- 156
- 157
- 158
- 159
- 160
- 161
- 162
- 163
- 164
- 165
- 166
- 167
- 168
- 169
- 170
- 171
- 172
- 173
- 174
- 175
- 176
- 177
- 178
- 179
- 180
- 181
- 182
- 183
- 184
- 185
- 186
- 187
- 188
- 189
- 190
- 191
- 192
- 193
- 194
- 195
- 196
- 197
- 198
- 199
- 200
- 201
- 202
- 203
- 204
- 205
- 206
- 207
- 208
- 209
- 210
- 211
- 212
- 213
- 214
- 215
- 216
- 217
- 218
- 219
- 220
- 221
- 222
- 223
- 224
- 225
- 226
- 227
- 228
- 229
{
"type": "object",
"properties": {
"account_sid": {
"type": "string",
"description": "The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created this IncomingPhoneNumber resource."
},
"address_requirements": {
"type": "string",
"description": "Whether the phone number requires an [Address](https://www.twilio.com/docs/usage/api/address) registered with Twilio. Can be: `none`, `any`, `local`, or `foreign`.",
"enum": [
"none",
"any",
"local",
"foreign"
]
},
"address_sid": {
"type": "string",
"description": "The SID of the Address resource associated with the phone number."
},
"api_version": {
"type": "string",
"description": "The API version used to start a new TwiML session."
},
"beta": {
"type": "boolean",
"description": "Whether the phone number is new to the Twilio platform. Can be: `true` or `false`."
},
"bundle_sid": {
"type": "string",
"description": "The SID of the Bundle resource that you associate with the phone number. Some regions require a Bundle to meet local Regulations."
},
"capabilities": {
"type": "object",
"format": "phone-number-capabilities",
"description": "The set of Boolean properties that indicate whether a phone number can receive calls or messages. Capabilities are `Voice`, `SMS`, and `MMS` and each capability can be: `true` or `false`.",
"properties": {
"fax": {
"type": "boolean"
},
"mms": {
"type": "boolean"
},
"sms": {
"type": "boolean"
},
"voice": {
"type": "boolean"
}
}
},
"date_created": {
"type": "string",
"format": "date-time-rfc-2822",
"description": "The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format."
},
"date_updated": {
"type": "string",
"format": "date-time-rfc-2822",
"description": "The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format."
},
"emergency_address_sid": {
"type": "string",
"description": "The SID of the emergency address configuration that we use for emergency calling from this phone number."
},
"emergency_address_status": {
"type": "string",
"description": "The status of address registration with emergency services. A registered emergency address will be used during handling of emergency calls from this number.",
"enum": [
"registered",
"unregistered",
"pending-registration",
"registration-failure",
"pending-unregistration",
"unregistration-failure"
]
},
"emergency_status": {
"type": "string",
"description": "The parameter displays if emergency calling is enabled for this number. Active numbers may place emergency calls by dialing valid emergency numbers for the country.",
"enum": [
"Active",
"Inactive"
]
},
"friendly_name": {
"type": "string",
"description": "The string that you assigned to describe the resource."
},
"identity_sid": {
"type": "string",
"description": "The SID of the Identity resource that we associate with the phone number. Some regions require an Identity to meet local regulations."
},
"origin": {
"type": "string",
"description": "The phone number's origin. `twilio` identifies Twilio-owned phone numbers and `hosted` identifies hosted phone numbers."
},
"phone_number": {
"type": "string",
"format": "phone-number",
"description": "The phone number in [E.164](https://www.twilio.com/docs/glossary/what-e164) format, which consists of a + followed by the country code and subscriber number."
},
"sid": {
"type": "string",
"description": "The unique string that that we created to identify this IncomingPhoneNumber resource."
},
"sms_application_sid": {
"type": "string",
"description": "The SID of the application that handles SMS messages sent to the phone number. If an `sms_application_sid` is present, we ignore all `sms_*_url` values and use those of the application."
},
"sms_fallback_method": {
"type": "string",
"format": "http-method",
"description": "The HTTP method we use to call `sms_fallback_url`. Can be: `GET` or `POST`.",
"enum": [
"HEAD",
"GET",
"POST",
"PATCH",
"PUT",
"DELETE"
]
},
"sms_fallback_url": {
"type": "string",
"format": "uri",
"description": "The URL that we call when an error occurs while retrieving or executing the TwiML from `sms_url`."
},
"sms_method": {
"type": "string",
"format": "http-method",
"description": "The HTTP method we use to call `sms_url`. Can be: `GET` or `POST`.",
"enum": [
"HEAD",
"GET",
"POST",
"PATCH",
"PUT",
"DELETE"
]
},
"sms_url": {
"type": "string",
"format": "uri",
"description": "The URL we call when the phone number receives an incoming SMS message."
},
"status": {
"type": "string"
},
"status_callback": {
"type": "string",
"format": "uri",
"description": "The URL we call using the `status_callback_method` to send status information to your application."
},
"status_callback_method": {
"type": "string",
"format": "http-method",
"description": "The HTTP method we use to call `status_callback`. Can be: `GET` or `POST`.",
"enum": [
"HEAD",
"GET",
"POST",
"PATCH",
"PUT",
"DELETE"
]
},
"trunk_sid": {
"type": "string",
"description": "The SID of the Trunk that handles calls to the phone number. If a `trunk_sid` is present, we ignore all of the voice urls and voice applications and use those set on the Trunk. Setting a `trunk_sid` will automatically delete your `voice_application_sid` and vice versa."
},
"uri": {
"type": "string",
"description": "The URI of the resource, relative to `https://api.twilio.com`."
},
"voice_application_sid": {
"type": "string",
"description": "The SID of the application that handles calls to the phone number. If a `voice_application_sid` is present, we ignore all of the voice urls and use those set on the application. Setting a `voice_application_sid` will automatically delete your `trunk_sid` and vice versa."
},
"voice_caller_id_lookup": {
"type": "boolean",
"description": "Whether we look up the caller's caller-ID name from the CNAM database ($0.01 per look up). Can be: `true` or `false`."
},
"voice_fallback_method": {
"type": "string",
"format": "http-method",
"description": "The HTTP method we use to call `voice_fallback_url`. Can be: `GET` or `POST`.",
"enum": [
"HEAD",
"GET",
"POST",
"PATCH",
"PUT",
"DELETE"
]
},
"voice_fallback_url": {
"type": "string",
"format": "uri",
"description": "The URL that we call when an error occurs retrieving or executing the TwiML requested by `url`."
},
"voice_method": {
"type": "string",
"format": "http-method",
"description": "The HTTP method we use to call `voice_url`. Can be: `GET` or `POST`.",
"enum": [
"HEAD",
"GET",
"POST",
"PATCH",
"PUT",
"DELETE"
]
},
"voice_receive_mode": {
"type": "string",
"enum": [
"voice",
"fax"
]
},
"voice_url": {
"type": "string",
"format": "uri",
"description": "The URL we call when the phone number receives a call. The `voice_url` will not be used if a `voice_application_sid` or a `trunk_sid` is set."
}
}
}