Create IM
Creates a new instant message conversation or returns an existing IM between the specified users and the calling user.
Last updated
Was this helpful?
Creates a new instant message conversation or returns an existing IM between the specified users and the calling user.
Last updated
Was this helpful?
The calling user is implicitly included as a member of the instant message conversation.
One other participant must be specified.
If a user ID appears in the list multiple times, duplicates will be ignored.
If there is an existing IM conversation with the specified participant, then the id of the existing stream will be returned.
Use to exclude the calling user.
A user needs to have the entitlement isExternalIMEnabled
if he wants to create a crosspod IM (User entitlements are set on Admin Portal).
External users must be connected with the caller before adding them.
📘 Overview of streams
When calling this as an , use the token for sessionToken
.
A stream is like a container for messages exchanged between two or more users via a given instant message (IM) or chat room. For more information, refer to .
At least one user ID must be provided or an error response will be sent.
The caller is implicitly included in the members of the created chat.
Duplicate users will be included in the membership of the chat but the duplication will be silently ignored.
If there is an existing IM conversation with the same set of participants then the id of that existing stream will be returned.
This method was incorrectly specified to take a query parameter in version 1.0 of this specification but now expects a JSON array of user IDs in the body of the request.
Session authentication token.
[7215545058313,7215545078461]