---
title: "Update conversation"
method: PATCH
path: "/api/v1/conversations/{id}"
tags: ["conversation"]
---

# Update conversation

`PATCH /api/v1/conversations/{id}`

## Request

- Base URL: `https://api.bundle.social`
- URL: `https://api.bundle.social/api/v1/conversations/{id}`
- Auth: API key in header `x-api-key`

Set the status of a conversation. This is the general form of the archive and open endpoints, which move a conversation to one specific status.

## Path parameters

- `id` string, required

## Request body

- object
  - `status` 'OPEN' | 'ARCHIVED', required

## Response `200`

200

- object
  - `id` string, required
  - `teamId` string, required
  - `socialAccountId` string, required
  - `platform` 'INSTAGRAM' | 'FACEBOOK', required: Messaging platform. Extensible: new platforms are added over time, so handle unknown values gracefully rather than switching exhaustively.
  - `externalConversationId` string, nullable
  - `externalParticipantId` string, required
  - `participantUsername` string, nullable
  - `participantDisplayName` string, nullable
  - `participantAvatarUrl` string, nullable
  - `status` 'OPEN' | 'ARCHIVED', required
  - `lastMessageAt` string, date-time, nullable
  - `lastActivityAt` string, date-time, nullable, required
  - `lastMessagePreview` string, nullable
  - `lastReadAt` string, date-time, nullable
  - `unreadCount` number, required
  - `platformSeenAt` string, date-time, nullable
  - `createdAt` string, date-time, nullable, required
  - `updatedAt` string, date-time, nullable, required
  - `platformData` object
    - `canReply` boolean, nullable
    - `lastInboundAt` string, date-time, nullable
    - `providerStateSync` object, nullable
      - `action` 'ARCHIVE' | 'OPEN', required
      - `status` 'SYNCED' | 'SYNC_FAILED' | 'UNSUPPORTED', required
      - `reason` string, nullable
      - `error` string, nullable
      - `syncedAt` string, date-time, nullable
  - `socialAccount` object
    - `id` string, required
    - `type` 'TIKTOK' | 'YOUTUBE' | 'INSTAGRAM' | 'FACEBOOK' | 'TWITTER' | 'THREADS' | 'LINKEDIN' | 'PINTEREST' | 'REDDIT' | 'MASTODON' | 'DISCORD' | 'SLACK' | 'BLUESKY' | 'GOOGLE_BUSINESS' | 'SNAPCHAT', required
    - `teamId` string, required
    - `username` string, nullable
    - `displayName` string, nullable
    - `bio` string, nullable
    - `avatarUrl` string, nullable
    - `externalId` string, nullable
    - `providerPageId` string, nullable
    - `userUsername` string, nullable
    - `userDisplayName` string, nullable
    - `userEmail` string, nullable
    - `userId` string, nullable
    - `channels` object[], nullable
      - `id` string, required
      - `name` string, nullable
      - `username` string, nullable
      - `address` string, nullable
      - `avatarUrl` string, nullable
      - `webhook` object, nullable
        - `id` string, nullable
        - `name` string, nullable
        - `avatar` string, nullable
        - `url` string, nullable
      - `metadata` object, nullable
        - `allowImages` boolean, nullable
        - `allowVideos` boolean, nullable
        - `allowGalleries` boolean, nullable
        - `linkFlairEnabled` boolean, nullable
        - `facebookPageId` string, nullable
    - `mastodonServerId` string, nullable
    - `instagramConnectionMethod` 'FACEBOOK' | 'INSTAGRAM', nullable
    - `twitterSubType` 'none' | 'basic' | 'premium' | 'premium_plus', nullable
    - `isTiktokBusinessAccount` boolean, nullable
    - `disconnectedCheckTryAt` string, date-time, nullable
    - `deleteOn` string, date-time, nullable
    - `messagingStatus` 'DISABLED' | 'ENABLED' | 'DISABLE_PENDING'
    - `messagingStatusUpdatedAt` string, date-time, nullable
    - `messagingLastError` string, nullable
    - `createdAt` string, date-time, nullable, required
    - `updatedAt` string, date-time, nullable, required
    - `deletedAt` string, date-time, nullable

## Other responses

- `400`: 400
- `401`: 401
- `403`: 403
- `404`: 404
- `429`: 429
- `500`: 500
- `502`: 502
- `503`: 503
- `504`: 504

## Changes

- **2026-11-03** `fb6e4fbd8d2f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/bundle/apis/bundle-social-api/changes/api/v1/conversations/:id/patch.md)

---

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