Employee Data
...
Base Employee API
Endpoints

Collect

7min

Overview

Find instructions for collection endpoint usage and data collection.

Use the Base Employee collection endpoints to collect employee data using employee IDs or shorthand names.

Used key

Collect endpoints

Employee ID

/v1/professional_network/employee_base/collect/{employee_id}

Shorthand name

/v1/professional_network/employee_base/collect/{shorthand_name}

Employee ID

Retrieved using Base Employee API search endpoints.

Employee shorthand name

Taken directly from profile URL (e.g., john-doe from www.professional_network.com/in/john-doe).



Other tutorials/helpful information for you to check before using the Base Employee API collection endpoints:

Collection using IDs

Examples in this article are prepared using Postman.

However, you can use the most convenient tool for you: terminal, Postman, or any API-compatible application.

Remember to replace {JWT} with the personal token that was generated for you.

  • Paste in the numeric profile ID instead of {employee_id} and your JWT token instead of {JWT} in the request template:
cURL request example

  • Copy the edited request.
  • Import the request in Postman by clicking the Import button and pasting the request in:
Document image

  • Click Authorization:
Document image

  • Select the Bearer token from the selection menu:
Document image

  • Make sure your JWT token has been imported to Postman:
Document image

  • Send the request
  • Collect profile data from Body:
Document image


Collection using shorthand names

Examples in this article are prepared using Postman.

However, you can use the most convenient tool for you: terminal, Postman, or any API-compatible application.

Remember to replace {JWT} with the personal token that was generated for you.

  • Paste in the selected employee shorthand name instead of {shorthand_name} and your JWT token instead of {JWT} in the request template:
cURL request example

  • Copy the edited request.
  • Import the request in Postman by clicking the Import button and pasting the request in:
Document image

  • Click Authorization:
Document image

  • Select Bearer token and paste your token in:
Document image

  • Make sure your JWT token has been imported to Postman.
Document image

  • Send the request:
Document image

  • Collect profile data from Body.