メインコンテンツへスキップ
GET
/
conversations
/
conversations
/
2026-09-beta
/
threads
/
{threadId}
/
messages
/
{messageId}
メッセージを取得
curl --request GET \
  --url https://api.hubapi.com/conversations/conversations/2026-09-beta/threads/{threadId}/messages/{messageId} \
  --header 'Authorization: Bearer <token>'
{
  "type": "MESSAGE",
  "id": "<string>",
  "conversationsThreadId": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "createdBy": "<string>",
  "client": {
    "clientType": "HUBSPOT",
    "integrationAppId": 123
  },
  "senders": [
    {
      "actorId": "<string>",
      "deliveryIdentifier": {
        "type": "CHANNEL_SPECIFIC_OPAQUE_ID",
        "value": "<string>"
      },
      "name": "<string>",
      "senderField": "<string>"
    }
  ],
  "recipients": [
    {
      "deliveryIdentifier": {
        "type": "CHANNEL_SPECIFIC_OPAQUE_ID",
        "value": "<string>"
      },
      "actorId": "<string>",
      "name": "<string>",
      "recipientField": "<string>"
    }
  ],
  "archived": true,
  "text": "<string>",
  "attachments": [
    {
      "fileId": "<string>",
      "fileUsageType": "AUDIO",
      "type": "FILE",
      "name": "<string>",
      "url": "<string>"
    }
  ],
  "truncationStatus": "NOT_TRUNCATED",
  "direction": "INCOMING",
  "channelId": "<string>",
  "channelAccountId": "<string>",
  "updatedAt": "2023-11-07T05:31:56Z",
  "richText": "<string>",
  "subject": "<string>",
  "inReplyToId": "<string>",
  "status": {
    "statusType": "FAILED",
    "failureDetails": {
      "errorMessageTokens": {},
      "errorMessage": "<string>"
    }
  }
}

Supported products

承認

Authorization
string
header
必須

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

パスパラメータ

messageId
string
必須

取得するメッセージの固有ID。

threadId
integer<int64>
必須

メッセージを含む会話スレッドの一意の識別子。

クエリパラメータ

property
string

応答に含めるメッセージの特定のプロパティ。

レスポンス

successful operation

type
enum<string>
デフォルト:MESSAGE
必須
利用可能なオプション:
MESSAGE
id
string
必須
conversationsThreadId
string
必須
createdAt
string<date-time>
必須
createdBy
string
必須
client
object
必須
senders
object[]
必須
recipients
object[]
必須
archived
boolean
必須
text
string
必須
attachments
(FILE · object | LOCATION · object | CONTACT · object | UNSUPPORTED_CONTENT · object | MESSAGE_HEADER · object | QUICK_REPLIES · object | WHATSAPP_TEMPLATE_METADATA · object | SOCIAL_MEDIA_METADATA · object)[]
必須
truncationStatus
enum<string>
必須
利用可能なオプション:
NOT_TRUNCATED,
TRUNCATED_TO_MOST_RECENT_REPLY,
TRUNCATED
direction
enum<string>
必須
利用可能なオプション:
INCOMING,
OUTGOING
channelId
string
必須
channelAccountId
string
必須
updatedAt
string<date-time>
richText
string
subject
string
inReplyToId
string
status
object
Last modified on April 13, 2026