Endpoint
Authentication
Bearer token required.Request Body
string
required
Display name for the user.
string
required
The room to add the user to.
string
URL of the user’s avatar image.
string
Optional custom identifier for external system correlation. Must be unique within the room.
Response
CollabKitUser
The created user. See
CollabKitUser.string
JWT token for WebSocket authentication. Valid for 90 days. Pass this to the
CollabKitClient constructor.Example
Response (201)
Using the JWT Token
Pass the returnedtoken to the client SDK:
accountId— Your organization IDuserId— The user’s IDroomId— The room IDexp— Expiration (90 days from creation)