Skip to main content
POST
/
api
/
messaging
/
channels
/
{channelId}
/
agents
Add agent to channel
curl --request POST \
  --url http://localhost:3000/api/messaging/channels/{channelId}/agents \
  --header 'Content-Type: application/json' \
  --data '
{
  "agentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "success": true,
  "data": {
    "channelId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "agentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "message": "<string>"
  }
}

Path Parameters

channelId
string<uuid>
required

Body

application/json
agentId
string<uuid>
required

Response

Agent added to channel

success
boolean
data
object