Chats
Add an array of members to a member chat by user ID.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
chatId*string
Format
uuidRequest Body
application/json
Array of user IDs to add as members. Not enforced by validation, but the request cannot succeed without it.
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PUT "https://example.com/chats/member/members/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{}'{ "scopeId": "65fafe40-a220-4dd7-8724-4598b81c0643", "scopeType": "project", "scope": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "slug": "string", "logo": "3c06f846-1ab1-40a9-8645-a19a9fdeae85" }, "subject": "string", "icon": "bc9b3dc5-578a-4929-a13c-7d1a9725e2b0", "members": [ "15b1f20b-98d8-4c50-b89a-13711baf259b" ], "participants": [ "e3139958-26f5-4fd4-a9c9-fe1c29c5cbac" ], "totalMessages": 0, "recentMessages": [ "6738c803-41a8-4296-a5bd-8d9974ec6fa0" ], "status": "active", "createdBefore": 0, "createdAt": 1678886400000, "updatedAt": 1678886400000}