MockHero

phone_e164

Identity

Generate phone numbers in strict E.164 international format (+CountryCode followed by digits, no spaces). Perfect for Twilio, SMS APIs, and database storage.

Example Outputs

+4915123456789+14155550123+447911123456+819012345678

API Usage

Send a POST request to generate phone e.164 data:

curl -X POST https://mockhero.dev/api/v1/generate \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "tables": [
    {
      "name": "example",
      "count": 5,
      "fields": [
        {
          "name": "phone_e164",
          "type": "phone_e164"
        }
      ]
    }
  ]
}'

Common Use Cases

  • Twilio/SMS API testing
  • Database phone storage
  • International SMS testing
  • Phone number normalization

Quick Info

Field Type
phone_e164
Category
Identity
Parameters
None required
Output Format
JSON, CSV, SQL

Try it now

Generate phone e.164 data instantly in the playground.

Related Types

Generate Phone E.164 + 155 more types via API

One API call. Multiple tables. Relational integrity. Free tier included.

Get Started Free