ReachMCP LinkedIn – Sales Navigator API

The LinkedIn – Sales Navigator API from ReachMCP — 2 operation(s) for linkedin – sales navigator.

GitHub OpenAPI

Operations 3

GET /api/linkedin/{account_id}/salesnav/messaging/threads Sales Navigator proxy: list messaging threads (paged) #
POST /api/linkedin/{account_id}/salesnav/messaging/threads/{thread_id}/messages Sales Navigator proxy: send a message in a thread #
GET /api/linkedin/{account_id}/salesnav/messaging/threads/{thread_id}/messages Sales Navigator proxy: list messages in a thread #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/reachmcp-com:reachmcp-com-linkedin-sales-navigator-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

reachmcp-com-linkedin-sales-navigator-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: MCP Reach LinkedIn – Sales Navigator API
  description: '## MCP Reach API overview


    This API lets you manage LinkedIn accounts connected to MCP Reach and query account activity.

    The documented endpoints cover:


    - listing and deleting LinkedIn accounts

    - reading and updating account quotas

    - reading request logs and aggregated request-log statistics

    - querying LinkedIn `/me` through the account proxy


    ## API documentation


    Interactive reference (Scalar): **`/scalar`** (alias: `/api/scalar`). Swagger UI: `/docs`. ReDoc: `/redoc`.


    ## Authentication


    1. Open the MCP Reach frontend.

    2. Go to **API Keys** and create/retrieve your API key.

    3. Send this key in every request header:


    `X-API-Key: `


    Requests without a valid `X-API-Key` are rejected.


    ## Errors


    Every error response carries `detail` (unchanged, for existing clients) and an `error` object built for agents: `code` (stable identifier such as `daily_quota_reached`), `message`, `status`, `safe_to_retry` (whether the same call can succeed if repeated), `retry_at` (ISO 8601, when it can) and `remediation` (what to do instead). Act on `code`, never on the wording of `message`.


    ## Idempotency


    Send an `Idempotency-Key` header (any string up to 200 characters, a UUID is fine) on any POST/PATCH/DELETE under `/api/linkedin/`. Repeating the request with the same key returns the stored response with `Idempotent-Replayed: true` and does nothing on LinkedIn; the same key with a different body is refused with `409 idempotency_key_reused`. Only successful responses are kept; keys expire after 24 hours.


    ## Webhooks


    Register an endpoint under `/api/webhooks/endpoints` to be called when a conversation gets a new message, the account gains a new connection, an account changes connection state, or a daily quota is close to or at its limit (`GET /api/webhooks/events` lists the types). Deliveries are signed: `Reach-Signature: t=,v1=.'')>`, retried for about 15 hours, and replayable from the dashboard or the API.'
  version: 0.1.0
tags:
- name: LinkedIn – Sales Navigator
paths:
  /api/linkedin/{account_id}/salesnav/messaging/threads:
    get:
      tags:
      - LinkedIn – Sales Navigator
      summary: 'Sales Navigator proxy: list messaging threads (paged)'
      description: 'Calls the Sales Navigator ``salesApiMessagingThreads`` endpoint and returns normalised threads.


        Requires the account to have a Sales Navigator subscription (``has_sales_nav``).


        **Pagination**: pass ``page_starts_at`` from the previous response''s ``next_page_starts_at`` to fetch the next (older) page of threads.'
      operationId: salesnav_messaging_threads_api_linkedin__account_id__salesnav_messaging_threads_get
      security:
      - XApiKeyAuth: []
      parameters:
      - name: account_id
        in: path
        required: true
        schema:
          type: integer
          title: Account Id
      - name: filter
        in: query
        required: false
        schema:
          type: string
          description: 'Conversation folder: INBOX, ARCHIVE, UNREAD, INMAIL_PENDING, INMAIL_ACCEPTED, or INMAIL_DECLINED.'
          default: INBOX
          title: Filter
        description: 'Conversation folder: INBOX, ARCHIVE, UNREAD, INMAIL_PENDING, INMAIL_ACCEPTED, or INMAIL_DECLINED.'
      - name: count
        in: query
        required: false
        schema:
          type: integer
          maximum: 50
          minimum: 1
          description: Number of threads per page (default 20, max 50).
          default: 20
          title: Count
        description: Number of threads per page (default 20, max 50).
      - name: page_starts_at
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          description: Cursor for pagination — value of next_page_starts_at from the previous response.
          title: Page Starts At
        description: Cursor for pagination — value of next_page_starts_at from the previous response.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SalesNavThreadsPageOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/linkedin/{account_id}/salesnav/messaging/threads/{thread_id}/messages:
    post:
      tags:
      - LinkedIn – Sales Navigator
      summary: 'Sales Navigator proxy: send a message in a thread'
      description: 'POST ``salesApiMessageActions?action=createMessage`` to send a message in an existing Sales Navigator thread.


        Requires a Sales Navigator subscription (``has_sales_nav``). Use the ``id`` field from ``GET /salesnav/messaging/threads`` as ``thread_id``.'
      operationId: salesnav_send_message_api_linkedin__account_id__salesnav_messaging_threads__thread_id__messages_post
      security:
      - XApiKeyAuth: []
      parameters:
      - name: account_id
        in: path
        required: true
        schema:
          type: integer
          title: Account Id
      - name: thread_id
        in: path
        required: true
        schema:
          type: string
          title: Thread Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SalesNavSendMessageIn'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SalesNavSendMessageOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - LinkedIn – Sales Navigator
      summary: 'Sales Navigator proxy: list messages in a thread'
      description: 'Calls ``salesApiMessagingThreads/{thread_id}`` to fetch a single thread with its messages and participants.


        Requires a Sales Navigator subscription (``has_sales_nav``). Use the ``id`` field from ``GET /salesnav/messaging/threads`` as ``thread_id``.


        **Pagination**: ``message_count`` controls how many (most recent) messages are returned. Check ``total_message_count`` in the response to know if more exist.'
      operationId: salesnav_thread_messages_api_linkedin__account_id__salesnav_messaging_threads__thread_id__messages_get
      security:
      - XApiKeyAuth: []
      parameters:
      - name: account_id
        in: path
        required: true
        schema:
          type: integer
          title: Account Id
      - name: thread_id
        in: path
        required: true
        schema:
          type: string
          title: Thread Id
      - name: message_count
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          description: Number of most-recent messages to return.
          default: 20
          title: Message Count
        description: Number of most-recent messages to return.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SalesNavThreadOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    SalesNavThreadOut:
      properties:
        id:
          type: string
          title: Id
          description: Sales Navigator thread ID.
        archived:
          type: boolean
          title: Archived
        unread_count:
          type: integer
          title: Unread Count
        total_message_count:
          type: integer
          title: Total Message Count
        restrictions:
          items:
            type: string
          type: array
          title: Restrictions
        next_page_starts_at:
          anyOf:
          - type: integer
          - type: 'null'
          title: Next Page Starts At
          description: Unix ms timestamp — value from the oldest thread, used as page_starts_at cursor.
        messages:
          items:
            $ref: '#/components/schemas/SalesNavThreadMessageOut'
          type: array
          title: Messages
        participants:
          items:
            $ref: '#/components/schemas/SalesNavProfileOut'
          type: array
          title: Participants
      type: object
      required:
      - id
      - archived
      - unread_count
      - total_message_count
      - messages
      - participants
      title: SalesNavThreadOut
    SalesNavProfileOut:
      properties:
        entity_urn:
          type: string
          title: Entity Urn
          description: Full fs_salesProfile URN.
        salesnav_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Salesnav Id
          description: Sales Navigator ID (first segment of the URN).
        linkedin_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Linkedin Id
          description: LinkedIn member ID (from objectUrn).
        firstname:
          anyOf:
          - type: string
          - type: 'null'
          title: Firstname
        lastname:
          anyOf:
          - type: string
          - type: 'null'
          title: Lastname
        fullname:
          anyOf:
          - type: string
          - type: 'null'
          title: Fullname
        degree:
          anyOf:
          - type: integer
          - type: 'null'
          title: Degree
        profile_picture_url:
          anyOf:
          - type: string
          - type: 'null'
          title: Profile Picture Url
        inmail_restriction:
          anyOf:
          - type: string
          - type: 'null'
          title: Inmail Restriction
      type: object
      required:
      - entity_urn
      title: SalesNavProfileOut
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    SalesNavSendMessageIn:
      properties:
        text:
          type: string
          maxLength: 16000
          title: Text
          description: Message body (plain text).
        copy_to_crm:
          type: boolean
          title: Copy To Crm
          description: Copy the message to CRM.
          default: false
      type: object
      required:
      - text
      title: SalesNavSendMessageIn
    SalesNavAttachmentOut:
      properties:
        name:
          anyOf:
          - type: string
          - type: 'null'
          title: Name
        download_url:
          anyOf:
          - type: string
          - type: 'null'
          title: Download Url
        media_type:
          anyOf:
          - type: string
          - type: 'null'
          title: Media Type
        size:
          anyOf:
          - type: integer
          - type: 'null'
          title: Size
        asset_urn:
          anyOf:
          - type: string
          - type: 'null'
          title: Asset Urn
      type: object
      title: SalesNavAttachmentOut
    SalesNavThreadsPageOut:
      properties:
        filter:
          type: string
          title: Filter
          description: 'Filter used: INBOX or ARCHIVE.'
        count:
          type: integer
          title: Count
        total:
          anyOf:
          - type: integer
          - type: 'null'
          title: Total
          description: Total number of threads matching the filter.
        page_starts_at:
          anyOf:
          - type: integer
          - type: 'null'
          title: Page Starts At
          description: Cursor passed in the request (None for first page).
        next_page_starts_at:
          anyOf:
          - type: integer
          - type: 'null'
          title: Next Page Starts At
          description: Pass as page_starts_at to fetch the next (older) page. None when there are no more results.
        items:
          items:
            $ref: '#/components/schemas/SalesNavThreadOut'
          type: array
          title: Items
      type: object
      required:
      - filter
      - count
      - items
      title: SalesNavThreadsPageOut
    SalesNavThreadMessageOut:
      properties:
        id:
          type: string
          title: Id
        type:
          type: string
          title: Type
          description: 'Message type: INMAIL, MESSAGE, INMAIL_ACCEPT, INMAIL_REPLY, etc.'
        body:
          anyOf:
          - type: string
          - type: 'null'
          title: Body
        subject:
          anyOf:
          - type: string
          - type: 'null'
          title: Subject
        delivered_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Delivered At
        author_urn:
          anyOf:
          - type: string
          - type: 'null'
          title: Author Urn
          description: Full fs_salesProfile URN of the author.
        author_salesnav_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Author Salesnav Id
          description: Sales Navigator ID extracted from author URN.
        attachments:
          items:
            $ref: '#/components/schemas/SalesNavAttachmentOut'
          type: array
          title: Attachments
      type: object
      required:
      - id
      - type
      title: SalesNavThreadMessageOut
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    SalesNavSendMessageOut:
      properties:
        success:
          type: boolean
          title: Success
        thread_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Thread Id
        message_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Message Id
        status_code:
          type: integer
          title: Status Code
      type: object
      required:
      - success
      - status_code
      title: SalesNavSendMessageOut
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key
    XApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: Create/retrieve the key in the frontend API Keys page and send it in this header.