Archive Message

Archive a LinkedIn conversation thread to tidy your inbox while keeping message history available.

Edges is not related to LinkedIn and is not an official LinkedIn product.

API Endpoint

POST/v1/actions/linkedin-archive-message/run/live

Parameters

Input Parameters

Integration Parameters

Guide

What Archive Message does

Archive Message archives a LinkedIn conversation thread programmatically, moving it out of your primary inbox while keeping the full message history queryable. It runs on the LinkedIn level against the account you connect to Edges, so every archive action is logged against your authenticated session and reversible from the LinkedIn app.

Use it to keep the LinkedIn inbox focused on live conversations without losing context — the thread is not deleted, just hidden from the default view.

How it works

You pass the conversation identifier (or the participant's profile URL) and Edges flips the archive flag on that thread through your connected LinkedIn session. The action is synchronous: by the time the run returns, the conversation no longer appears in your main inbox and has moved to the Archived view inside LinkedIn. No browser, no cookies, no scraping on your side.

Archiving is idempotent — running the action on an already-archived thread returns a clean status rather than an error. If the thread has been deleted, Edges returns a typed error so your workflow can branch.

When to use Archive Message

Reach for Archive Message when inbox organization is part of your automation, not a manual chore. The action is a clean primitive for a "done" signal — close a deal in your CRM, archive the LinkedIn thread; mark an opportunity lost, archive the thread; tag a conversation as handled inside Edges, archive the thread.

It pairs with the LinkedIn messaging & outreach API use case, where teams orchestrate send, read, and archive steps around their CRM state.

Use cases

  • Close-loop inbox hygiene. When a CRM opportunity moves to closed-won or closed-lost, trigger Archive Message on the corresponding LinkedIn thread so your SDR sees only live deals.
  • Shared-inbox teams. A customer-success rep archives handled threads from a shared LinkedIn account so the next teammate picks up only open conversations.
  • Post-campaign cleanup. After a cold outreach sprint wraps, archive non-responders so the inbox shows only warm threads.
  • Automated triage. A classification step tags threads as spam, newsletter, or off-topic; Archive Message removes them from the active view without deleting the record.
  • Compliance-friendly mute. Archive sensitive threads so they do not surface in day-to-day inbox views while remaining available for audit.

Best practices

  • Archive on state change, not on timers. Driving archive off a CRM or pipeline event keeps the LinkedIn inbox synchronized with reality.
  • Pair with read status. Use markAsRead or chain into Mark Message As Read first if you want the counter to clear before the thread disappears.
  • Do not loop through the inbox. If you need to archive many threads, first list them via Extract LinkedIn Conversations, then fan out Archive Message calls with sensible pacing.
  • Keep a record outside LinkedIn. Archive hides the thread; it does not export it. If you need the content downstream, extract the messages first.

Common questions

How many messages can I archive per run?

One conversation thread per run. Archive Message is a single-record primitive; for volume archiving, fan it out from a list produced by Extract LinkedIn Conversations and pace the calls.

Does Archive Message use my LinkedIn account or a shared pool?

Your LinkedIn account. You connect LinkedIn to Edges once and the archive action is executed through that authenticated session. The operation appears in your own activity log, not a shared pool.

Can I chain Archive Message with other Edges actions?

Yes. Typical chains include Extract LinkedIn Conversations to build a candidate list, Mark Message As Read to clear the counter, and then Archive Message to close out the thread.

Get started

Run Archive Message from the Edges library, wire it into your CRM state machine, or call it from the Edges API. Browse the full Actions library to compose it with read, extract, and send actions into a complete inbox-management workflow.

Code Examples

bash
curl -X POST "https://api.edges.run/v1/actions/linkedin-archive-message/run/live" \
  -H "X-API-KEY: <YOUR_API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{
  "identity_ids": [
    "your-identity-uuid"
  ],
  "identity_mode": "direct",
  "input": {
    "linkedin_thread_id": "example_value",
    "custom_data": "example_value"
  }
}'

Output Example

{
  "linkedin_thread_id": "example-123"
}

Explore More Actions

Discover other powerful LinkedIn automation actions in our library.