Skip to main content
GET
/
api
/
servers
/
{serverID}
Get a server
curl --request GET \
  --url http://localhost:8091/api/servers/{serverID} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "<string>",
    "name": "<string>",
    "createdBy": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "iconPath": "<string>",
    "role": "<string>",
    "memberCount": 123
  }
}

Authorizations

Authorization
string
header
required

Session token obtained from /api/auth/login or /api/auth/register. Pass as: Authorization: Bearer

Path Parameters

serverID
string
required

Server ID

Response

Server details

data
object