Company API
Request Examples

Collect

6min

Overview

All company 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 company data using IDs or shorthand names.

Key

Collect endpoint

Company ID

/v1/professional_network/company/collect/{company_id}

Shorthand name

/v1/professional_network/company/collect/{shorthand_name}

Company ID

Retrieved using search endpoints.

Company shorthand name

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



Examples in this article are prepared using Postman.

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

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

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

  • 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 company data from Body.

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

  • Click 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 company data from Body.