GET
/
conversations
/
v3
/
conversations
/
threads
/
{threadId}
Get a single thread
curl --request GET \
  --url https://api.hubapi.com/conversations/v3/conversations/threads/{threadId} \
  --header 'Authorization: Bearer <token>'
{
  "associatedContactId": "<string>",
  "threadAssociations": {
    "associatedTicketId": "<string>"
  },
  "assignedTo": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "archived": true,
  "originalChannelId": "<string>",
  "latestMessageTimestamp": "2023-11-07T05:31:56Z",
  "latestMessageSentTimestamp": "2023-11-07T05:31:56Z",
  "originalChannelAccountId": "<string>",
  "id": "<string>",
  "closedAt": "2023-11-07T05:31:56Z",
  "spam": true,
  "inboxId": "<string>",
  "status": "OPEN",
  "latestMessageReceivedTimestamp": "2023-11-07T05:31:56Z"
}
Produtos suportados
Requer um dos seguintes produtos ou superior.
Marketing HubMarketing HubGrátis
Sales HubSales HubGrátis
Service HubService HubGrátis
Content HubContent HubGrátis

Escopos Necessários

Esta API requer um dos seguintes escopos:
  • conversations.read

Authorizations

Authorization
string
header
required

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

Response

successful operation

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.

originalChannelId
string
required
originalChannelAccountId
string
required
id
string
required

The unique ID of the thread.

spam
boolean
required

Whether the thread is marked as spam.

inboxId
string
required

The ID of the conversations inbox containing the thread.

status
enum<string>
required

The thread's status: OPEN or CLOSED.

Available options:
OPEN,
CLOSED
threadAssociations
object
assignedTo
string
archived
boolean

Whether this thread is archived.

latestMessageTimestamp
string<date-time>

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

latestMessageSentTimestamp
string<date-time>

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

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.