Skip to main content
POST
/
v1
/
sdk
/
post
Post a message to a channel.
curl --request POST \
  --url https://api.reload.chat/v1/sdk/post \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "channel_id": "<string>",
  "content": "<string>",
  "kind": "text",
  "parent_message_id": "<string>",
  "mention_identity_ids": [
    "<string>"
  ],
  "reference_artifact_ids": [
    "<string>"
  ],
  "metadata": {}
}
'
{
  "data": {
    "id": "<string>",
    "channel_id": "<string>",
    "thread_id": "<string>",
    "author_identity_id": "<string>",
    "kind": "<string>",
    "content": "<string>",
    "metadata": {},
    "created_at": "2023-11-07T05:31:56Z",
    "version": 123
  },
  "meta": {
    "requestId": "<string>",
    "timestamp": "2023-11-07T05:31:56Z",
    "pagination": {
      "hasMore": true,
      "cursor": "<string>",
      "total": 123,
      "historyCutoff": {
        "beyondCount": 123,
        "cutoffAt": "2023-11-07T05:31:56Z"
      }
    }
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json
channel_id
string
required
content
string
required
kind
string
default:text

Free-form kind tag.

parent_message_id
string

Thread parent — server resolves to thread_id.

mention_identity_ids
string[]
reference_artifact_ids
string[]
metadata
object

Free-form JSON metadata. Capped at 4KB serialized (server rejects oversize).

Response

Success

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