Download a file from a LinkedIn message attachment. The public API uses GET with your identity and the LinkedIn DMS URL; the response is the raw file (binary), suitable for storage, scanning, or further automation.
/v1/actions/linkedin-download-attachmentDownload a LinkedIn attachment fetches the raw file behind a LinkedIn message attachment, so documents, images, and other files shared in a conversation land in your own storage instead of sitting in the LinkedIn inbox. It runs on the LinkedIn level via a GET call that uses your connected identity plus the LinkedIn DMS URL; the response body is the binary file, ready for archival, scanning, or downstream automation.
Use it when inbox attachments are part of your pipeline — contracts, resumes, slide decks, screenshots — and you need them outside LinkedIn.
You call the action with the DMS (direct messaging service) URL for the attachment and the identity that has access to the containing thread. Edges streams the file back as raw bytes; you receive the binary response, the original filename, the MIME type, and the byte size. The call is authenticated against your connected LinkedIn session, which is why the DMS URL resolves — those URLs are scoped to a participant of the conversation.
Because the response is binary, you typically pipe it into storage (S3, GCS), an antivirus / DLP scanner, or a downstream parsing step such as resume or contract parsing. Edges does not transform the file; you get exactly what was uploaded.
Use this action when a workflow needs the file itself, not just the message text. Candidate resumes, signed order forms, vendor quotes, shared decks — any of these land in LinkedIn as attachments and typically need to move into your CRM, ATS, or document store.
It pairs with the messaging-side actions inside the LinkedIn messaging & outreach API use case — extract the conversation, find attachment URLs, download them into your storage.
mimeType field rather than a filename extension for routing decisions.One file per call. For bulk processing, list attachments first via Extract LinkedIn Messages and fan out Download a LinkedIn attachment calls with server-side pacing handled by Edges.
Your LinkedIn account. DMS URLs are scoped to conversation participants, so the action only succeeds when the identity you pass is a member of the thread. There is no shared pool.
Yes. Typical chains start from Extract LinkedIn Messages, pick out attachment URLs, then fan out Download a LinkedIn attachment calls to persist each file into your storage or trigger a parsing step.
Call Download a LinkedIn attachment from the Edges API, point it at a DMS URL and your connected identity, and stream the file straight into your storage. Browse the full Actions library to see what you can compose with it on the messaging side.
curl -X GET "https://api.edges.run/v1/actions/linkedin-download-attachment?identity_id=example_value&url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Fexample-profile" \
-H "X-API-KEY: <YOUR_API_KEY>"{}