Symphony Messaging URI
Last updated
Was this helpful?
Last updated
Was this helpful?
This works both on desktop and mobile, as well as on the web version of Symphony Messaging.
Symphony Messaging now supports universal URIs (https links starting with open.symphony.com
), but still supports the previous symphony://
URIs. See the section below for more info.
When a user clicks on a universal URI, a webpage opens and proposes several options relevant to the user, such as opening the link in the desktop or the mobile app, depending on the current context, but also opening in the browser (web version).
Note: On the desktop app, clicking on a URI will either replace an existing module, if one is unpinned, or otherwise open a new module in the grid.
If the desktop app is not running, it starts up and gets focus.
If the desktop app is already running, it focuses on the app. If the app is minimized, it brings the app to the foreground.
If the desktop app is already running and in focus, it has no effect (the app remains in focus).
Opens the 1-1 chat with the user specified by its userId
.
Opens the group chat with the users identified by their userIds.
Displays the chat conversation identified by its streamId
and streamType
.
The streamType
is set to chatroom
for chat rooms or im
for 1-1 chats.
The room creator's userID
or userEmail
must be included in the list of users alongside the other room members. If the current user is not included, the user will receive an error message: 'Please ensure your own email address is included in room creation URL'
The room name is mandatory. If it is not provided, nothing will happen.
It is possible to either directly create the room, or show a room creation modal where the user will be able to configure and confirm the room creation, see example below.
Note: The room name can contain spaces only if the link is opened in Google Chrome.
By default, the create room URI silently creates the room. It is possible instead to show a room creation dialog, where the user will be able to configure settings, add members if needed, and initiate connection requests if some of the prepopulated members where not connected.
To do that, set the silent
flag to false (default:true
).
Users entitled to the SMS & Voice channel of our Federation product are able to directly start a chat over SMS and place a phone call, using the URI schemes described below.
Depending on the contact, this URI will:
Open the existing chat if the chat with this contact already exists
Create and open the chat, if the contact is already onboarded but no chat exists
Open the contact onboarding modal, if the contact doesn't exist yet.
triggerAction
Enum: CHAT
Mandatory
channel
Enum: WHATSAPP
, SMS-DIRECT
, WECHAT
, LINE
, SMS
Mandatory.
phoneNumber
Phone number of the contact. Mandatory.
firstName
Contact first name. Optional.
lastName
Contact last name. Optional.
email
Contact email. Optional.
company
Contact company. Optional.
Display the profile of the user identified by its userId
.
Open an extension app, identified by its publisher, app id, app name, and optionally a module title.
The module title corresponds to the title of the navigation item registered by the app in the left navigation menu. It is useful when an app has registered several entries and you want to select one.
The appId
, appName
& publisher
information can be found in the Admin Portal, under the App Management section.
Alternatively, you can simply open the app module you want to get a link to, click on the hamburger menu in the top right corner, and select Copy app link to copy the URI to your clipboard.
Examples:
Previous URI links (symphony://
) continue to work.
In certain cases they may still be the best option for you, for example, when you integrate Symphony with a native app and don't want the universal URI webpage to open.
To create legacy links, simply replace open.symphony.com
with symphony://
in the URIs above.
You can't create a chat room with external participants. To do this, please set the flag silent=false to spawn the room creation panel where the user can confirm the room creation, as described in the section below .