GET /api/v1/connect/pending
Unexpired pending connections of this organization, newest first (options without tokens). Use it, or the connection.pending webhook, to learn the id after an API-started Facebook connect
BearerAuthAuthorizationBearer <token>API key sk_...
{pending}
application/json- response
pending?array<>curl -X GET 'https://example.com/api/v1/connect/pending'{ "pending": [ { "id": "string", "platform": "string", "kind": "string", "externalId": "string", "expiresAt": "2019-08-24T14:15:22Z", "options": [ { "id": "string", "name": "string", "category": "string", "pictureUrl": "string", "tasks": [ "string" ] } ] } ]}POST /api/v1/connect/linkedin POST
Connect (or with accountId reconnect) a LinkedIn account with the member's own web session: cookies (li_at and JSESSIONID at least) and the user agent of the browser they came from. No OAuth, no password. country (ISO-3166 alpha-2, required) and city (optional) choose where the server-side residential proxy the session goes through exits; any proxy sent by the caller is ignored. The jar is validated, sealed (encrypted) and stored; responses never contain cookie values. While approval applies to the key, the organization or the account, the connect is queued (202, kind account.linkedin_connect, the queued call carries the jar already sealed). Availability: PROVIDER_LIVE_LINKEDIN_SESSION (or mock outside production)
GET /api/v1/connect/pending/{id} GET
A pending connection of this organization: options to pick (no tokens). Expires after 30 minutes