Messages

Update Messagesession (Participants)

Changed on

This is how you add or remove participants from a chat message session. You cannot add or remove from a group MMS session, in that case you must start a new session.

put/domains/{domain}/users/{user}/messagesessions/{messagesession}

Request

  • Base URL
    https://ns-api.com/ns-api/v2
  • URL
    https://ns-api.com/ns-api/v2/domains/{domain}/users/{user}/messagesessions/{messagesession}
  • Auth
    HTTP bearer

Path parameters

domainstring required

This is the main organization name. This is used to link resource to its group/tenant/organization/enterprise. Then using in path for GET you can set to "~" to use the domain name linked to your token/key instead of the domain name itself when reading for your own domain.

Example:example.com
userstring required

This is the main user extension for the user account. ~ can be used to mean "my account" which will extract the user from the token/key used for authentication.

Example:1000
messagesessionstring required

ID of the message session to send in (when changing participants, do not change the session ID)

Request body

participantsstring required

This is a comma separated list of User IDs that will be the final list of users in the group chat. This includes the current user's User ID

Response

codeinteger required
messagestring required

Changes

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status