Dispach
HTTP API
POST
/v1/agents/{id}/deliveries

Authorization

bearer
headerAuthorizationBearer <token>

An operator key or the configured token.

Path Parameters

id*string

Request Body

application/json
  1. body
channel*string

The channel id to send on.

Length1 <= length
to*string

Who to send it to, in the channel's own addressing.

Length1 <= length
text*string

The exact text to send. No model turn runs.

Length1 <= length
key*string

Idempotency key: a repeated key is accepted and does nothing.

Length1 <= length

Response Body

queued, or already queued under this key

Example Request
curl -X POST 'http://localhost:7420/v1/agents/string/deliveries' \  -H 'Content-Type: application/json' \  -d '{  "channel": "string",  "to": "string",  "text": "string",  "key": "string"}'
Example Response
Empty