connectivity
number-lookup

Get Number Context logs

This method allows you to get logs of sent Number Context requests.

get/number/1/logs

Request

  • Base URL
    https://api.infobip.com (the document declares no server; this is the origin it was published from)
  • Auth
    • OAuth 2
      Client credentials
      Token URL: https://api.infobip.com/auth/1/oauth2/token
    • or API key in header Authorization
    • or API key in header Authorization
    • or HTTP basic

Query parameters

tostring

Destination address.

bulkIdstring[]

Bulk ID for which log is requested.

messageIdstring[]

NC lookup ID for which log is requested.

generalStatus'ACCEPTED' | 'PENDING' | 'UNDELIVERABLE' | 'DELIVERED' | 'EXPIRED' | 'REJECTED'

Status group name that describes which category the status code belongs to, i.e., PENDING, UNDELIVERABLE, DELIVERED, EXPIRED, REJECTED.

Requested Number Context status.

sentSincestring date-time

The logs will only include NC lookups sent after this date. Use it alongside sentUntil to specify a time range for the logs, but only up to the maximum limit of 1000 logs per call. Has the following format: yyyy-MM-dd'T'HH:mm:ss.SSSZ.

sentUntilstring date-time

The logs will only include NC lookups sent before this date. Use it alongside sentSince to specify a time range for the logs, but only up to the maximum limit of 1000 logs per call. Has the following format: yyyy-MM-dd'T'HH:mm:ss.SSSZ.

limitinteger

Maximum number of Number Context lookups in returned logs. If not set, the latest 50 records are returned. Maximum limit value is 1000 and you can only access logs for the last 48h.

mccstring

Mobile Country Code.

mncstring

Mobile Network Code. Mobile Country Code is required if this property is used.

Response

Successful response

Changes

No recorded changes to this operation across all 1 revision of this API.