Add a user to a conversation as member or viewer to share a thread; the operation needs the admin relation.
Arguments
conversationIdID!requiredinputCreateConversationParticipantInput!requiredinput.userIdID!requiredUser to add.
input.roleStringmember (default) or viewer.
Responses
mutation CreateConversationParticipant($conversationId: ID!, $input: CreateConversationParticipantInput!) { createConversationParticipant(conversationId: $conversationId, input: $input) { id conversationId participantId participantType userId agentId displayName agentKind avatarUrl role lastReadMessageId notificationPreference joinedAt }}{ "data": { "createConversationParticipant": { "id": "string", "conversationId": "string", "participantId": "string", "participantType": "string", "userId": "string", "agentId": "string", "displayName": "string", "agentKind": "string", "avatarUrl": "https://example.com", "role": "string", "lastReadMessageId": "string", "notificationPreference": "string", "joinedAt": "string" } }}The ConversationParticipant! in data.createConversationParticipant.