Skip to main content
POST
CSharp (SDK)

Authorizations

Authorization
string
header
required

Send Authorization: Bearer , using an MKA1 API key for automation or an OAuth API access token for a signed-in application. Use a dynamic security callback to refresh OAuth access tokens. Browser session-only operations still require their declared cookie.

Headers

X-On-Behalf-Of
string

Optional external end-user identifier forwarded by the API gateway.

Path Parameters

id
string
required

The agent ID.

Body

application/json
target
string
required

slack:, such as slack:C0123ABCD.

Pattern: ^slack:[A-Z0-9]{2,32}$
text
string
required

The message, in Markdown.

Required string length: 1 - 12000
connector_id
string

Which Slack connector to post with, when the agent has more than one.

idempotency_key
string
Required string length: 1 - 255

Response

Already posted under this idempotency key.

object
enum<string>
required
Available options:
agent.message
id
string
required
agent_id
string
required
connector_id
string
required
status
enum<string>
required
Available options:
sent
target
string
required
channel_id
string
required
message_ts
string | null
required

The Slack message timestamp, which is also the thread's ID in Slack.

thread_id
string | null
required

The connector thread the post started.

created_at
string<date-time>
required
sent_at
string<date-time> | null
required
conversation_id
string

The thread's conversation, when it was created on this call.