Documentation Index
Fetch the complete documentation index at: https://docs.sendpilot.ai/llms.txt
Use this file to discover all available pages before exploring further.
Returns all conversations for LinkedIn accounts in your workspace. Optionally filter by a specific LinkedIn account.
Request
Filter by specific LinkedIn sender account ID. If not provided, returns conversations from all accounts.
Page number for pagination
Number of conversations per page (max: 100)
Response
Array of conversation objects
Unique conversation/chat identifier
The LinkedIn sender account ID this conversation belongs to
Array of participants in the conversation
Participant’s LinkedIn identifier
Participant’s LinkedIn profile URL
URL to participant’s profile picture
The most recent message in the conversation
Message content (truncated to 100 characters)
ISO 8601 timestamp when the message was sent
Message direction: sent or received
ISO 8601 timestamp of the last activity in the conversation
Number of unread messages in the conversation
ISO 8601 timestamp when the conversation was created
ISO 8601 timestamp when the conversation was last updated
Pagination metadata
Total number of conversations
Whether there are more conversations to fetch
curl "https://api.sendpilot.ai/v1/inbox/conversations?accountId=sender_abc123&limit=20" \
-H "X-API-Key: YOUR_API_KEY"
{
"conversations": [
{
"id": "2-OVp-y-UNyFXBYvx0FqmQ",
"accountId": "sender_abc123",
"participants": [
{
"id": "john-doe-12345",
"name": "John Doe",
"profileUrl": "https://www.linkedin.com/in/john-doe",
"profilePicture": "https://media.licdn.com/dms/image/..."
}
],
"lastMessage": {
"content": "Thanks for reaching out! I'd love to discuss...",
"sentAt": "2024-02-24T15:30:00.000Z",
"direction": "received"
},
"lastActivityAt": "2024-02-24T15:30:00.000Z",
"unreadCount": 1,
"createdAt": "2024-02-20T10:00:00.000Z",
"updatedAt": "2024-02-24T15:30:00.000Z"
}
],
"pagination": {
"page": 1,
"limit": 20,
"total": 45,
"totalPages": 3,
"hasMore": true
}
}