IntegrationsTwilioActions
Lookup Twilio phone number
Lookup phone number metadata with Twilio Lookup v2.
lookups.phone_numbers.get · Twilio · v1
Details
Scopes
None
Input
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
phone_number | string | Yes | minLength 2; maxLength 16; pattern ^\+[1-9]\d{1,14}$ |
fields | array<string> | No | maxItems 8 |
fields[] | string | Yes | minLength 1; maxLength 64; enum line_type_intelligence | caller_name |
Output
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
phone_number | string | Yes | maxLength 32 |
country_code | string | No | maxLength 8 |
national_format | string | No | maxLength 64 |
calling_country_code | string | No | maxLength 8 |
valid | boolean | Yes | — |
line_type | string | No | maxLength 64 |
caller_name | string | No | maxLength 200 |
Raw schema
Input
{
"type": "object",
"additionalProperties": false,
"properties": {
"phone_number": {
"type": "string",
"minLength": 2,
"maxLength": 16,
"pattern": "^\\+[1-9]\\d{1,14}$"
},
"fields": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"enum": [
"line_type_intelligence",
"caller_name"
]
},
"maxItems": 8
}
},
"required": [
"phone_number"
]
}Output
{
"type": "object",
"additionalProperties": false,
"properties": {
"phone_number": {
"type": "string",
"maxLength": 32
},
"country_code": {
"type": "string",
"maxLength": 8
},
"national_format": {
"type": "string",
"maxLength": 64
},
"calling_country_code": {
"type": "string",
"maxLength": 8
},
"valid": {
"type": "boolean"
},
"line_type": {
"type": "string",
"maxLength": 64
},
"caller_name": {
"type": "string",
"maxLength": 200
}
},
"required": [
"phone_number",
"valid"
]
}