Numura pieejamības pārbaudes serviss.
Introduction
Authentication is done using an unique key. Base url for requests is http://api.text2reach.com/?api_key=API_KEY
1. HTTP interface
Requests are performed through HTTP protocol.
Example:
https://api.text2reach.com/hlr/?api_key=09A4453D25806ABAF1E903DF1CF2A3A9&phone=37126378162
1.1 Parameters
| Name | Required | Default value | Description |
| api_key | yes | – | your registered HLR-Service API key |
| phone | yes | – | Phone number in international format with or without “+” sign |
2. Error codes
| Code | Description |
|---|---|
| 0 | Successfully |
| 1 | Invalid API_KEY |
| 2 | System error |
| 3 | No route found |
| 4 | Requests overlimit |
| 5 | Not defined destination price |
| 6 | Restricted by country |
| 7 | Portability checking error |
| 8 | HLR lookup error |
| 9 | Insufficient funds |
| 10 | Restricted by IP-address |
| 11 | Invalid phone number format |