Create a DMP segment via POST /v2/dmpSegments with segmentType set to 'FILE' and a name; note the returned segment ID.
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.
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.
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.
Attach the audience to a campaign by referencing the segment ID in the campaign's targetingCriteria under the matched audience targeting facet.
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
LinkedIn requires a minimum audience size (check current documentation for the threshold) before a matched audience can be used in campaign targeting; newly uploaded lists will show as 'Audience too small' until the threshold is met.
The static CSV-based DMP Segment List Uploads API endpoint was deprecated and sunsetted in September 2025; new integrations must use the Streaming API.
Hashing must use SHA-256 on the lowercase, whitespace-trimmed value; mismatched hashing formats (e.g., MD5 or un-normalized emails) result in zero matches with no error returned.
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