Ingen treff

Sjekk av telefonnumre – spesifikasjon

API-URL

URL for sending av HTTP-forespørsler:

https://portal.bulkgate.com/api/1.0/integration/check-phone-numbers
Merk

Hvis forespørselen ikke kommer frem, kan du gjenta den på reserveserveren backup1.bulkgate.com.

POST /api/1.0/integration/check-phone-numbers HTTP/1.1 Host: portal.bulkgate.com Content-Type: application/json

Parametertabell

PARAMETERNAVN VERDI OBLIGATORISK STANDARDVERDI
application_id Applikasjons-ID Ja -
application_token Autentiseringstoken for applikasjonen Ja -
numbers Liste over strukturer med telefonnumre som skal sjekkes, se Numre Nei -

Numre

PARAMETERNAVN VERDI OBLIGATORISK STANDARDVERDI
phone_number Telefonnummer Ja -
country Landskoden for telefonnummeret Nei -

Eksempel på en fullstendig forespørsel:

POST /api/1.0/integration/check-phone-numbers HTTP/1.1 Host: portal.bulkgate.com Content-Type: application/json { "application_id": 451, "application_token": "NKN02TWE6NfBkfl-your-secret-token-Wf05GaqLIWLW4aBj", "numbers": [ { "phone_number": "420777777777", "country": "cz" }, { "phone_number": "7777", "country": "cz" } ] }

Svaret på denne forespørselen kan være:

Ved suksess

{ "data": { "420777777777": { "phone_number": "420777777777", "valid": true, "country": "cz", "call_prefix": 420, "network_code": "23003", "network_name": "Vodafone" }, "7777": { "phone_number": "7777", "valid": false, "country": null, "call_prefix": null, "network_code": null, "network_name": "unknown" } } }
Var denne siden nyttig?