posts

Create a ephemeral post

Create a new ephemeral post in a channel.

Permissions

Must have create_post_ephemeral permission (currently only given to system admin)

post/api/v4/posts/ephemeral

Request body

user_idstring required

The target user id for the ephemeral post

Example request

{
  "post": {
    "channel_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
  }
}

Response

Post creation successful

idstring
create_atinteger

The time in milliseconds a post was created

update_atinteger

The time in milliseconds a post was last updated

delete_atinteger

The time in milliseconds a post was deleted

edit_atinteger
user_idstring
channel_idstring
root_idstring
original_idstring
messagestring
typestring
propsobject
hashtagstring
file_idsstring[]
pending_post_idstring

Changes

No recorded changes to this endpoint across all 1 revision of this API.