Sendbird · Arazzo Workflow

Sendbird Mute a User and Post a Moderation Notice

Version 1.0.0

Mute a user in a channel and post an admin notice explaining the action.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub ArazzoWorkflows

Provider

sendbird

Workflows

mute-then-warn-user
Mute a user and announce the moderation action in the channel.
Mutes the user in the channel for a duration, then posts an admin notice into that channel.
2 steps inputs: apiToken, channelUrl, description, moderatorId, noticeMessage, seconds, userId outputs: mutedUserId, noticeMessageId
1
muteUser
Mute the user in the channel for the supplied duration.
2
postNotice
Post an admin notice into the channel about the mute.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Sendbird Mute a User and Post a Moderation Notice
  summary: Mute a user in a channel and post an admin notice explaining the action.
  description: >-
    A lighter-touch moderation flow than banning. It mutes a user in a channel
    for a set duration and then posts an admin message into the same channel so
    members understand a moderation action was taken. Useful for transparent
    moderation where the room should see that a warning was issued. Every step
    spells out its request inline so the flow can be read and executed without
    opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: messagesApi
  url: ../openapi/sendbird-messages-api-openapi.yml
  type: openapi
- name: moderationApi
  url: ../openapi/sendbird-moderation-api-openapi.yml
  type: openapi
workflows:
- workflowId: mute-then-warn-user
  summary: Mute a user and announce the moderation action in the channel.
  description: >-
    Mutes the user in the channel for a duration, then posts an admin notice
    into that channel.
  inputs:
    type: object
    required:
    - apiToken
    - userId
    - channelUrl
    - moderatorId
    properties:
      apiToken:
        type: string
        description: Sendbird Api-Token from the dashboard.
      userId:
        type: string
        description: User ID to mute.
      channelUrl:
        type: string
        description: URL of the channel to mute the user in.
      seconds:
        type: integer
        description: Mute duration in seconds. -1 for indefinite.
        default: 3600
      description:
        type: string
        description: Reason recorded for the mute.
        default: Temporary mute for cooling off.
      moderatorId:
        type: string
        description: User ID that authors the admin notice.
      noticeMessage:
        type: string
        description: Admin notice posted to the channel.
        default: A member has been muted by a moderator.
  steps:
  - stepId: muteUser
    description: Mute the user in the channel for the supplied duration.
    operationId: muteUser
    parameters:
    - name: Api-Token
      in: header
      value: $inputs.apiToken
    - name: user_id
      in: path
      value: $inputs.userId
    requestBody:
      contentType: application/json
      payload:
        channel_url: $inputs.channelUrl
        seconds: $inputs.seconds
        description: $inputs.description
    successCriteria:
    - condition: $statusCode == 200
  - stepId: postNotice
    description: Post an admin notice into the channel about the mute.
    operationId: sendMessage
    parameters:
    - name: Api-Token
      in: header
      value: $inputs.apiToken
    - name: channel_url
      in: path
      value: $inputs.channelUrl
    requestBody:
      contentType: application/json
      payload:
        message_type: ADMM
        user_id: $inputs.moderatorId
        message: $inputs.noticeMessage
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      noticeMessageId: $response.body#/message_id
  outputs:
    mutedUserId: $inputs.userId
    noticeMessageId: $steps.postNotice.outputs.noticeMessageId

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/sendbird-mute-then-warn-user-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.