Rezervē laiku sarunai ar Text2reach speciālistuRezervēt laiku

HLR API dokumentācija

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

NameRequiredDefault valueDescription
api_keyyesyour registered HLR-Service API key
phoneyesPhone number in international format with or without “+” sign

2. Error codes

CodeDescription
0Successfully
1Invalid API_KEY
2System error
3No route found
4Requests overlimit
5Not defined destination price
6Restricted by country
7Portability checking error
8HLR lookup error
9Insufficient funds
10Restricted by IP-address
11Invalid phone number format