Sendbird · Arazzo Workflow

Sendbird Issue an Access Token and Greet the User

Version 1.0.0

Create a user with an issued access token and send them a private channel greeting.

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

Provider

sendbird

Workflows

issue-access-token-and-greet
Create a token-bearing user and greet them in a private channel.
Creates a user with issue_access_token enabled, opens a distinct channel with a system user, and posts a greeting.
3 steps inputs: apiToken, greeting, nickname, profileUrl, systemUserId, userId outputs: accessToken, channelUrl, greetingMessageId, userId
1
createUserWithToken
Create the user and issue a session access token in one call.
2
openPrivateChannel
Open a distinct channel between the system user and the new user.
3
sendGreeting
Post a greeting from the system user into the private channel.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Sendbird Issue an Access Token and Greet the User
  summary: Create a user with an issued access token and send them a private channel greeting.
  description: >-
    Provisions a user with a session access token in one call, then creates a
    distinct one-to-one channel between a system account and the new user and
    posts a greeting. This is the typical pattern for authenticated client SDK
    onboarding where the backend mints the access token the client will use to
    connect. 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
- name: usersApi
  url: ../openapi/sendbird-users-api-openapi.yml
  type: openapi
workflows:
- workflowId: issue-access-token-and-greet
  summary: Create a token-bearing user and greet them in a private channel.
  description: >-
    Creates a user with issue_access_token enabled, opens a distinct channel
    with a system user, and posts a greeting.
  inputs:
    type: object
    required:
    - apiToken
    - userId
    - nickname
    - profileUrl
    - systemUserId
    properties:
      apiToken:
        type: string
        description: Sendbird Api-Token from the dashboard.
      userId:
        type: string
        description: User ID to create.
      nickname:
        type: string
        description: Display nickname for the new user.
      profileUrl:
        type: string
        description: Profile image URL for the new user.
      systemUserId:
        type: string
        description: System/bot user ID that greets the new user.
      greeting:
        type: string
        description: Greeting message text.
        default: Thanks for joining! Reply here if you need help.
  steps:
  - stepId: createUserWithToken
    description: Create the user and issue a session access token in one call.
    operationId: createUser
    parameters:
    - name: Api-Token
      in: header
      value: $inputs.apiToken
    requestBody:
      contentType: application/json
      payload:
        user_id: $inputs.userId
        nickname: $inputs.nickname
        profile_url: $inputs.profileUrl
        issue_access_token: true
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      createdUserId: $response.body#/user_id
      accessToken: $response.body#/access_token
  - stepId: openPrivateChannel
    description: Open a distinct channel between the system user and the new user.
    operationId: createGroupChannel
    parameters:
    - name: Api-Token
      in: header
      value: $inputs.apiToken
    requestBody:
      contentType: application/json
      payload:
        user_ids:
        - $inputs.systemUserId
        - $steps.createUserWithToken.outputs.createdUserId
        is_distinct: true
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      channelUrl: $response.body#/channel_url
  - stepId: sendGreeting
    description: Post a greeting from the system user into the private channel.
    operationId: sendMessage
    parameters:
    - name: Api-Token
      in: header
      value: $inputs.apiToken
    - name: channel_url
      in: path
      value: $steps.openPrivateChannel.outputs.channelUrl
    requestBody:
      contentType: application/json
      payload:
        message_type: MESG
        user_id: $inputs.systemUserId
        message: $inputs.greeting
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      greetingMessageId: $response.body#/message_id
  outputs:
    userId: $steps.createUserWithToken.outputs.createdUserId
    accessToken: $steps.createUserWithToken.outputs.accessToken
    channelUrl: $steps.openPrivateChannel.outputs.channelUrl
    greetingMessageId: $steps.sendGreeting.outputs.greetingMessageId

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-issue-access-token-and-greet-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.