Skip to main content
POST
/
api
/
run
/
meetings
/
lifecycle
/
addMultipleParticipants
addMultipleParticipants
curl --request POST \
  --url https://connvo-dev.convex.cloud/api/run/meetings/lifecycle/addMultipleParticipants \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "args": {
    "meetingId": "meeting_123example",
    "participants": [
      {
        "userId": "user_456example",
        "role": "participant"
      },
      {
        "userId": "user_789example",
        "role": "participant"
      },
      {
        "userId": "user_012example",
        "role": "observer"
      }
    ]
  }
}'
{
  "status": "success",
  "errorMessage": "",
  "errorData": {},
  "value": {
    "added": [
      "participant_456example",
      "participant_789example"
    ],
    "skipped": [
      {
        "userId": "user_012example",
        "reason": "User not found"
      }
    ],
    "success": true
  }
}

Authorizations

Authorization
string
header
required

Standard user authentication token issued via WorkOS. Provide as Authorization: Bearer <user-token>.

Body

application/json
args
object
required

Response

Convex executed your request and returned a result

status
enum<string>
required
Available options:
success,
error
errorMessage
string
errorData
object
value
object