Connect

Select LinkedIn org

Changed on

Complete the LinkedIn connection flow. Set accountType to "personal" or "organization" to connect as a company page. Use X-Connect-Token if connecting via API key.

post/v1/connect/linkedin/select-organization

Request

  • Base URL: https://zernio.com/api
  • URL: https://zernio.com/api/v1/connect/linkedin/select-organization
  • Auth: HTTP bearer

Request body

profileIdstring required
tempTokenstring required
userProfileobject required
accountType'personal' | 'organization'

Send this (with selectedOrganization for an organization) or selections, not both.

redirect_urlstring uri

Response

LinkedIn account connected

messagestring
redirect_urlstring

The redirect URL with connection params appended (only if redirect_url was provided in request)

accountsobject[]

selections only. The connected accounts, same shape as account. The redirect_url then carries accountIds (comma-separated) and accountId of the first.

Changes

    • warning

      added the new account enum value to the / response property for the response status

    • warning

      added the new account enum value to the / response property for the response status

    • warning

      added the new account enum value to the / response property for the response status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status