Skip to main content
POST
Campaign analytics

Authorizations

X-Api-Key
string
header
required

Your LinkedCamp API key.

Body

application/json
campaignId
string

Campaign id, from campaign_list or campaign_create.

userId
string

Read a SUB-ACCOUNT instead of your own data. Accepted only from an agency owner, and only for an account inside your own agency: take the id from subaccount_list and never construct or guess one. An id outside that list is refused. Omit it to read your own data, and name the account to the user when you pass it.

range
object

Date window as { from, to } — epoch milliseconds or ISO 8601. Omit for the backend default.

includeGraph
boolean
default:false

Also return the day-by-day series for charting.

Response

The result, as JSON. Writes answer { "ok": true, "message": ..., "data": ... }.

The response is of type object.