Enum API: Can the Zipwhip API validate phone numbers before it sends a text message?

Last Updated: Jan 17, 2017 01:51PM PST
Yes, you can use the Enum API isTextable call to verify that the given phone number is a valid, text-enabled number before you send a text message. However, this service is currently available only to Zipwhip resellers.

Note: There is also a fee to become a Zipwhip reseller, and a separate fee associated with each isTextable call.
 

Parameters
 

Parameter Name       Required    Description
api_key
 
Yes 
 
The api_key is provided by Zipwhip
 
phone_number  Yes  The phone number that you want to verify is textable. The number must be in E.164 format.
 

Example request: isTextable

$ curl -G https://provision.zipwhip.com/api/20140925/enum/textable \
       -d api_key=[api_key] \
       -d phone_number=[phone_number]
 


Example response: Success

{
    "error": "false",
    "provider": "Zipwhip US - Syniverse",
    "status_code": "100",
    "textable": true,
    "transaction_id": "1228fb27-376b-832e-737b-1e600437e2d6",
    "type": "tollfree"
}


Example response: Failure

{
    "error": "false",
    "provider": "unknown",
    "status_code": "100",
    "textable": false,
    "transaction_id": "623f84a4-faa2-e8d5-6609-4238b96fb2da",
    "type": "tollfree"
}
 
 

Customer Care

noc@zipwhip.com
https://cdn.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete