Skip to main content
POST
Share an artifact (code, document, markdown, image link) in a channel as a message.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
channelId
string
required

The channel to share the artifact in.

name
string
required

Filename or artifact name.

type
string
required

Artifact type: code, markdown, document, image.

content
string
required

The artifact content (text/code).

Response

Success

success
enum<boolean>
required
Available options:
true
data
object
required
meta
object