channels

Inject a message into a loopback connection [write]

Changed on

Local development without a real platform: the message goes through the same webhook pipeline a Telegram or Slack event would. Only loopback connections accept it — anything else answers 400.

post/channels/connections/{id}/dev/inbound

Request

  • Base URL
    https://api.agentsky.dev/v1
  • URL
    https://api.agentsky.dev/v1/channels/connections/{id}/dev/inbound
  • Auth
    HTTP bearer

Path parameters

idstring required

The connection id

Request body

textstring required
threadstring

Thread key within the connection; default "main"

idstring

Message id to attribute it to; default a generated one

mentionboolean

Whether it reads as a mention of the bot

Response

Accepted

thread_idstring required

Changes