Room API
List an advisor's rooms
List all rooms where an advisor is either a member or an owner for a given network. Search is performed with the advisor's Symphony user ID. This end point returns at most 25 records per page.
HTTP header
Advisor's Symphony user ID
1234567890The external network: WECHAT or WHATSAPP or WHATSAPP-DIRECT or SMS or SMS-DIRECT or LINE
WHATSAPPIf set to "true", lists the rooms where the advisor is an owner. If set to "false", lists the rooms where the advisor is an owner and the rooms where the advisor is only a member.
trueThe before cursor for pagination
The after cursor for pagination
List of rooms found
Missing or malformed parameter
Unauthorized
Operation forbidden
Not found
Create room
Create a room with the advisor whose Symphony user ID is provided. The advisor is set as a member. "externalNetworkRoomDisplayName" applies for WeChat only.
HTTP header
API roomfederationGroupIdAPI room1234567890External network: WECHAT or WHATSAPP or SMS or SMS-DIRECT or LINE
WHATSAPPRoom created successfully
Bad request
Unauthorized
Forbidden
Advisor not found
Conflict (room name already exists)
Room creation failed
Rename room
Rename a room with the new room name which is provided.
HTTP header
StreamId of the room to rename.
Room name updated successfully
Unauthorized
Forbidden
Room not found
Conflict
Rename room failed
Transfer room ownership to another advisor
Transfer the room ownership to the advisor matching the provided Symphony user ID. This advisor should already be a member of the room.
HTTP header
StreamId of the room to transfer.
1234567890Room owner updated successfully
Not found
Conflict
No content
Remove room member
Remove any member, advisor or contact from a room. The room is identified by its streamID.
HTTP header
Room's streamId. The streamId needs to be URLsafe Base64. To obtain the URLSafe Base64 Conversation ID:
- replace forward slashes / with underscores
- replace pluses + with minuses -
- ignore any trailing equal signs = For example, the URLSafe Base64 encoding of: lX1hwfmQ+AK/k/a/BB0y2n///q2+0KfbdA== converts to lX1hwfmQ-AK_k_a_BB0y2n___q2-0KfbdA.
bjHSiY4iz3ar4iIh6-VzCX___peoM7cPdAThe Symphony user ID of the member to remove
1234567890The Symphony user ID of the advisor who is removing the member
1234567890Member successfully removed from the room
Unauthorized
Forbidden
Not found
Conflict
Add room member
Add a member to a room:
HTTP header
Room's streamId. The streamID needs to be URLsafe Base64. To obtain the URLSafe Base64 conversation ID:
- Replace forward slashes / with underscores _
- Replace pluses + with minuses -
- Ignore any trailing equal signs = For example, the URLSafe Base64 encoding of: lX1hwfmQ+AK/k/a/BB0y2n///q2+0KfbdA== converts to lX1hwfmQ-AK_k_a_BB0y2n___q2-0KfbdA.
bjHSiY4iz3ar4iIh6-VzCX___peoM7cPdA12345678901234567890External network: WECHAT or WHATSAPP or SMS or SMS-DIRECT or LINE
WHATSAPPBoolean indicating whether added member is an advisor (false) or a federated user (true)
falseID of the Emp channel Connector to use to reach the federated user. Required for LINE in case automatic LINE channel selection feature is not enabled for your tenant, not applicable for the other external networks.
Member successfully added to the room
Forbidden
Unauthorized
Forbidden
Not found
Conflict
Failed to add member to the room
List room members
List a room’s members. The room is identified by its streamID.
HTTP header
Room's streamId. The streamId needs to be URL safe Base64. To obtain the URLSafe Base64 conversation ID:
- Replace forward slashes / with underscores _
- Replace pluses + with minuses -
- Ignore any trailing equal signs = For example, the URLSafe Base64 encoding of: lX1hwfmQ+AK/k/a/BB0y2n///q2+0KfbdA== converts to lX1hwfmQ-AK_k_a_BB0y2n___q2-0KfbdA.
lX1hwfmQ-AK_k_a_BB0y2n___q2-0KfbdAThe before cursor for pagination
The after cursor for pagination
List of room members
Missing or malformed parameter
Unauthorized
Operation forbidden
Update room features
Update a room's features. Only supported for WhatsApp. The room is identified by its streamID.
HTTP header
Room's streamId. The streamId needs to be URLsafe Base64. To obtain the URLSafe Base64 conversation ID:
- Replace forward slashes / with underscores _
- Replace pluses + with minuses -
- Ignore any trailing equal signs = For example, the URLSafe Base64 encoding of: lX1hwfmQ+AK/k/a/BB0y2n///q2+0KfbdA== converts to lX1hwfmQ-AK_k_a_BB0y2n___q2-0KfbdA.
lX1hwfmQ-AK_k_a_BB0y2n___q2-0KfbdAAllows to enable or disable attachments in a room. Only supported for WhatsApp.
Features updated successfully
Missing or malformed parameter
Unauthorized
Operation forbidden
No content
Add room members in bulk
Add multiple advisors and/or contacts to a room. An advisor must be entitled for the relevant external network. A contact must have already been onboarded.
HTTP header
1234567890External network: WECHAT or WHATSAPP or SMS or SMS-DIRECT or LINE
WHATSAPPOperation to add members to the room completed. Returns an object with the detail of each member's addition success or failure.
Missing or malformed parameter
Unauthorized
Operation forbidden
Update room activity
Update room activity room by stream ID
HTTP header
Room's streamId. The streamID needs to be URLsafe Base64. To obtain the URLSafe Base64 Conversation ID:
Room Activity successfully updated
Room not found
Update room Status failed
Reactivation Not Implemented
Last updated