Sendbird · Arazzo Workflow

Sendbird Archive and Delete a Channel

Version 1.0.0

Read a channel's recent messages for archival, then delete the channel.

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

Provider

sendbird

Workflows

archive-and-delete-channel
Snapshot recent messages then delete the channel.
Reads channel details and recent messages for archival, then deletes the channel.
3 steps inputs: apiToken, archiveLimit, channelUrl outputs: archivedMessages, channelName
1
readChannel
Read channel details to capture its final state.
2
snapshotMessages
Pull the most recent messages so they can be archived externally.
3
deleteChannel
Delete the channel after the snapshot has been captured.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Sendbird Archive and Delete a Channel
  summary: Read a channel's recent messages for archival, then delete the channel.
  description: >-
    A channel teardown flow that preserves a final snapshot of recent messages
    before deleting the channel. It reads the channel metadata, pulls the most
    recent messages so they can be archived externally, and then deletes the
    channel. Capturing messages first prevents losing conversation history on
    teardown. 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: channelsApi
  url: ../openapi/sendbird-channels-api-openapi.yml
  type: openapi
- name: messagesApi
  url: ../openapi/sendbird-messages-api-openapi.yml
  type: openapi
workflows:
- workflowId: archive-and-delete-channel
  summary: Snapshot recent messages then delete the channel.
  description: >-
    Reads channel details and recent messages for archival, then deletes the
    channel.
  inputs:
    type: object
    required:
    - apiToken
    - channelUrl
    properties:
      apiToken:
        type: string
        description: Sendbird Api-Token from the dashboard.
      channelUrl:
        type: string
        description: URL of the channel to archive and delete.
      archiveLimit:
        type: integer
        description: Number of recent messages to capture before deletion.
        default: 100
  steps:
  - stepId: readChannel
    description: Read channel details to capture its final state.
    operationId: getGroupChannel
    parameters:
    - name: Api-Token
      in: header
      value: $inputs.apiToken
    - name: channel_url
      in: path
      value: $inputs.channelUrl
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      name: $response.body#/name
      memberCount: $response.body#/member_count
  - stepId: snapshotMessages
    description: Pull the most recent messages so they can be archived externally.
    operationId: listMessages
    parameters:
    - name: Api-Token
      in: header
      value: $inputs.apiToken
    - name: channel_url
      in: path
      value: $inputs.channelUrl
    - name: prev_limit
      in: query
      value: $inputs.archiveLimit
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      messages: $response.body#/messages
  - stepId: deleteChannel
    description: Delete the channel after the snapshot has been captured.
    operationId: deleteGroupChannel
    parameters:
    - name: Api-Token
      in: header
      value: $inputs.apiToken
    - name: channel_url
      in: path
      value: $inputs.channelUrl
    successCriteria:
    - condition: $statusCode == 200
  outputs:
    channelName: $steps.readChannel.outputs.name
    archivedMessages: $steps.snapshotMessages.outputs.messages

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-archive-and-delete-channel-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.