Skip to main content
POST
/
registry
/
v1
/
channels
Register a channel
curl --request POST \
  --url https://api.swarmd.ai/registry/v1/channels \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>"
}
'
{
  "channelId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "tenantId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "clientId": "<string>",
  "clientSecret": "<string>",
  "createdAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

JWT token (USER, AGENT, or SERVICE auth)

Body

application/json
name
string
required

Response

201 - */*

Created

channelId
string<uuid>
required
tenantId
string<uuid>
required
name
string
required
clientId
string
required
clientSecret
string
required
createdAt
string<date-time>