Add participant

This activity adds one or more participants to an existing chat conversation. The users can be added as guests or full participants. If the participant is not added as a guest, it is validated as a CloudLink user or client.

Table 1. Add participant action - Inputs
Parameters Description

ConversationId

Unique identifier for the conversation.

Status

Options are 'INVITED' to invite the participants to the conversation, or 'ACCEPTED' to add the participants to the conversation automatically.

Participants

Array of unique identifiers for the participants to be added to the conversation.

AddAsGuest

Indicates whether the participants are added as guest members to the conversation.

Table 2. Add participant action - Outputs
Parameters Description

Success

Indicates whether the activity was completed successfully (value = True) or not (value = False).

Result

Returns an array of the JSON formatted responses for each participant.