Upload a contact list as a LinkedIn Matched Audience via the Streaming API

domain: learn.microsoft.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Create a DMP segment via POST /v2/dmpSegments with segmentType set to 'FILE' and a name; note the returned segment ID.
  2. Use the Streaming API endpoint to send hashed user records — SHA-256 hash email addresses in lowercase before sending; include additional identifiers (first name, last name, company) to improve match rates.
  3. POST batches of hashed records to the streaming endpoint associated with your segment ID; the Streaming API supports real-time incremental additions and removals without replacing the entire list.
  4. Monitor the segment's size via GET /v2/dmpSegments/{id}; audience size will only be visible in Campaign Manager once the segment reaches LinkedIn's minimum threshold.
  5. Attach the audience to a campaign by referencing the segment ID in the campaign's targetingCriteria under the matched audience targeting facet.
  6. Note that the static CSV upload endpoint (POST /media/upload for DMP segment list creation) was sunset in September 2025; use only the Streaming API for new integrations.

Known gotchas

Related routes

Upload a Matched Audiences contact list to LinkedIn via the Marketing API
advertising · 6 steps · unrated
Upload a LinkedIn Matched Audiences contact or company list for ad targeting
learn.microsoft.com · 5 steps · unrated
Upload a Customer Match audience via Google Ads Data Manager API
developers.google.com/google-ads/api · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans