{
  "opencollection": "1.0.0",
  "info": {
    "name": "Infobip OpenAPI Specification",
    "version": "3.210.0"
  },
  "items": [
    {
      "info": {
        "name": "connectivity",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Number Context lookup (async)",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/number/1/notify",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "This method allows you to get number context information for requested phone numbers and receive information at some endpoint asynchronously. Information may vary per country and your package. For package change, contact your account manager or [support](https://www.infobip.com/contact)."
        },
        {
          "info": {
            "name": "Number Context lookup",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/number/1/query",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "This method allows you to get Number Context information for the requested phone numbers. For package change, contact your account manager or [support](https://www.infobip.com/contact)."
        },
        {
          "info": {
            "name": "Get Number Context logs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/number/1/logs",
            "params": [
              {
                "name": "to",
                "value": "",
                "type": "query",
                "description": "Destination address."
              },
              {
                "name": "bulkId",
                "value": "",
                "type": "query",
                "description": "Bulk ID for which log is requested."
              },
              {
                "name": "messageId",
                "value": "",
                "type": "query",
                "description": "NC lookup ID for which log is requested."
              },
              {
                "name": "generalStatus",
                "value": "",
                "type": "query",
                "description": "Requested Number Context [status](https://www.infobip.com/docs/essentials/response-status-and-error-codes#api-status-codes)."
              },
              {
                "name": "sentSince",
                "value": "2015-02-22T17:42:05.390+0100",
                "type": "query",
                "description": "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`."
              },
              {
                "name": "sentUntil",
                "value": "2015-02-22T19:42:05.390+0100",
                "type": "query",
                "description": "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`."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "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."
              },
              {
                "name": "mcc",
                "value": "",
                "type": "query",
                "description": "Mobile Country Code."
              },
              {
                "name": "mnc",
                "value": "",
                "type": "query",
                "description": "Mobile Network Code. Mobile Country Code is required if this property is used. "
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "This method allows you to get logs of sent Number Context requests."
        }
      ]
    }
  ],
  "bundled": true
}