Lempile Direct API reference
Lempile Direct answers Unipile's LinkedIn API (its paths, fields, status codes and error types) without a browser: each call goes to LinkedIn's own API through the connected account's own session and proxy. Point a Unipile client at https://direct.lempile.com/api/v1 with a Direct key in X-API-KEY (each key sees its own workspace's accounts and webhooks only). Anything Direct doesn't do answers Unipile's 501 errors/feature_not_implemented. Guides: https://lempile.com/docs. This document: https://direct.lempile.com/api/v1/openapi.json.
- Base URL
https://direct.lempile.com- Authentication
- X-API-KEY header
- Endpoints
- 49 endpoints · v0.1.0
Accounts
The LinkedIn accounts a key can use, their status, resync and removal.
Hosted auth
A link where a person connects their LinkedIn account through Lempile's real-browser sign-in.
Webhooks
Unipile's webhook registry and the events Direct sends.
Users and profiles
The account's own profile and other members' profiles, with their sections.
Relations and invitations
Connections, sent invitations, inviting and withdrawing.
- GET
/api/v1/users/followersList followers - POST
/api/v1/users/inviteSend an invitation - GET
/api/v1/users/invite/sentList sent invitations - DELETE
/api/v1/users/invite/sent/{invitation_id}Withdraw an invitation - GET
/api/v1/users/relationsList relations - GET
/api/v1/users/invite/receivedList received invitations - POST
/api/v1/users/invite/received/{invitation_id}Accept or decline a received invitation
Chats and messages
The LinkedIn inbox: chats, messages, attendees, sending.
- GET
/api/v1/chat_attendeesList all attendees - GET
/api/v1/chatsList chats - POST
/api/v1/chatsStart a chat - GET
/api/v1/chats/{chat_id}Retrieve a chat - PATCH
/api/v1/chats/{chat_id}Mark a chat read or unread, mute it - DELETE
/api/v1/chats/{chat_id}Delete a chat - GET
/api/v1/chats/{chat_id}/attendeesList a chat's attendees - GET
/api/v1/chats/{chat_id}/messagesList a chat's messages - POST
/api/v1/chats/{chat_id}/messagesSend a message in a chat - GET
/api/v1/messages/{message_id}Retrieve a message - PATCH
/api/v1/messages/{message_id}Edit a message - DELETE
/api/v1/messages/{message_id}Delete a message - POST
/api/v1/messages/{message_id}/reactionReact to a message - DELETE
/api/v1/messages/{message_id}/reactionRemove a message reaction
Posts
Members' and companies' posts; creating and deleting posts.
Comments and reactions
A post's comments and reactions; commenting and reacting.
- POST
/api/v1/posts/reactionReact to a post or a comment - DELETE
/api/v1/posts/reactionRemove a reaction - GET
/api/v1/posts/{post_id}/commentsList a post's comments - POST
/api/v1/posts/{post_id}/commentsComment on a post - DELETE
/api/v1/posts/{post_id}/comments/{comment_id}Delete a comment - GET
/api/v1/posts/{post_id}/reactionsList a post's reactions
Search and companies
LinkedIn's classic search (people, companies, posts, jobs), its parameters, company pages and the raw route.