{ "opencollection": "1.0.0", "info": { "name": "Twilio - Accounts A2p Phone Numbers API", "version": "1.52.0" }, "items": [ { "info": { "name": "Phone Numbers", "type": "folder" }, "items": [ { "info": { "name": "Twilio Look up a Phone Number", "type": "http" }, "http": { "method": "GET", "url": "https://accounts.twilio.com/PhoneNumbers/:PhoneNumber", "params": [ { "name": "PhoneNumber", "value": "", "type": "path", "description": "Phone number to look up in E.164 format" }, { "name": "Fields", "value": "", "type": "query", "description": "Comma-separated list of data packages to return. Available fields include validation, line_type_intelligence, caller_name, sim_swap, identity_match, sms_pumping_risk, phone_number_quality_score, reassigned_number, line_status" }, { "name": "CountryCode", "value": "", "type": "query", "description": "ISO 3166-1 alpha-2 country code for national format numbers" }, { "name": "FirstName", "value": "", "type": "query", "description": "First name for identity match" }, { "name": "LastName", "value": "", "type": "query", "description": "Last name for identity match" }, { "name": "AddressLine1", "value": "", "type": "query", "description": "Address line 1 for identity match" }, { "name": "AddressLine2", "value": "", "type": "query", "description": "Address line 2 for identity match" }, { "name": "City", "value": "", "type": "query", "description": "City for identity match" }, { "name": "State", "value": "", "type": "query", "description": "State or province for identity match" }, { "name": "PostalCode", "value": "", "type": "query", "description": "Postal code for identity match" }, { "name": "AddressCountryCode", "value": "", "type": "query", "description": "ISO country code for identity match address" }, { "name": "NationalId", "value": "", "type": "query", "description": "National ID for identity match" }, { "name": "DateOfBirth", "value": "", "type": "query", "description": "Date of birth for identity match (YYYYMMDD)" } ] }, "docs": "Query information about a phone number. Specify which data packages to include using the Fields parameter. Available packages include validation, line type intelligence, caller name, SIM swap, identity match, SMS pumping risk, and more." }, { "info": { "name": "Twilio List Phone Numbers in a Messaging Service", "type": "http" }, "http": { "method": "GET", "url": "https://accounts.twilio.com/Services/:ServiceSid/PhoneNumbers", "params": [ { "name": "ServiceSid", "value": "", "type": "path", "description": "The unique identifier of the messaging service" } ] }, "docs": "Twilio List Phone Numbers in a Messaging Service" }, { "info": { "name": "Twilio Add a Phone Number to a Messaging Service", "type": "http" }, "http": { "method": "POST", "url": "https://accounts.twilio.com/Services/:ServiceSid/PhoneNumbers", "params": [ { "name": "ServiceSid", "value": "", "type": "path", "description": "The unique identifier of the messaging service" } ], "body": { "type": "form-urlencoded", "data": [ { "name": "PhoneNumberSid", "value": "" } ] } }, "docs": "Twilio Add a Phone Number to a Messaging Service" } ] } ], "bundled": true }