capabilities.work

Onboard User to Group

A 2-step recipe with Azure Web PubSub. We can help you get access.

Recipe · 2 steps

Onboard User to Group

Add a user to a group, then send the user a welcome message.

  1. Add the user and all of their connections to the named group.
  2. Deliver a personal welcome message to the user confirming they joined.
What you'll need to have ready
  • accessToken: JWT bearer token for the Web PubSub data plane.
  • apiVersion: Data plane REST API version.
  • hub: Target hub name.
  • group: Group name to add the user to.
  • userId: The user id to add and welcome.
  • message: The plain-text welcome message to deliver to the user.
For your developer

Arazzo workflow microsoft-azure-web-pubsub:onboard-user-to-group, 2 operations: webPubSub_addUserToGroup → webPubSub_sendToUser. Specs on APIs.io.