Dispach
HTTP API
POST
/v1/conversations

Authorization

bearer
headerAuthorizationBearer <token>

An operator key or the configured token.

Request Body

application/json
  1. body
kind*string

A room or a direct conversation.

Value in"room""dm"
members*array<>

Who is in it.

Items1 <= items
title?string

A name for a room, for the embedder's own listing.

Length1 <= length

Response Body

created

Example Request
curl -X POST 'http://localhost:7420/v1/conversations' \  -H 'Content-Type: application/json' \  -d '{  "kind": "room",  "members": [    "string"  ]}'
Example Response
Empty