connect
List LinkedIn orgs
Fetch full LinkedIn organization details (logos, vanity names, websites) for custom UI. No authentication required, just the tempToken from OAuth.
AuthorizationBearer <token>
API key authentication - use your Zernio API key as a Bearer token
In: header
Query Parameters
tempTokenstring
The temporary LinkedIn access token from the OAuth redirect
orgIdsstring
Comma-separated list of organization IDs to fetch details for (max 100)
Response Body
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.connect.linkedin.listLinkedInOrganizations({ query: { tempToken: 'tok_abc123', orgIds: 'string', },});console.log(data);{
"organizations": [
{
"id": "12345678",
"logoUrl": "https://media.licdn.com/dms/image/v2/...",
"vanityName": "acme-corp",
"website": "https://acme.com",
"industry": "Technology",
"description": "Leading provider of innovative solutions"
},
{
"id": "87654321",
"logoUrl": "https://media.licdn.com/dms/image/v2/...",
"vanityName": "example-inc",
"website": "https://example.com"
},
{
"id": "11111111"
}
]
}{
"error": "Missing tempToken parameter"
}Empty