Search

Unarchive Conversation

Articles

Use this function to uarchive a conversation in the slack application.

Syntax

Unarchive Conversation (token, channel_id)

Parameters

Input Parameter Name Description
token Authentication token
channel_id ID of the archived channel

Returns

Return Value Description
Output
  • On Success: 1 | Conversation Unarchived Successfully
  • On Failure: 0 | Error Message

Sample

Unarchive Conversation (xoxp-12QWERT, ABC123)

  • Uses the token xoxp-12QWERT to authenticate the connection to the Slack application, unarchives a channel with ID ABC123.
    Returns Conversation Unarchived Successfully on unarchiving the channel.

To view the Channel ID, right click on the channel name in the left menu and select Copy link in the Slack application. Paste in a text editor, the URL is of the format: https://<Slack URL>/<Channel ID>.

To view all the Slack functions, click here.

Did you find what you were looking for?