Add Member

For adding new member to a room we use the following endpoint.

POST https://api.jelou.ai/v1/rooms/<roomId>/members/add

Adding member to Room

Headers

NameTypeDescription

Content-Type*

String

application/json

Authorization*

String

Bearer <CLIENT_JWT>

Request Body

NameTypeDescription

referenceId*

String

User Id or referenceId

{
  "message": [
    "Member was added to the room successfully!"
  ],
  "statusMessage": "success",
  "status": 1
}

Example:

curl --request POST \
  --url https://api.jelou.ai/v1/rooms/<roomId>/members/add \
  --header 'Content-Type: application/json' \
  --header 'Authorization: <clientId>:<clientSecret>' \
  authorization: 
  --data '{
	"referenceId": "<referenceId>"
}'

Last updated