Skip to main content
GET
/
campaigns
/
{campaignId}
/
stats
curl -X GET 'https://api.linkedcamp.com/campaigns/60f7a1b2c3d4e5f6a7b8c9d0/stats?range={"from":"2024-01-01","to":"2024-01-31"}' \
  -H "token: YOUR_API_TOKEN"
{
  "success": true,
  "message": "Campaign stats found successfully!",
  "campaignId": "60f7a1b2c3d4e5f6a7b8c9d0"
}

Documentation Index

Fetch the complete documentation index at: https://docs.linkedcamp.com/llms.txt

Use this file to discover all available pages before exploring further.

Headers

token
string
required
Your LinkedCamp API token.

Path Parameters

campaignId
string
required
The ID of the campaign.

Query Parameters

userId
string
Optional user ID to filter stats by a specific user.
range
string
Optional JSON string specifying a date range for filtering stats.Format: {"from": "YYYY-MM-DD", "to": "YYYY-MM-DD"}Example: range={"from": "2024-01-01", "to": "2024-01-31"}

Response

success
boolean
Whether the request was successful.
message
string
A human-readable result message.
campaignId
string
The campaign ID.
curl -X GET 'https://api.linkedcamp.com/campaigns/60f7a1b2c3d4e5f6a7b8c9d0/stats?range={"from":"2024-01-01","to":"2024-01-31"}' \
  -H "token: YOUR_API_TOKEN"
{
  "success": true,
  "message": "Campaign stats found successfully!",
  "campaignId": "60f7a1b2c3d4e5f6a7b8c9d0"
}