connect
Select LinkedIn org
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.
AuthorizationBearer <token>
API key authentication - use your Late API key as a Bearer token
In: header
profileIdstring
tempTokenstring
userProfileobject
accountTypestring
Value in
"personal" | "organization"selectedOrganization?object
redirect_url?string
Format
uriResponse Body
application/json
application/json
curl -X POST "https://getlate.dev/api/v1/connect/linkedin/select-organization" \ -H "Content-Type: application/json" \ -d '{ "profileId": "64f0a1b2c3d4e5f6a7b8c9d0", "tempToken": "AQX...", "userProfile": { "id": "abc123", "username": "johndoe", "displayName": "John Doe", "profilePicture": "https://media.licdn.com/dms/image/v2/..." }, "accountType": "personal" }'{
"message": "LinkedIn account connected successfully",
"account": {
"accountId": "64e1f0a9e2b5af0012ab34cd",
"platform": "linkedin",
"username": "johndoe",
"displayName": "John Doe",
"profilePicture": "https://media.licdn.com/...",
"isActive": true,
"accountType": "personal"
}
}Empty
{
"error": "Unauthorized"
}Empty