2. Get the user's organization(s) (company pages)
GET {{baseUrl}}/organizationAcls?q=roleAssignee
In this step, you'll retrieve a list of all the organizations that the logged in user is an ADMINISTRATOR or CONTENT_ADMINISTRATOR of. Additional information on this API is available on theĀ Organization Access Control page.
Step 3: Ask user to select the organization(s) whose Events they are interested in syncing leads for
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
q | string |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Restli-Protocol-Version | string | ||
LinkedIn-Version | string |
RESPONSES
status: OK
{"paging":{"start":0,"count":10,"links":[]},"elements":[{"roleAssignee":"urn:li:person:CjfiI9jisl","state":"APPROVED","role":"ADMINISTRATOR","organization":"urn:li:organization:11223344"}]}