Documentation Index
Fetch the complete documentation index at: https://docs.upstackdata.com/llms.txt
Use this file to discover all available pages before exploring further.
What is a LinkedIn Conversions API token?LinkedIn’s Conversions API uses OAuth 2.0 access tokens to authenticate server-side event requests. The token authorizes Upstack to write conversion events (
rw_conversions) and read ad account data (r_ads) on your behalf. Unlike Reddit’s non-expiring keys, LinkedIn access tokens expire (typically after 60 days) and may need to be refreshed.Prerequisites
Before you start, you need:- Admin or Account Manager access to your LinkedIn Ads account
- Your Partner ID and at least one Conversion Rule created — see How to create LinkedIn Conversion Rules
- Access to the LinkedIn Developer Portal to create or use an app
Steps to generate your LinkedIn CAPI token
Open the LinkedIn Developer Portal
Go to the LinkedIn Developer Portal and either select an existing app or click Create app.When creating an app, associate it with the LinkedIn Company Page that owns or manages your ad account.
Request the required products
On the app’s Products tab, request access to the Conversions API (and Advertising API, if listed separately).
LinkedIn must approve API product access. Approval is usually quick for the Conversions API, but allow time in case verification is required.
Confirm the OAuth scopes
On the Auth tab, confirm the app is authorized for the following OAuth 2.0 scopes:
| Scope | Purpose |
|---|---|
rw_conversions | Read/write conversion events (required) |
r_ads | Read ad account data for matching (required) |
Generate an access token
Use the OAuth 2.0 flow (the Developer Portal’s token generator or your own authorization-code exchange) to generate an access token, granting the
rw_conversions and r_ads scopes.Add the token to Upstack Data
Sign in to Upstack Data and open your LinkedIn destination under Event Destinations. Paste the token into the API Access Token field and save.
Verify the destination is healthy
In the Upstack dashboard, the LinkedIn destination card should show Healthy with a green status indicator within 5 minutes.If the status shows Unhealthy:
- Confirm the token was pasted in full (no truncation, no whitespace).
- Confirm the token includes the
rw_conversionsandr_adsscopes. - Confirm the user who generated the token has access to the ad account that owns the Conversion Rules.
Token expiration and renewal
LinkedIn access tokens are not permanent. When a token expires:- The destination status changes to Unhealthy and events return a
401error. - Generate a new token following the steps above and update the API Access Token field in your LinkedIn destination.
Next step: How to enable LinkedIn click ID tracking