Get a LinkedIn export

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://docs.usehearsay.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "integrations MCP server": {
    "url": "https://docs.usehearsay.com/mcp"
  }
}

Close
GET /linkedin/{caseId}/exports/{jobId}

Returns one LinkedIn export record for the case with its status, the generated file once finished, and the requesting user. Returns 404 if the export does not belong to the case. On a case shared with opposing counsel, an export of a profile the caller may not see also returns 404.

Path parameters

  • caseId string Required
  • jobId string Required

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • data object Required

      A stored LinkedIn export record. Every stored field of the record is returned; the common ones are listed here.

      Hide data attributes Show data attributes object
      • source string
      • type string
      • status string

        Values are not-started, inprogress, completed, failed, or cancelled.

      • sortBy string

        Values are old-to-new or new-to-old.

      • exportConfig array[string]
      • metadata object
        Hide metadata attributes Show metadata attributes object
        • linkedInProviderId string
        • linkedInExportType string

          Values are conversations, connections, job-applications, rich-media, saved-jobs, saved-job-alerts, or saved-items.

        • custodianName string | null
        • conversationIds array[string] | null
      • file object | null

        The generated PDF once the export has finished (public file fields only).

        Hide file attributes Show file attributes object | null
        • name string
        • mimeType string
        • size number
      • exportedBy object

        The user who requested the export.

        Hide exportedBy attributes Show exportedBy attributes object
        • name string
        • email string
      • errorMessage string | null
      • createdAt string(date-time)
      • updatedAt string(date-time)
    • statusCode number Required
    • timestamp string(date-time) Required
GET /linkedin/{caseId}/exports/{jobId}
curl \
 --request GET 'http://api.example.com/linkedin/{caseId}/exports/{jobId}' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "data": {
    "source": "linkedin",
    "type": "pdf",
    "status": "not-started",
    "sortBy": "old-to-new",
    "exportConfig": [
      "string"
    ],
    "metadata": {
      "linkedInProviderId": "string",
      "linkedInExportType": "conversations",
      "custodianName": "string",
      "conversationIds": [
        "string"
      ]
    },
    "file": {
      "name": "string",
      "mimeType": "string",
      "size": 42.0
    },
    "exportedBy": {
      "name": "string",
      "email": "string"
    },
    "errorMessage": "string",
    "createdAt": "2026-05-04T09:42:00Z",
    "updatedAt": "2026-05-04T09:42:00Z"
  },
  "statusCode": 200,
  "timestamp": "2026-01-15T10:15:00.000Z"
}