Skip to main content
POST
Unpin Message

Autorizaciones

Authorization
string
header
requerido

An App API key, 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:message:manage
chat:message:create
support_chat:message:create

Encabezados

Idempotency-Key
string

A unique key that makes this request safe to retry. See Idempotent requests.

Maximum string length: 255
Ejemplo:

"d9105228-4a08-46b1-8b91-42fed586d383"

Api-Version-Date
string

Pins the request to a dated API version.

Ejemplo:

"2026-11-17"

Parámetros de ruta

id
string
requerido

The message to unpin.

Respuesta

message unpinned

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

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.

Ejemplo:

false

author_user_id
string | null
requerido
Ejemplo:

"user_xxxxxxxxxxxxxx"

channel_id
string
requerido
Ejemplo:

"feed_xxxxxxxxxxxxxxxxxxxxxx"

content
string | null
requerido

Markdown content. null for a deleted message.

Ejemplo:

"Content 1"

created_at
string
requerido

Creation time as an ISO 8601 timestamp.

Ejemplo:

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

custom_author
object | null
requerido
deleted_at
string | null
requerido

Deletion time, or null for a live message.

Ejemplo:

null

edited
boolean
requerido
Ejemplo:

false

embeds
object[]
requerido
gifs
object[]
requerido
id
string
requerido

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

Ejemplo:

"post_xxxxxxxxxxxxxxxxxxxxxx"

mentioned_user_ids
string[]
requerido
message_type
enum<string>
requerido
Opciones disponibles:
regular,
system,
automated
Ejemplo:

"regular"

pinned
boolean
requerido
Ejemplo:

false

plain_content
string | null
requerido

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

Ejemplo:

"Content 1"

poll
object | null
requerido
reaction_counts
object[]
requerido
replying_to_message_id
string | null
requerido
Ejemplo:

null

replying_to_user_id
string | null
requerido

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

Ejemplo:

null

updated_at
string
requerido

Last message change as an ISO 8601 timestamp.

Ejemplo:

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

view_count
integer | null
requerido

Experience view count. null for DM-backed channels.

Ejemplo:

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.