- Returning.AI
- Auth
- Server
- Role
- Channel
- Badge
- Integration
channel list of server
Developing
GET
/servers/channels
Request
Header Params
x-api-key
string
required
Example:
*********
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://rai-api.returning.ai/api/v1/servers/channels' \
--header 'x-api-key: *********'
Responses
🟢200Success
application/json
Body
meta
object
required
success
boolean
required
message
string
required
devMessage
string
required
body
array [object {11}]
required
_id
string
optional
title
string
optional
permissions
array[string]
optional
userId
string
optional
serverId
string
optional
iframeEnabled
boolean
optional
embedWidgetEnabled
boolean
optional
channelType
string
optional
createdAt
string
optional
updatedAt
string
optional
__v
integer
optional
Example
{
"meta": {
"success": true,
"message": "Channels list of server",
"devMessage": "Channels list of server"
},
"body": [
{
"_id": "{_id}",
"title": "IC Markets",
"permissions": [],
"userId": "{_id}",
"serverId": "{_id}",
"iframeEnabled": true,
"embedWidgetEnabled": true,
"channelType": "open",
"createdAt": "2025-04-30T05:59:49.965Z",
"updatedAt": "2025-04-30T05:59:49.965Z",
"__v": 0
}
]
}