Pull API \ Retrieve the companies of a LinkedIn user

Resource/URI GET
Facebook · Retrieve a user's likes /pull/identities/<identity_token>/facebook/likes.json Retrieve Likes
Facebook · Retrieve a user's posts /pull/identities/<identity_token>/facebook/posts.json Retrieve Posts
Facebook · Retrieve a user's pages /pull/identities/<identity_token>/facebook/pages.json Retrieve Pages
Facebook · Retrieve a user's page posts /pull/identities/<identity_token>/facebook/page/<pageid>/posts.json Retrieve Page Posts
LinkedIn · Retrieve a user's companies /pull/identities/<identity_token>/linkedin/companies.json Retrieve Companies
LinkedIn · Retrieve a user's company posts /pull/identities/<identity_token>/linkedin/company/<companyid>/posts.json Retrieve Company Posts
Pinterest · Retrieve a user's boards /pull/identities/<identity_token>/pinterest/boards.json Retrieve Boards
Pinterest · Retrieve a user's board pins /pull/identities/<identity_token>/pinterest/board/<boardid>/pins.json Retrieve Board Pins
Pinterest · Retrieve a user's pins /pull/identities/<identity_token>/pinterest/pins.json Retrieve Pins
Steam · Retrieve a user's games /pull/identities/<identity_token>/steam/games.json Retrieve Games
Twitter · Retrieve a user's tweets /pull/identities/<identity_token>/twitter/tweets.json Retrieve Tweets
YouTube · Retrieve a user's channels /pull/identities/<identity_token>/youtube/channels.json Retrieve Channels
YouTube · Retrieve a user's playlists /pull/identities/<identity_token>/youtube/playlists.json Retrieve Playlists
YouTube · Retrieve a user's playlist videos /pull/identities/<identity_token>/youtube/playlist/<playlistid>/videos.json Retrieve Playlist Videos

Workflow

Request: the code to send to the API

Send an API request to this endpoint to retrieve the companies that the user is administrating on LinkedIn:

GET /pull/identities/<identity_token>/linkedin/companies.json

The <identity_token> is obtained whenever one of your users connects using LinkedIn.

In order to use this endpoint the permission Manage Company Pages (rw_organization_admin) must be enabled in the LinkedIn settings in your OneAll account and the user must have granted that permission when he logged in with LinkedIn. You can publish content for a company using our Push API.

Result: the code returned by the API

Response Example

{
  "response": {
    "request": {
      "date": "Tue, 07 Aug 2018 15:49:30  0200",
      "resource": "/pull/identities/2faf197d-1919-4bc1-845f-eee1624a4c43/linkedin/companies.json",
      "status": {
        "flag": "success",
        "code": 200,
        "info": "Your request has been processed successfully"
      }
    },
    "result": {
      "data": {
        "count": 1,
        "entries": [
          {
            "id": 2395631,
            "tag": "oneall",
            "url": "https://www.linkedin.com/company/oneall/",
            "name": "OneAll",
            "description": "Reunite your user data in a state-of-the-art security environment that is 100% compliant with all US & EU data protection laws."
          }
        ]
      }
    }
  }
}

User Contributed Notes