Skip to main content

Viewing Participants

const participants = await thread.getParticipants();

Participant Properties

PropertyTypeDescription
userIdstringUser or service account ID
rolestringBusiness role
accessLevelstringPermission level
grantedBystringWho granted access
grantedAtstringISO timestamp
statusstringactive or revoked

Managing Access

// Update access level
await thread.updateAccess('user-123', { accessLevel: 'participant' });

// Revoke access
await thread.revokeAccess('user-123');

Access Levels

LevelReadWriteInviteManageNotifications
ownerAllYesYesYesAll
participantAllYesYesNoCritical + own
observerAllNoNoNoCompletions
externalOwn onlyOwn onlyNoNoOwn only

Next Steps