cURL
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 } } }
Joins the server associated with the invite code. The authenticated user becomes a member of the server.
Session token obtained from /api/auth/login or /api/auth/register. Pass as: Authorization: Bearer
Invite code
Successfully joined the server
Show child attributes