Skip to main content
POST
/
v2
/
messages
List Inbox
curl --request POST \
  --url https://api.example.com/v2/messages \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <x-api-key>' \
  --data '
{
  "account_id": "<string>",
  "action": "<string>",
  "params": {
    "count": 123,
    "category": "<string>",
    "cursor": "<string>"
  }
}
'
{
  "success": true,
  "data": {
    "conversations": [
      {
        "conversation_id": "urn:li:msg_conversation:(urn:li:fsd_profile:ACoAA...,2-MDZiY2ExOTgtM2NjNy00OTU4LTgyNjUtZWFlMmIwZjM1NTlmXzEwMA==)",
        "participant": {
          "name": "Jane Doe",
          "headline": "Founder at Acme Corp",
          "profile_url": "https://www.linkedin.com/in/jane-doe-42",
          "profile_picture": "https://media.licdn.com/dms/image/v2/.../profile.jpg"
        },
        "last_message": {
          "text": "Sounds good, talk soon!",
          "time": 1777147641366,
          "sender": {
            "name": "Jane Doe",
            "headline": "Founder at Acme Corp",
            "profile_url": "https://www.linkedin.com/in/jane-doe-42",
            "profile_picture": "https://media.licdn.com/dms/image/v2/.../profile.jpg",
            "is_me": false
          }
        },
        "unread": 0,
        "type": "normal"
      }
    ],
    "total_results": 1,
    "next_cursor": "REVTQ0VORElORyYxNzc0OTU4MDE2NjQzJjItWlRFMk1qazBaV1F0Wm1JMFlpMDBNR1k1TFRrMlptTXRaRGcwWVRjM05qUTJZakExWHpFd01BPT0="
  },
  "metadata": {
    "action": "list_inbox",
    "account_id": "your-account-id",
    "credits_consumed": 1,
    "timestamp": "2026-04-26T10:35:00Z"
  }
}

Overview

Returns a paginated list of conversations from the inbox. Filter by category and paginate with the next_cursor value.
This endpoint consumes 1 credit per 10 results returned. LinkedIn returns up to 25 conversations per internal request, so larger total_results values trigger multiple upstream calls automatically.

Request

x-api-key
string
required
Your API key for authentication.
account_id
string
required
The unique identifier of the account to use.
action
string
required
Must be "list_inbox".
params
object

Response

success
boolean
Indicates whether the request was successful.
data
object
metadata
object
{
  "success": true,
  "data": {
    "conversations": [
      {
        "conversation_id": "urn:li:msg_conversation:(urn:li:fsd_profile:ACoAA...,2-MDZiY2ExOTgtM2NjNy00OTU4LTgyNjUtZWFlMmIwZjM1NTlmXzEwMA==)",
        "participant": {
          "name": "Jane Doe",
          "headline": "Founder at Acme Corp",
          "profile_url": "https://www.linkedin.com/in/jane-doe-42",
          "profile_picture": "https://media.licdn.com/dms/image/v2/.../profile.jpg"
        },
        "last_message": {
          "text": "Sounds good, talk soon!",
          "time": 1777147641366,
          "sender": {
            "name": "Jane Doe",
            "headline": "Founder at Acme Corp",
            "profile_url": "https://www.linkedin.com/in/jane-doe-42",
            "profile_picture": "https://media.licdn.com/dms/image/v2/.../profile.jpg",
            "is_me": false
          }
        },
        "unread": 0,
        "type": "normal"
      }
    ],
    "total_results": 1,
    "next_cursor": "REVTQ0VORElORyYxNzc0OTU4MDE2NjQzJjItWlRFMk1qazBaV1F0Wm1JMFlpMDBNR1k1TFRrMlptTXRaRGcwWVRjM05qUTJZakExWHpFd01BPT0="
  },
  "metadata": {
    "action": "list_inbox",
    "account_id": "your-account-id",
    "credits_consumed": 1,
    "timestamp": "2026-04-26T10:35:00Z"
  }
}