Yes, that’s right. The request you were using above is correct, except the channel_id
part of http://<server>/api/v4/channels/<channel_id>/members
must be for a channel with type “O” (a public channel) or “P” (a private channel). If you don’t already have one of those channels to use, you can use this API route to create one with the correct type.