Actions17
- Domain Actions
- Email Actions
- IP Actions
- Phone Actions
- Search Actions
Phone → Scrub Phone
AI-generatedSummary
Validates a phone number and removes formatting characters to return a standardized international format.
Inputs
- phoneNumber (required) — The phone number to validate and scrub. Accepted formats include international (with +), country codes, or local numbers.
- simplify — If true, returns only the nested data object (e.g., the 'data' property) when available.
Output shape
A single record for each input item containing a 'data' property with the scrubbed phone number string.
If simplify is false, the response wraps the data in the standard object envelope.
Examples
Example 1: Clean a raw phone number string for a CRM database.
Input: '+1 (555) 123-4567', Simplify: true
Example 2: Validate and format a phone number using a country-specific format.
Input: '020 7946 0958' (UK), Simplify: false