---
title: "Get chat sync"
method: GET
path: "/api/profiles/{id}/chat_syncs/{chat_sync_id}"
tags: ["Profiles"]
---

# Get chat sync

`GET /api/profiles/{id}/chat_syncs/{chat_sync_id}`

## Request

- Base URL: `https://api.postproxy.dev`
- URL: `https://api.postproxy.dev/api/profiles/{id}/chat_syncs/{chat_sync_id}`
- Auth: HTTP bearer

Retrieves a single chat sync run - poll this to follow a backfill to completion. The run is finished when status is completed or failed.

## Path parameters

- `id` string, required
- `chat_sync_id` string, required

## Query parameters

- `profile_group_id` string

## Response `200`

The chat sync run

- ProfileChatSync: A chat sync run: the pull fired when the profile connects (or direct messages are enabled) or a backfill you start. Runs are kept for 30 days.
  - `id` string: Unique sync identifier.
  - `profile_id` string: Profile this run belongs to.
  - `placement_id` string, nullable: Always null for chat syncs.
  - `kind` 'chats': Always chats.
  - `trigger` 'connect' | 'backfill'
  - `status` 'pending' | 'running' | 'completed' | 'failed'
  - `started_at` string, nullable: ISO 8601 timestamp when the run began.
  - `completed_at` string, nullable: ISO 8601 timestamp when it finished or failed.
  - `chats_seen` integer: Conversations the platform returned across the run.
  - `messages_imported` integer: Messages that were new and got created. Messages you already have are skipped and not counted.
  - `backfill_from` string, nullable: The date floor requested. null for connect runs.
  - `oldest_updated_at` string, nullable: Last-activity time of the oldest conversation the run reached - how far back it has walked.
  - `error` string, nullable: Platform error message when status is failed.
  - `created_at` string: ISO 8601 timestamp.

## Other responses

- `401`: Invalid, missing, or insufficient API key permissions.

---

[API](https://skmtc.dev/postproxy/apis/postproxy-social-media-api.md) - [All operations](https://skmtc.dev/postproxy/apis/postproxy-social-media-api/llms.txt) - [OpenAPI document](https://skmtc.dev/postproxy/apis/postproxy-social-media-api/revisions/d54482ac4ce7?raw)
