salesAccessTokens

This resource returns a Sales Access Token to be used in Sales Navigator Display Services iframe for creating authenticated iframe session.

Methods

viewerAndDeveloperApp

GET /salesAccessTokens?q=viewerAndDeveloperApp

Response body

SalesAccessToken

Sample Request

curl -X GET -H 'Authorization: Bearer AQXt...' -H 'Accept=application/json' -H 'X-RestLi-Protocol-Version=2.0.0' 'https://api.linkedin.com/v2/salesAccessTokens?q=viewerAndDeveloperApp'

Sample Response

{
  "elements": [
    {
      "expiryTime": 1535414193,
      "token": "AQXBVi8RMGFWtvBg4pkR0HE8Myt5Dehp0b0xHtjRFyHBmmZIkSQEUYlYhMthjaqVhWNxWY01RFHaJcGPT14lJWE3nddlne2VV5H4fNwpUdhJx546dz0d3WsfZmXevb"
    }
  ],
  "paging": {
    "count": 10,
    "start": 0,
    "links": []
  }
}

Definitions

SalesAccessToken

Represents a degraded access token (a short lived, limited scope oauth token for use in Sales Navigator Display Services iframe).

Field Description Type Optional
token Short-lived, limited-scope oauth token string false
expiryTime Time at which this token will become invalid. Seconds since epoch long false