Start a conversation

Unarchiving a Message

Added in 24.11.

Use the unarchiveMessage mutation to unarchive the archived message.
The fields of the mutation are given in the table below:

Field Description Required
messageId The message ID you want to unarchive. Yes
destinationBoardId The destination board ID where you want the message to move after unarchiving. Yes

Example

Use the example below to unarchive a message to an Idea board.

mutation {
  unarchiveMessage(
    messageId: "message:3376",
    destinationBoardId:"board:ideas"
  ) {
    result
    errors {
      __typename
    }
  }
}

The GraphQL response:

{
  "data": {
    "unarchiveMessage": {
      "result": true,
      "errors": null
    }
  }
}
Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. ATLAS

  2. Posted
  3. Updated

Comments