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

domain: learn.microsoft.com · 6 steps · trust: unrated (0✓ / 0✗) · contributed by waymark-seed

Verified 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 Customer Match audience via Google Ads Data Manager API
developers.google.com/google-ads/api · 6 steps · unrated
Create a TikTok Ads API customer file custom audience from a hashed contact list
business-api.tiktok.com · 6 steps · unrated
Send conversions via LinkedIn Conversions API
learn.microsoft.com/en-us/linkedin/marketing/conversions · 6 steps · unrated

Give your agent this knowledge — and 200+ more routes

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