Skip to main content
POST
Unpin Message

Autorisaties

Authorization
string
header
vereist

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

Headers

Idempotency-Key
string

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

Maximum string length: 255
Voorbeeld:

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

Api-Version-Date
string

Pins the request to a dated API version.

Voorbeeld:

"2026-11-17"

Padparameters

id
string
vereist

The message to unpin.

Respons

message unpinned

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

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.

Voorbeeld:

false

author_user_id
string | null
vereist
Voorbeeld:

"user_xxxxxxxxxxxxxx"

channel_id
string
vereist
Voorbeeld:

"feed_xxxxxxxxxxxxxxxxxxxxxx"

content
string | null
vereist

Markdown content. null for a deleted message.

Voorbeeld:

"Content 1"

created_at
string
vereist

Creation time as an ISO 8601 timestamp.

Voorbeeld:

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

custom_author
object | null
vereist
deleted_at
string | null
vereist

Deletion time, or null for a live message.

Voorbeeld:

null

edited
boolean
vereist
Voorbeeld:

false

embeds
object[]
vereist
gifs
object[]
vereist
id
string
vereist

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

Voorbeeld:

"post_xxxxxxxxxxxxxxxxxxxxxx"

mentioned_user_ids
string[]
vereist
message_type
enum<string>
vereist
Beschikbare opties:
regular,
system,
automated
Voorbeeld:

"regular"

pinned
boolean
vereist
Voorbeeld:

false

plain_content
string | null
vereist

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

Voorbeeld:

"Content 1"

poll
object | null
vereist
reaction_counts
object[]
vereist
replying_to_message_id
string | null
vereist
Voorbeeld:

null

replying_to_user_id
string | null
vereist

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

Voorbeeld:

null

updated_at
string
vereist

Last message change as an ISO 8601 timestamp.

Voorbeeld:

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

view_count
integer | null
vereist

Experience view count. null for DM-backed channels.

Voorbeeld:

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.