Employee API
Endpoints

Collect

6min

Overview

All personal information mentioned within this context is entirely fictional and is solely intended for illustrative purposes.

Find instructions for collection endpoint usage and data collection. Use the collection endpoints to collect employee data using IDs or shorthand names.

Key

Collect endpoint

Employee ID

/v1/professional_network/employee/collect/{employee_id}

Shorthand name

/v1/professional_network/employee/collect/{shorthand_name}

Employee ID

Retrieved using search endpoints.

Employee shorthand name

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



Examples in this article are prepared using Postman.

However, you can use the most convenient tool: 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 Bearer token and paste your token in:
Document image

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

  • Send the request:
Document image

  • Collect employee data from Body:
Document image


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

  • Paste in the selected 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 on the Import button and pasting the request in:
Document image

  • Go to Authorization:
Document image

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

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

  • Send the request:
Document image

  • Collect employee data from Body.



Updated 05 Sep 2024
Did this page help you?