Agents
Audio
Messaging
- POSTCreate server
- POSTCreate channel
- POSTCreate central channel
- POSTCreate group channel
- GETGet or create DM channel
- POSTSend message to channel
- GETGet channel messages
- GETGet channel details
- GETGet channel info
- GETGet channel participants
- PATCHUpdate channel
- DELDelete channel
- DELDelete channel message
- DELDelete all channel messages
- DELDelete all channel messages by user
- POSTAdd agent to server
- POSTAdd agent to channel
- DELRemove agent from server
- GETGet server agents
- GETGet server channels
- GETGet central servers
- GETGet central server channels
- POSTProcess external message
- POSTIngest messages from external platforms
- POSTSubmit a message to the central messaging system
- POSTMark message processing as complete
Memory
Logs
System
WebSocket
Messaging
Get or create DM channel
Get or create a direct message channel between users
GET
/
api
/
messaging
/
dm-channel
Get or create DM channel
Copy
Ask AI
curl --request GET \
--url http://localhost:3000/api/messaging/dm-channel
Copy
Ask AI
{
"success": true,
"data": {
"channel": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"serverId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "text",
"description": "<string>",
"metadata": {}
}
}
}
Response
200
application/json
DM channel retrieved or created
The response is of type object
.
Was this page helpful?
Get or create DM channel
Copy
Ask AI
curl --request GET \
--url http://localhost:3000/api/messaging/dm-channel
Copy
Ask AI
{
"success": true,
"data": {
"channel": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"serverId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "text",
"description": "<string>",
"metadata": {}
}
}
}
Assistant
Responses are generated using AI and may contain mistakes.