- Returning.AI
- Auth
- Server
- Role
- Channel
- Badge
- Integration
- Application
get my servers
Developing
GET
/servers
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
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'
Responses
🟢200Success
application/json
Body
meta
object
required
success
boolean
required
message
string
required
devMessage
string
required
body
array [object {10}]
required
_id
string
optional
name
string
optional
image
string
optional
owner
object
optional
__v
integer
optional
roles
array[string]
optional
categories
array[string]
optional
leaderboards
array[string]
optional
languageSettings
array[string]
optional
id
string
optional
Example
{
"meta": {
"success": true,
"message": "My servers",
"devMessage": "My servers"
},
"body": [
{
"_id": "{_id}",
"name": "Dummy Server",
"image": "https://dummyimage.com/600x400/000/fff",
"owner": {
"id": "2"
},
"__v": 0,
"roles": [],
"categories": [],
"leaderboards": [],
"languageSettings": [],
"id": "{_id}"
}
]
}
Modified at 2025-05-22 11:44:32