cURL
curl --request POST \ --url http://localhost:8091/api/servers/{serverID}/channels/{channelID}/members \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "userIds": [ "<string>" ] } '
{ "error": "<string>" }
Adds one or more users to the channel in a single batch operation.
Session token obtained from /api/auth/login or /api/auth/register. Pass as: Authorization: Bearer
Server ID
Channel ID
Array of user IDs to add
1
Members added