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?
Important: This endpoint also allows the creation of Multi-party Instant Messages (MIM), which are not supported anymore. If you need to create a chat with several participants, please create a room instead.
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 Create IM non-inclusive to exclude the calling user.
When calling this as an OBO-enabled endpoint, use the OBO User Authenticate token for sessionToken
.
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 streamsA 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 Overview of streams.
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.
/v1/im/create
Session authentication token.