Retrieve Exported Candidates Overview

LinkedIn allows the ability for customers to export limited LinkedIn profile information from LinkedIn Recruiter into their ATS with a single click. This integration between LinkedIn Recruiter and the partner ATS will improve workflow improvements for our customers. This integration offers an additional feature called InMail Stub Profile sync, which will allow LinkedIn member contact information to be synced to the ATS when shared by the member. With this feature enabled, LinkedIn Members will be prompted to share their contact information when they are InMailed by a recruiter. If the member consents to share, their contact information will be synced to their ATS via an InMail Stub Profile. Learn more here.

Note

The call volume limit for the Recruiter One-Click Export API is 300 per Recruiter seat per month

Note

The latest API version is 202604. Use this version in the LinkedIn-Version header for all API requests to access the most recent features and improvements.

Throttle Limits

Endpoint Requests Per Day (UTC)
v2/exportedCandidates 100,000
rest/exportedCandidates 100,000
rest/atsPurgedExportedCandidates 100,000

Before You Begin

Authentication

All API requests should be authorized with a OAuth 2.0 Client Credentials token.

Sync All Jobs

For the Recruiter to associate a candidate with an appropriate job, you must sync all of your customer's jobs with LinkedIn. Learn more about syncing jobs here .

Push Notification Platform

For customer export requests to be in real-time from LinkedIn, LinkedIn will be pushing notifications of export events to our partners. Read more about LinkedIn’s push notification platform.

Retrieving Exported Candidates

Receiving Push Notifications

When an export event occurs within LinkedIn, a push notification will be sent to the registered callback URL for your customer. Each event will have an event-type of “EXPORT_CANDIDATE_PROFILE”.

Retrieving Exported Candidate Information

When the callback URL has received a notification event of “EXPORT_CANDIDATE_PROFILE” type, you should then make an API call to retrieve the limited profile information of the exported candidate.

The integrationContext field will be included in the response. This field will contain an identifier unique to the customer for which this candidate was exported on behalf of. Since all callback URLs are unique per customer, you should verify that this identifier correlates to the callback URL the request was sent to.

GET https://api.linkedin.com/v2/exportedCandidates?q=request&requestId=123456789
GET https://api.linkedin.com/rest/exportedCandidates?q=request&requestId=123456789

Sample Request

curl --location 'https://api.linkedin.com/v2/exportedCandidates?q=request&requestId=1234abcd' \
--header 'Authorization: Bearer {token}'
curl --location 'https://api.linkedin.com/rest/exportedCandidates?q=request&requestId=1234abcd' \
--header 'LinkedIn-Version: 202507' \
--header 'Authorization: Bearer {token}'
curl --location 'https://api.linkedin.com/rest/exportedCandidates?q=request&requestId=1234abcd' \
--header 'LinkedIn-Version: 202508' \
--header 'Authorization: Bearer {token}'
curl --location 'https://api.linkedin.com/rest/exportedCandidates?q=request&requestId=1234abcd' \
--header 'LinkedIn-Version: 202508.02' \
--header 'Authorization: Bearer {token}'
curl --location 'https://api.linkedin.com/rest/exportedCandidates?q=request&requestId=1234abcd' \
--header 'LinkedIn-Version: 202510' \
--header 'Authorization: Bearer {token}'
curl --location 'https://api.linkedin.com/rest/exportedCandidates?q=request&requestId=1234abcd' \
--header 'LinkedIn-Version: 202511' \
--header 'Authorization: Bearer {token}'
curl --location 'https://api.linkedin.com/rest/exportedCandidates?q=request&requestId=1234abcd' \
--header 'LinkedIn-Version: 202512' \
--header 'Authorization: Bearer {token}'
curl --location 'https://api.linkedin.com/rest/exportedCandidates?q=request&requestId=1234abcd' \
--header 'LinkedIn-Version: 202602' \
--header 'Authorization: Bearer {token}'
curl --location 'https://api.linkedin.com/rest/exportedCandidates?q=request&requestId=1234abcd' \
--header 'LinkedIn-Version: 202603' \
--header 'Authorization: Bearer {token}'
curl --location 'https://api.linkedin.com/rest/exportedCandidates?q=request&requestId=1234abcd' \
--header 'LinkedIn-Version: 202604' \
--header 'Authorization: Bearer {token}'

Note

The requestId sent in the push notification will expire in 24 hours.

Response Body Fields

Field Description Type Required
candidate The LinkedIn stub profile of the candidate being exported. StubProfile Yes
notes The notes entered by the customer during one click export. String No
externalJobPostingId Unique id for the job within the applicant tracking system. String Yes
integrationContext The ID of the customer on whose behalf the candidate was exported. urn:li:organization:{ID} Yes
requestedAt The time when the candidate was exported. Long (Number of milliseconds since midnight, January 1, 1970 UTC. It must be a positive number) Yes
requester The requester who initiated the request to export the candidate. Requester Yes
source The source from where the candidate is exported. The value is always LINKEDIN. String Yes

Response Body Fields

Field Description Type Required
candidate The LinkedIn stub profile of the candidate being exported. StubProfile Yes
notes The notes entered by the customer during one click export. String No
referenceEntityType The type of the entity associated with the export. It can be either REQUISITION or PIPELINE. This field is used to determine whether referenceEntityId is externalJobRequisitionId or externalPipelineId. ReferenceEntityType No
referenceEntityId The unique identifier within the ATS or CRM system associated with the export. It is used to represent the externalJobRequisitionId or externalPipelineId based on the value of referenceEntityType. String No
integrationContext The ID of the customer on whose behalf the candidate was exported. urn:li:organization:{ID} Yes
requestedAt The time when the candidate was exported. Long (Number of milliseconds since midnight, January 1, 1970 UTC. It must be a positive number) Yes
requester The requester who initiated the request to export the candidate. Requester Yes
source The source from where the candidate is exported. The value is always LINKEDIN. String Yes

Sample Response

{
  "paging": {
    "start": 0,
    "count": 10,
    "links": [],
    "total": 1
  },
  "elements": [
    {
      "requester": {
        "member": "urn:li:person:k7elQHTTKX",
        "lastName": "Doe",
        "firstName": "John"
      },
      "candidate": {
        "profileUrl": "https://www.linkedin.com/in/abc-35a72153",
        "lastName": "Doe",
        "firstName": "John",
        "currentEmployerNames": [
          "LinkedIn"
        ],
        "member": "urn:li:person:k7elQHTTKX",
        "location": "Mountain View, California, United States",
        "headline": "Software Engineer at LinkedIn"
      },
      "notes": "test note and emailAddresses",
      "requestedAt": 1748433986195,
      "integrationContext": "urn:li:organization:1234",
      "source": "LINKEDIN",
      "externalJobPostingId": "123456789"
    }
  ]
}
{
  "paging": {
    "start": 0,
    "count": 10,
    "links": [],
    "total": 1
  },
  "elements": [
    {
      "requester": {
        "member": "urn:li:person:k7elQHTTKX",
        "lastName": "Doe",
        "firstName": "John"
      },
      "candidate": {
        "profileUrl": "https://www.linkedin.com/in/abc-35a72153",
        "lastName": "Doe",
        "firstName": "John",
        "currentEmployerNames": [
          "LinkedIn"
        ],
        "member": "urn:li:person:k7elQHTTKX",
        "location": "Mountain View, California, United States",
        "headline": "Software Engineer at LinkedIn"
      },
      "notes": "test note and emailAddresses",
      "requestedAt": 1748433986195,
      "integrationContext": "urn:li:organization:1234",
      "source": "LINKEDIN",
      "referenceEntityType": "REQUISITION",
      "referenceEntityId": "Req-142b6d4a"
    }
  ]
}
{
  "paging": {
    "start": 0,
    "count": 10,
    "links": [],
    "total": 1
  },
  "elements": [
    {
      "requester": {
        "member": "urn:li:person:k7elQHTTKX",
        "lastName": "Doe",
        "firstName": "John"
      },
      "candidate": {
        "profileUrl": "https://www.linkedin.com/in/abc-35a72153",
        "lastName": "Doe",
        "firstName": "John",
        "currentEmployerNames": [
          "LinkedIn"
        ],
        "member": "urn:li:person:k7elQHTTKX",
        "location": {
            "locationName":"Mountain View, California, United States",
            "countryCode":"US"
        },
        "headline": "Software Engineer at LinkedIn"
      },
      "notes": "test note and emailAddresses",
      "requestedAt": 1748433986195,
      "integrationContext": "urn:li:organization:1234",
      "source": "LINKEDIN",
      "referenceEntityType": "REQUISITION",
      "referenceEntityId": "Req-142b6d4a"
    }
  ]
}

Retrieving Closed Candidate Profiles

After an export event occurs on behalf of a particular candidate, that candidate may choose to close their LinkedIn member account. To enable customers to be notified of such action, you should make an API call to retrieve those candidates that have recently closed their LinkedIn member accounts and update your ATS records as necessary.

If a candidate deletes their LinkedIn account, they can reactivate it within 21 days. After 21 days, we purge the deleted accounts and populate that information within the Closed Candidates Endpoint. Our ATS partners must query this endpoint periodically (at least once in 30 days) and notify end customers that they may need to delete the data that appear within this endpoint from their records if they do not have a legal basis to continue processing it.

GET https://api.linkedin.com/v2/atsPurgedExportedCandidates?q=criteria
GET https://api.linkedin.com/rest/atsPurgedExportedCandidates?q=criteria

Query Parameters

Field Description Type Required Notes
timeRange.start Inclusive lower date boundary Epoch in milliseconds (UTC) Yes Find candidates who have closed their profiles on or after a specific date.
timeRange.end Inclusive upper date boundary Epoch in milliseconds (UTC) Yes Find candidates who have closed their profiles before a specific date.

Query Parameters

Field Description Type Required Notes
exportType Represents the feature that exports the candidate to an external Applicant Tracking System (ATS). You should always provide ONE_CLICK_EXPORT. Enum Yes
timeRange.start Inclusive lower date boundary Epoch in milliseconds (UTC) Yes Find candidates who have closed their profiles on or after a specific date.
timeRange.end Inclusive upper date boundary Epoch in milliseconds (UTC) Yes Find candidates who have closed their profiles before a specific date.

Sample Request

curl --location 'https://api.linkedin.com/v2/atsPurgedExportedCandidates?timeRange.start=1589747047000&timeRange.end=1592425447000&q=criteria' \
--header 'Authorization: Bearer {token}'

Sample Request

curl --location 'https://api.linkedin.com/rest/atsPurgedExportedCandidates?timeRange=(start:0,end:10)&exportType=ONE_CLICK_EXPORT&q=criteria' \
--header 'X-RestLi-Protocol-Version: 2.0.0' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'LinkedIn-Version: 202505' \
--header 'Authorization: Bearer {token}'

Sample Request

curl --location 'https://api.linkedin.com/rest/atsPurgedExportedCandidates?timeRange=(start:0,end:10)&exportType=ONE_CLICK_EXPORT&q=criteria' \
--header 'X-RestLi-Protocol-Version: 2.0.0' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'LinkedIn-Version: 202506' \
--header 'Authorization: Bearer {token}'

Sample Request

curl --location 'https://api.linkedin.com/rest/atsPurgedExportedCandidates?timeRange=(start:0,end:10)&exportType=ONE_CLICK_EXPORT&q=criteria' \
--header 'X-RestLi-Protocol-Version: 2.0.0' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'LinkedIn-Version: 202507' \
--header 'Authorization: Bearer {token}'

Sample Request

curl --location 'https://api.linkedin.com/rest/atsPurgedExportedCandidates?timeRange=(start:0,end:10)&exportType=ONE_CLICK_EXPORT&q=criteria' \
--header 'X-RestLi-Protocol-Version: 2.0.0' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'LinkedIn-Version: 202508' \
--header 'Authorization: Bearer {token}'

Sample Request

curl --location 'https://api.linkedin.com/rest/atsPurgedExportedCandidates?timeRange=(start:0,end:10)&exportType=ONE_CLICK_EXPORT&q=criteria' \
--header 'X-RestLi-Protocol-Version: 2.0.0' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'LinkedIn-Version: 202508.02' \
--header 'Authorization: Bearer {token}'

Sample Request

curl --location 'https://api.linkedin.com/rest/atsPurgedExportedCandidates?timeRange=(start:0,end:10)&exportType=ONE_CLICK_EXPORT&q=criteria' \
--header 'X-RestLi-Protocol-Version: 2.0.0' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'LinkedIn-Version: 202510' \
--header 'Authorization: Bearer {token}'

Sample Request

curl --location 'https://api.linkedin.com/rest/atsPurgedExportedCandidates?timeRange=(start:0,end:10)&exportType=ONE_CLICK_EXPORT&q=criteria' \
--header 'X-RestLi-Protocol-Version: 2.0.0' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'LinkedIn-Version: 202511' \
--header 'Authorization: Bearer {token}'

Sample Request

curl --location 'https://api.linkedin.com/rest/atsPurgedExportedCandidates?timeRange=(start:0,end:10)&exportType=ONE_CLICK_EXPORT&q=criteria' \
--header 'X-RestLi-Protocol-Version: 2.0.0' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'LinkedIn-Version: 202512' \
--header 'Authorization: Bearer {token}'

Sample Request

curl --location 'https://api.linkedin.com/rest/atsPurgedExportedCandidates?timeRange=(start:0,end:10)&exportType=ONE_CLICK_EXPORT&q=criteria' \
--header 'X-RestLi-Protocol-Version: 2.0.0' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'LinkedIn-Version: 202602' \
--header 'Authorization: Bearer {token}'

Sample Request

curl --location 'https://api.linkedin.com/rest/atsPurgedExportedCandidates?timeRange=(start:0,end:10)&exportType=ONE_CLICK_EXPORT&q=criteria' \
--header 'X-RestLi-Protocol-Version: 2.0.0' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'LinkedIn-Version: 202603' \
--header 'Authorization: Bearer {token}'

Sample Request

curl --location 'https://api.linkedin.com/rest/atsPurgedExportedCandidates?timeRange=(start:0,end:10)&exportType=ONE_CLICK_EXPORT&q=criteria' \
--header 'X-RestLi-Protocol-Version: 2.0.0' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'LinkedIn-Version: 202604' \
--header 'Authorization: Bearer {token}'

Sample Response

{
    "elements": [
        {
            "candidate": "urn:li:person:a1b2c3d4e5"
        },
        {
            "candidate": "urn:li:person:f6g7h8i9j0"
        }
    ],
    "paging": {
        "count": 2,
        "start": 0,
        "links": []
    }
}

Response Body Fields

The following fields are included in the response body:

Field Description Type Required
candidate The LinkedIn stub profile of the candidate being exported. StubProfile Yes
notes The notes that were entered by the requester during the One-Click Export process. String No
referenceEntityType The reference type of the entity associated with this export. The available options are "REQUISITION" or "PIPELINE", which indicate whether the export is associated with a job requisition or a talent pipeline. String Yes
referenceEntityId The identifier used by the recruiter when exporting the candidate via One-Click Export. This can be either a pipelineId or a jobRequisitionId, depending on the referenceEntityType value. String Yes
integrationContext The identifier of your customer organization on whose behalf the candidate was exported. This is formatted as an organization URN (urn:li:organization:{ID}). urn:li:organization:{ID} Yes
requestedAt The timestamp indicating when the candidate was exported. This is represented as a long value containing the number of milliseconds since midnight, January 1, 1970 UTC. The value must be a positive number. Long Yes
requester The information about the person who requested to export the candidate. Requester Yes

Response Body Fields

Field Description Type Required
candidate Candidate that was exported and profile is now closed. PersonUrn in format urn:li:person:{id} Yes