Skip to main content
POST
/
api
/
invites
/
{code}
/
join
Join via invite
curl --request POST \
  --url http://localhost:8091/api/invites/{code}/join \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "server": {
      "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

code
string
required

Invite code

Response

Successfully joined the server

data
object