Formatting
Format Phone Number
This educational endpoint previews how hellomateo normalizes phone numbers. Other API endpoints, including imports and message sending, normalize phone numbers internally, so you usually do not need to call it before another request.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
phone_number*string
Phone Number value for this resource.
country_codes?array<>
Country Codes value for this resource.
Items
1 <= itemsformat?"e164"
Format value for this resource.
Default
"e164"Response Body
application/json
curl -X POST "https://api.getmateo.com/v1/format/phone-number" \ -H "Content-Type: application/json" \ -d '{ "phone_number": "string" }'{ "phone_number": "string", "formatted_phone_number": "string", "country_code": "st", "format": "e164"}