Skip to main content
PATCH
/
conversations
/
v3
/
conversations
/
threads
/
{threadId}
Update a thread
curl --request PATCH \
  --url https://api.hubapi.com/conversations/v3/conversations/threads/{threadId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "archived": true,
  "status": "CLOSED"
}
'
{
  "archived": true,
  "associatedContactId": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "id": "<string>",
  "inboxId": "<string>",
  "originalChannelAccountId": "<string>",
  "originalChannelId": "<string>",
  "spam": true,
  "status": "CLOSED",
  "assignedTo": "<string>",
  "closedAt": "2023-11-07T05:31:56Z",
  "latestMessageReceivedTimestamp": "2023-11-07T05:31:56Z",
  "latestMessageSentTimestamp": "2023-11-07T05:31:56Z",
  "latestMessageTimestamp": "2023-11-07T05:31:56Z",
  "threadAssociations": {
    "associatedTicketId": "<string>"
  }
}

Supported products

Requires one of the following products or higher.
Marketing HubMarketing Hub -Free
Sales HubSales Hub -Free
Service HubService Hub -Free
Content HubContent Hub -Free
Data HubData Hub -Free

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

threadId
integer<int64>
required

The unique ID of the thread.

Query Parameters

archived
boolean

Whether the thread to update is archived. Default is false. A thread's status property can not be updated if the thread is archived.

Body

application/json
archived
boolean

Whether this thread is archived. Set to false to restore the thread.

status
enum<string>

The thread's status: OPEN or CLOSED.

Available options:
CLOSED,
OPEN

Response

successful operation

archived
boolean
required

Whether this thread is archived.

associatedContactId
string
required

The ID of the associated Contact in the CRM. If the Contact for the thread has not yet been added or created, the associatedContactId returned will be a visitorID and cannot be used to search for the Contact in the CRM.

createdAt
string<date-time>
required

When the thread was created.

id
string
required

The unique ID of the thread.

inboxId
string
required

The ID of the conversations inbox containing the thread.

originalChannelAccountId
string
required
originalChannelId
string
required
spam
boolean
required

Whether the thread is marked as spam.

status
enum<string>
required

The thread's status: OPEN or CLOSED.

Available options:
CLOSED,
OPEN
assignedTo
string
closedAt
string<date-time>

When the thread was closed. Only set if the thread is closed.

latestMessageReceivedTimestamp
string<date-time>

The time that the latest message was sent on the thread.

latestMessageSentTimestamp
string<date-time>

The time that the latest message was sent on the thread.

latestMessageTimestamp
string<date-time>

The time that the latest message was sent or received on the thread.

threadAssociations
object
Last modified on December 16, 2025