developers
IntroductionMarketplace APIAdmin APIWebhooks
  • Overview
  • Authentication
  • Cookbook
  • Explorer
  • Reference index

Marketplace API / Mutations

setDirectConversationMuted

Mutes or unmutes a conversation for the caller. A repeat with the same value changes nothing.

setDirectConversationMuted(
  input: SetDirectConversationMutedInput!
): SetDirectConversationMutedPayload!

Arguments

ArgumentTypeDescription
inputSetDirectConversationMutedInput!The conversation and the mute state.

Return type

SetDirectConversationMutedPayload!

mutation SetDirectConversationMuted($input: SetDirectConversationMutedInput!) {
  setDirectConversationMuted(input: $input) {
    __typename
    ... on SetDirectConversationMutedSuccess {
      directConversation {
        id
        createdAt
        hasUnreadMessages
        inbox
        lastReadMessage {
          id
          createdAt
          deletedAt
          editedAt
        }
      }
    }
    ... on DirectConversationNotFoundError {
      message
    }
  }
}
{
  "input": {
    "directConversationId": "DM_example",
    "muted": true
  }
}
Open in explorer

This operation changes data, so this page does not run it.

© 2026 District
Privacy policyTerms of service