All URIs are relative to https://api.messente.com/v1
| Method | HTTP request | Description |
|---|---|---|
| fetchInfo | POST /hlr/sync | Requests info about phone numbers |
SyncNumberLookupSuccess fetchInfo(numbers_to_investigate)
Requests info about phone numbers
var MessenteApi = require('messente_api');
var defaultClient = MessenteApi.ApiClient.instance;
// Configure HTTP basic authorization: basicAuth
var basicAuth = defaultClient.authentications['basicAuth'];
basicAuth.username = 'YOUR USERNAME';
basicAuth.password = 'YOUR PASSWORD';
var apiInstance = new MessenteApi.NumberLookupApi();
var numbers_to_investigate = {"numbers":["+37251000000","+37251000001"]}; // NumbersToInvestigate | Numbers for lookup
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.fetchInfo(numbers_to_investigate, callback);| Name | Type | Description | Notes |
|---|---|---|---|
| numbers_to_investigate | NumbersToInvestigate | Numbers for lookup |
- Content-Type: application/json
- Accept: application/json