API Keys

System lists all user created API tokens under this section in settings. Users can add as many api tokens as needed so that users can perform various tasks without logging in to the system and manage different operations.

Users can create the API token by providing a name and clicking on the add button, a system generated api key will add in the list below which can be used with the system APIs to perform tasks by combining with the system apis.

All API endpoints can be accessed here: https://api.linkedcamp.com/

Example Curl Command:

Below command will get all the campaigns from a user account:

curl -H 'Content-Type: application/json' -H 'token: token_here' -X GET https://api.linkedcamp.com/campaigns 

Note: Replace token_here with the token generated in https://app.linkedcamp.com/api in curl command above before executing curl command.

Example Add Leads to Campaign Curl Command:

Below command will allow you to add leads to an existing campaign:

curl -d '{"campaignId":"campaign_id_here","leads":[{"title":"Arslan Nasir","profileLink":"https://linkedin.com/in/arslannasir"}]}' -H 'Content-Type: application/json' -H 'token: token_here' -X POST https://api.linkedcamp.com/leads/add-to-campaign

Note: Replace token_here with generated token & replace campaign_id_here with linkedcamp campaign id.

How to get campaign Id?

When open a campaign from https://app.linkedcamp.com/campaigns url will looks like this:

https://app.linkedcamp.com/campaigns/63acddxtfe9d3d16c035f8a5

Here 63acddxtfe9d3d16c035f8a5 is the campaign Id.

Was this article helpful?

Accounts