Last Updated: Feb 14, 2022
Use this function to invite users to the given channel.
Invite To Channel (token, channel_id, user_id)
Input Parameter Name | Description |
---|---|
token | Authentication token |
channel_id | ID of the channel to be invited to |
user_id | ID of the user to Invite |
- To know more about token, click here.
- To view the Channel ID, right click on the channel name in the left menu and select Copy link in Slack. Paste in a text editor, the URL is of the format: https://<Slack URL>/<Channel ID>.
- To view the User ID, navigate to the user's profile, click the more icon and choose Copy member ID.
Return Value | Description |
---|---|
Output |
|
Invite To Channel (xoxp-12QWERT, ABC123, PPL223)
To view all the Slack functions, click here.