Skip to main content

Joining

// With invitation token (external partners)
const thread = await connection.join(invitationToken);

// Direct join (internal services)
const thread = await connection.join('thread-uuid', 'logistics');

Parameters

ParameterTypeDescription
tokenOrThreadIdstringInvitation token or thread ID
rolestringRole (required for direct join)

Thread Properties

PropertyTypeDescription
idstringThread ID
myRolestringYour assigned role
myAccessLevelstringYour access level
contractNamestringContract name
statusstringThread status

Next Steps