The user insight API can be used to fetch information about the user with the intent of getting insights about the user.

User insight 

User insight resource 

The user insight resource has the following attributes:

Get user insight
/id/users/{userid}/userinsight

Get all user insight information.

Example URLs: - https://api.telenor.io/id/users/{userid}/userinsight

  • Parameters
  • userid
    string (required) 

    The CONNECT ID.

  • Request
  • Headers
    Accept: application/json
    Authorization: Basic <Base64 encoding of username:password>
  • Response  200
  • Returns the user insight of the user, including mails, phones, accounts, and services.

    Headers
    Content-Type: application/json
    Body
    {
      "active": true,
      "id": "12345678910",
      "realname": "Kari Nordmann",
      "birthdate": "2011-12-31",
      "href": "https://api.telenor.io/id/users/12345678910/userinsight",
      "mails": [
        {
          "address": "abc@example.com",
          "verified": true
        }
      ],
      "phones": [
        {
          "verificationTime": null,
          "msisdn": "4712345678",
          "verified": false
        }
      ],
      "accounts": [
        {
          "type": "TNN",
          "userid": "tnn_mobile_1234567",
          "msisdn": null
        }
      ],
      "services": [
        {
          "servicename": "tdprivacyservice",
          "firstaccesstime": "2017-12-21T08:24:09.817Z",
          "lastaccesstime": "2018-04-23T11:32:38.368Z"
        },
        {
          "servicename": "mypage",
          "firstaccesstime": "2016-07-27T14:34:35.294Z",
          "lastaccesstime": "2018-05-03T14:15:04.530Z"
        }
      ]
    }
  • Response  404
  • If the specified user does not exist.

© 2017 Telenor Digital AS