Saltar al contenido principal
GET
/
conversations
/
conversations
/
2026-09-beta
/
threads
/
{threadId}
/
messages
/
{messageId}
Obtener un solo mensaje
curl --request GET \
  --url https://api.hubapi.com/conversations/conversations/2026-09-beta/threads/{threadId}/messages/{messageId} \
  --header 'Authorization: Bearer <token>'
{
  "archived": true,
  "attachments": [
    {
      "fileId": "<string>",
      "type": "FILE",
      "name": "<string>",
      "url": "<string>"
    }
  ],
  "channelAccountId": "<string>",
  "channelId": "<string>",
  "client": {
    "integrationAppId": 123
  },
  "conversationsThreadId": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "createdBy": "<string>",
  "id": "<string>",
  "recipients": [
    {
      "deliveryIdentifier": {
        "value": "<string>"
      },
      "actorId": "<string>",
      "name": "<string>",
      "recipientField": "<string>"
    }
  ],
  "senders": [
    {
      "actorId": "<string>",
      "deliveryIdentifier": {
        "value": "<string>"
      },
      "name": "<string>",
      "senderField": "<string>"
    }
  ],
  "text": "<string>",
  "type": "MESSAGE",
  "inReplyToId": "<string>",
  "richText": "<string>",
  "status": {
    "failureDetails": {
      "errorMessageTokens": {},
      "errorMessage": "<string>"
    }
  },
  "subject": "<string>",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Supported products

Autorizaciones

Authorization
string
header
requerido

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

Parámetros de ruta

messageId
string
requerido

El ID único del mensaje.

threadId
integer<int64>
requerido

El ID único de la cadena.

Parámetros de consulta

property
string

Una propiedad específica que se incluirá en la respuesta del mensaje.

Respuesta

successful operation

archived
boolean
requerido
attachments
(FILE · object | LOCATION · object | CONTACT · object | UNSUPPORTED_CONTENT · object | MESSAGE_HEADER · object | QUICK_REPLIES · object | WHATSAPP_TEMPLATE_METADATA · object | SOCIAL_MEDIA_METADATA · object)[]
requerido
channelAccountId
string
requerido
channelId
string
requerido
client
object
requerido
conversationsThreadId
string
requerido
createdAt
string<date-time>
requerido
createdBy
string
requerido
direction
enum<string>
requerido
Opciones disponibles:
INCOMING,
OUTGOING
id
string
requerido
recipients
object[]
requerido
senders
object[]
requerido
text
string
requerido
truncationStatus
enum<string>
requerido
Opciones disponibles:
NOT_TRUNCATED,
TRUNCATED,
TRUNCATED_TO_MOST_RECENT_REPLY
type
enum<string>
predeterminado:MESSAGE
requerido
Opciones disponibles:
MESSAGE
inReplyToId
string
richText
string
status
object
subject
string
updatedAt
string<date-time>
Última modificación el 13 de abril de 2026