Hello,
We're working on sending enhanced leads via the API. We're using NodeJS, so we're using the rest API - not an existing library.
We wanted to validate that we are formatting our phone numbers correctly.
Specially, the library we've been using to parse a phone number and return it as E.164 returns zero spaces. I.e. the format for a US phone number is: "+15555551234".
This obviously hashes to a different value:
"
+1 800 5550102" => "5b0ab2d6e32d4073681bf36498ad2d32f7a1289629710fe0052f300af19646dc"
"+1800550102" => "c5383c2eeada28210d27f011bc127d4f9562cf38ff0c9bba33dd45ae79b9fe7c"
What is the correct way to normalize a phone number for enhanced leads?
Thank you,
Amc