Understanding E.164 Number Formatting for Messaging

What is E.164?

E.164 is an international standard for phone number formatting. Adopted by the International Telecommunication Union (ITU), this system ensures that each phone number is unique and can be dialed anywhere in the world. For businesses, especially those dealing with international clients, using E.164 ensures efficient and correct communication, avoiding unnecessary confusion or missed connections.

Key Components of E.164

  1. Country Code (CC): This is a 1- to 3-digit number that identifies the country.
  2. National Destination Code (NDC): It varies from country to country and may be used by national telephone organizations.
  3. Subscriber Number (SN): This is the individual phone number without the country or area code.

Formatting in E.164

E.164 formatted numbers typically look like this:

`[+][country code][subscriber number including area code]`

  • The "+" sign is an international prefix.
  • No spaces, parentheses, or dashes are used.
  • The length should be a maximum of 15 digits, including the country code.


For a US number (408) 555-1234, the E.164 formatted number would be: +14085551234.

Formatting Phone Numbers in CSV Files:

When preparing a CSV file with the Messangi platform, please ensure all numbers are in the E.164 format.

CSV Example

Name, Phone Number
John Doe, +14085551234
Jane Smith, +442070313000
Carlos Ruiz, +573154867890

*Note: Always ensure no leading or trailing spaces in each cell, which can cause issues during import.*

Formatting Phone Numbers for API Calls

When using the Messangi platform API, you will often need to send phone numbers as a part of your request. Again, it's essential to use the E.164 format.

API Example

Suppose you are sending an SMS using the API. Your request might look like this:

"recipient": "+14085551234",
"message": "Hello, John! Thanks for signing up."

Always double-check to make sure that there are no spaces or special characters in the number. This ensures that your messages reach their intended recipients without any issues.

In Conclusion:

Adhering to the E.164 standard is not just about compliance; it's about ensuring efficient and reliable communication. Whether you're adding numbers to a CSV file or integrating an API call, the consistent formatting ensures that messages sent via the Messangi platform reach their intended destination without a hitch.

Should you have further queries on this topic or face challenges while formatting, feel free to reach out to our support team. We're here to help!

Was this article helpful?
0 out of 0 found this helpful



Please sign in to leave a comment.