Skip to main content
GET
Retrieve Message

Authorizations

Authorization
string
header
required

An Account API key, an App API key, an account access token, an account-scoped user token, or a user OAuth token. Prepend the key or token with Bearer, for example Bearer ***************************. See Auth & API keys for how to get each one.

Scopes

dms:read
chat:read
support_chat:read

Headers

Api-Version-Date
string

Pins the request to a dated API version.

Example:

"2026-11-22"

Path Parameters

id
string
required

Existing public message ID.

Query Parameters

include_replying_to_message
boolean
default:false

Include the full replied-to message. Nested replies are not included.

Response

message retrieved

attachments
object[]
required
author
object | null
required
author_is_team_member
boolean
required

true if the author is a team member of the account that owns this community channel. false for partners, private and support channels, and deleted messages.

Example:

false

author_user_id
string | null
required
Example:

"user_xxxxxxxxxxxxxx"

automation
object | null
required

The automation that sent this message. null for a message no automation sent, a deleted message, or a caller without automation:read on the automation's account.

channel_id
string
required
Example:

"feed_xxxxxxxxxxxxxxxxxxxxxx"

content
string | null
required

Markdown content. null for a deleted message.

Example:

"Content 1"

created_at
string
required

Creation time as an ISO 8601 timestamp.

Example:

"2026-01-01T12:00:00.000Z"

custom_author
object | null
required
deleted_at
string | null
required

Deletion time, or null for a live message.

Example:

null

edited
boolean
required
Example:

false

embeds
object[]
required
external_message
object | null
required

The message outside chat that this message was sent or received as. object says which kind it is, such as email_message. For an email, the first file in attachments named email.html holds the email's HTML body. The email's own attachments are also in attachments. null for a message that exists only in chat, or a deleted message.

gifs
object[]
required
id
string
required

Message ID, prefixed post_. Matches the id sent on create, when one was sent.

Example:

"post_xxxxxxxxxxxxxxxxxxxxxx"

mentioned_user_ids
string[]
required
message_type
enum<string>
required
Available options:
regular,
system,
automated
Example:

"regular"

pinned
boolean
required
Example:

false

plain_content
string | null
required

Unformatted message text. null when the text is absent or the message is deleted

Example:

"Content 1"

poll
object | null
required
reaction_counts
object[]
required
replying_to_message_id
string | null
required
Example:

null

replying_to_user_id
string | null
required

User ID of the replied-to message's author, prefixed user_. null without a reply in this channel, or when either message is deleted.

Example:

null

updated_at
string
required

Last message change as an ISO 8601 timestamp.

Example:

"2026-01-01T12:00:00.000Z"

view_count
integer | null
required

Experience view count. null for DM-backed channels.

Example:

null

replying_to_message
any | null

The replied-to message. Omitted unless include_replying_to_message=true. Includes all message fields except replying_to_message. null when this message is deleted or no same-channel target exists.