---
title: "Re-read a chat's history"
method: POST
path: "/v1/actions/resync_chat"
tags: ["Messages"]
---

# Re-read a chat's history

`POST /v1/actions/resync_chat`

## Request

- Base URL: `https://api.heyreagent.com`
- URL: `https://api.heyreagent.com/v1/actions/resync_chat`
- Auth: HTTP bearer

Read one conversation's history from LinkedIn again, from its beginning.

status is SYNC_STARTED, SYNC_RUNNING, SYNC_DONE, SYNC_ERROR or CHAT_DELETED. Call again to follow it.

Docs: https://heyreagent.com/docs/actions/resync_chat

## Request body

- object
  - `chatId` string, required: The conversation id (from list_chats).
  - `connectionId` string: Which of your LinkedIn accounts to act from (its id from list_linkedin_accounts). Omit to use your first live one.

## Response `200`

It worked. Inside result: chatId, status.

- Worked
  - `ok` true, required
  - `result` object, required: What was asked for. A field that does not apply is left out, or is null.

## Other responses

- `default`: It did not work. The message says why, in plain English.

---

[API](https://skmtc.dev/heyreagent/apis/heyreagent-api.md) · [All operations](https://skmtc.dev/heyreagent/apis/heyreagent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/heyreagent/apis/heyreagent-api/revisions/917360c5f841?raw)
