capabilities.work

Issue an Access Token and Greet the User

A 3-step recipe with Sendbird. We can help you get access.

Recipe · 3 steps

Issue an Access Token and Greet the User

Create a token-bearing user and greet them in a private channel.

  1. Create the user and issue a session access token in one call.
  2. Open a distinct channel between the system user and the new user.
  3. Post a greeting from the system user into the private channel.
What you'll need to have ready
  • apiToken: Sendbird Api-Token from the dashboard.
  • userId: User ID to create.
  • nickname: Display nickname for the new user.
  • profileUrl: Profile image URL for the new user.
  • systemUserId: System/bot user ID that greets the new user.
  • greeting: Greeting message text.
For your developer

Arazzo workflow sendbird:issue-access-token-and-greet, 3 operations: createUser → createGroupChannel → sendMessage. Specs on APIs.io.