What is the difference between the RESTful API and ENUM?
ENUM is based on UDP communication by default, which generally means that there’s no guaranteed package delivery.
You can use either the ENUM protocol or our RESTful API to access our Portability Check or Number Verification services.
Specifics for the ENUM protocol are:
- No requirement to transmit username or password
- Authentication is based on your IP. We highly recommend a VPN connection to increase the security of your connection in this case.
- No unique identifier is needed (unlike the message ID used by other tyntec services). The identification for individual queries is based on the phone number queried, the IP the query came from and the query timestamp.
- Timeout parameter: If tyntec does not get a response within a specified timeframe, you will receive an error response.
If you use our RESTful API, the communication is established via Hypertext Transfer Protocol Secure (HTTPS) connections. The exchanged object type is typically a JavaScript Object Notation (JSON). tyntec’s application accepts and replies with “application/json” as “Content-Type” (and “charset=utf-8”) in the HTTP header