Saltar al contenido principal
POST
CSharp (SDK)

Autorizaciones

Authorization
string
header
requerido

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.

Encabezados

X-On-Behalf-Of
string

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

Parámetros de ruta

id
string
requerido

The agent ID.

Cuerpo

application/json
target
string
requerido

slack:, como slack:C0123ABCD.

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

El mensaje, en Markdown.

Required string length: 1 - 12000
connector_id
string

Qué conector de Slack usar para publicar cuando el agente tiene más de uno.

idempotency_key
string
Required string length: 1 - 255

Respuesta

Ya se publicó bajo esta clave de idempotencia.

object
enum<string>
requerido
Opciones disponibles:
agent.message
id
string
requerido
agent_id
string
requerido
connector_id
string
requerido
status
enum<string>
requerido
Opciones disponibles:
sent
target
string
requerido
channel_id
string
requerido
message_ts
string | null
requerido

La marca de tiempo del mensaje de Slack, que también es el ID del hilo en Slack.

thread_id
string | null
requerido

La rosca del conector fijó el poste.

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

La conversación del hilo, cuando se creó en esta llamada.