Passer au contenu principal
POST
/
hlr
/
lookup
Recherche HLR
curl --request POST \
  --url https://api.notiline.net/v1/hlr/lookup \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "contacts": [
    "<string>"
  ]
}
'
{
  "status": 200,
  "message": "succès",
  "data": [
    {
      "contact": "+2250709538217",
      "data": {
        "is_valid": true,
        "phone_number": {
          "numberType": "MOBILE",
          "e164": "+2250709538217",
          "national": "07 07 07 07",
          "is_short_number": false,
          "reachable": true
        },
        "identity": [
          "<unknown>"
        ],
        "network": {
          "name": "Orange"
        },
        "country": {
          "code": "CI",
          "name": "Côte d'Ivoire",
          "dialing_code": "+225",
          "timezone": "Africa/Abidjan"
        }
      }
    }
  ]
}

Autorisations

Authorization
string
header
requis

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Paramètres de requête

contacts
string[]
requis

Contacts à rechercher

Corps

application/json
contacts
string[]

Réponse

Opération réussie

status
integer
Exemple:

200

message
string
Exemple:

"succès"

data
object[]