MessengerServiceRest Resource

Messaging

Available Since
1.5.0

POST /messaging/createConversation

This method has been deprecated. Use /createConversation/v2/ instead.

Create a new conversation

Available Since
1.5.0
Request Body
media type data type description
application/json MessengerVO (JSON)

Request JSON (example):

{ "name" : "New Conversation", // Chat's name "aliasOwner" : "jose", // chat owner's alias "aliasList" : ["maria","joao"], // Alias "conversation" : true // /Indicates if this is a conversation in group }
Response Body
media type data type description
application/json object (JSON) Conversation ID {"content" : "SKHJSAJH124514"}
Available Since
1.5.12

POST /messaging/createConversation/v2

Create a new conversation Key participants information like: userId, id and avatarUrl, will always be available, some other participant property might not

Available Since
1.5.12
Request Body
media type data type description
application/json MessengerVO (JSON)

Request JSON (example):

{ "idOwner" : 5, // chat owner's id "participantsIds" : [5,6] // Participants ids "distinct" : true, // /Indicates if this is distinct conversation between the participants "metaData": { "conversationTitle": "New Conversation" // Chat's name } }
Response Body
media type data type description
application/json object (JSON)

Response JSON (example):

{ "content": { "id":"layer:///conversations/a59412a9-6043-402d-952c-507c54f54a87", "url":"https://api.layer.com/conversations/a59412a9-6043-402d-952c-507c54f54a87", "createAt": "-61120174509938" "distinct":true, "unreadMessageCount":0, "alias":"john", "messageUrl":"https://api.layer.com/conversations/a59412a9-6043-402d-952c-507c54f54a87/messages", "metaData":{ "owner":"john", "conversationTitle":"New conversation" }, "participants":[ { "id":"layer:///identities/john", "url":"https://api.layer.com/identities/john", "displayName":"John Silva", "avatarUrl": null, "firstName":"John" "lastName":"Silva" "phoneNumber":null, "emailAddress":null, "publicKey":null, "metadaData":null }, { "id":"layer:///identities/jane", "url":"https://api.layer.com/identities/jane", "displayName":"Jane Doe", "avatarUrl": null, "firstName":"Jane" "lastName":"Doe" "phoneNumber":null, "emailAddress":null, "publicKey":null, "metadaData":null } ] } }
Available Since
1.5.9

POST /messaging/disableConversationUser/{alias}

This method has been deprecated. Use /updateConversationParticipants/{conversationId} instead.

This service will remove an user in conversations
There are two behaviors:
1- If the removed user is the owner of conversation -> In this case the first user of list conversation will be the new owner and will remove the user
2- If the removed user just is a participant user -> In this case the owner of conversation will remove the user

Available Since
1.5.9
Request Parameters
name type description
alias path User alias that will be removed
Response Body
media type data type description
application/json object (JSON) {content: "OK", message: null}
Available Since
1.5.6

POST /messaging/sendMessage/{conversationId}

Save messaging configuration

Available Since
1.5.6
Request Parameters
name type description
conversationId path // Conversation ID to send a message (Only uuid)
Request Body
media type data type description
application/json MessengerVO (JSON)

Request JSON (example):

{ "text" : "Hello!", // REQUIRED Message to send "richText" : "[b]Hello![/b]", // provide Message in BBCode style. While setting richText, please also set text message for Feed to use. }
Response Body
media type data type description
application/json object (JSON) {content: "OK", message: null}
Available Since
1.5.5

POST /messaging/createDocumentAnnotation

This method has been deprecated. Resource no longer available

Create a new document annotation

Available Since
1.5.5
Request Body
media type data type description
application/json MessengerVO (JSON)

Request JSON (example):

{ "documentId" : "12355", // Document ID on ECM }
Response Body
media type data type description
application/json object (JSON) Conversation ID, represents key of document annotation
Available Since
1.5.5

GET /messaging/listDocumentAnnotationBinders/{binderId}

This method has been deprecated. Resource no longer available

Return binders of document annotation

Available Since
1.5.5
Request Parameters
name type description
binderId path Document ID on ECM
Response Body
media type data type description
application/json object (JSON) List of Conversation ID, represents key of document annotation
Available Since
1.5.0

POST /messaging/saveMessagingConfiguration

Save messaging configuration

Available Since
1.5.0
Request Body
media type data type description
application/json MessengerVO (JSON)

Request JSON (example):

{ "configuration" : { "isMessagingEnable" : "true", // Messaging is enabled "messagingInterval" : "5000", // Interval that will be updated alert messaging "messagingShowAlert" : "true", // Show alert is enabled "messagingApplicationId" : "layer:///apps/staging/5cd638e6-9c3d-11e6-8736-4ffa3a040561", // Application Id "isDesktopNotificationEnable" : "true", //Enable/disable desktop notification "isTitleNotificationEnable" : "true", //Enable/disable title notification "messagingProjectId" : "true", // Project id "messagingProjectName" : "Company name", //Tenant description "messagingShowAlert" : "true" //Enable/disable show messaging alerts } }
Response Body
media type data type description
application/json object (JSON) {content: "OK", message: null}
Available Since
1.5.0

POST /messaging/saveCustomerConfiguration/{appId}

This method has been deprecated. Resource no longer available

Save customer configurations default

Available Since
1.5.0
Request Parameters
name type description
appId path
Response Body
media type data type description
application/json object (JSON) {content: "OK", message: null}
Available Since
1.5.2

POST /messaging/createCustomerAccount

Create customer account

Available Since
1.5.2
Response Body
media type data type description
application/json object (JSON) {content: "PBjgNRrhb5sBXvzTzQIfi55", message: null}
Available Since
1.5.0

GET /messaging/getMessagingConfiguration

Returm messaging configuration

Available Since
1.5.0
Response Body
media type data type description
application/json object (JSON)

Response JSON (example):

{ "content":{ "isMessagingEnable" : "true", // Messaging is enabled "messagingInterval" : "5", // Interval that will be updated alert messaging "messagingApplicationId" : "layer:///apps/staging/5cd638e6-9c3d-11e6-8736-4ffa3a040561", // App id "messagingShowAlert" : "true" // Show alert is enabled }, "message":null }
Available Since
1.5.0

GET /messaging/getTotalMessageUnread

Return total message unread

Available Since
1.5.0
Response Body
media type data type description
application/json object (JSON)

Response JSON (example):

{ "content":10, "message":null }
Available Since
1.5.0

GET /messaging/partner/getCustomerInformation/{appId}

Return customer information

Available Since
1.5.0
Request Parameters
name type description
appId path OrgID to return. "0" to return informations about orgid registred
Response Body
media type data type description
application/json object (JSON)

Response JSON (example):

{ "content": { "id":"OMD45751d2sd45s51DF2G1D5F4G", "name":"Social Team", "createdTime":0, "updatedTime":0, "planQuantity":0, "defaultPlanCode":"free", "planCodes":"[\"free\"]", "status":"GROUP_TRIAL_SUBSCRIPTION", "trialEndTime":1440817200000, "isEntreprise":false, "hasSaml":false, "hasBranding":true, "hasConfiguration":true, "allowTrial":true, "contactUser": { "name":"João", "lastName":"Silva", "email":"joao.sival@teste.com" } }, "message":null "message":null }
Available Since
1.5.0

GET /messaging/getAccessToken

This method has been deprecated. Use /getSessionToken instead.

Return a access token by any request

Available Since
1.5.0
Response Body
media type data type description
application/json object (JSON)

Response JSON (example):

{ "content":{ "accessToken" : "XXXXXXXXXXXXXX", // access token for requests "tokenType" : "bearer", // always bearer "expiresIn" : "date", // expiration date of access token "scope" : "read write", // permissions }, "message":null }
Available Since
1.5.12

GET /messaging/getSessionToken

Return the user session token

Available Since
1.5.12
Request Parameters
name type description default constraints
renew query if true, returns a new session tokeneven if the current one is not expired. false boolean
Response Body
media type data type description
application/json object (JSON)

Response JSON (example):

{ "content":{ "sessionToken" : "XXXXXXXXXXXXXX", // sessionToken token for requests "expiresIn" : "date", // expiration date of sessionToken token }, "message":null }
Available Since
1.5.0

GET /messaging/checkService/{appId}

Check if service is ok

Available Since
1.5.0
Request Parameters
name type description
appId path
Response Body
media type data type description
application/json object (JSON)

Response JSON (example):

{ "content":{OK, "message":null} }
Available Since
1.5.0

POST /messaging/inviteUsersToConversation

This method has been deprecated. Resource no longer available

Invite users to created conversation

Available Since
1.5.0
Request Body
media type data type description
application/json MessengerVO (JSON)

Request JSON (example):

{ "conversationId" : "BXXXXXXXXXXXXXX", // REQUIRED conversationId to invite users "aliasList" : ["maria","joao"] // REQUIRED Alias }
Response Body
media type data type description
application/json object (JSON) {content: "{"code": "RESPONSE_SUCCESS"}", message: null}

POST /messaging/removeUserFromConversation

This method has been deprecated. Use /updateConversationParticipants/{conversationId} instead.

Remove a user from created conversation

Request Body
media type data type description
application/json MessengerVO (JSON)

Request JSON (example):

{ "conversationId" : "BXXXXXXXXXXXXXX", // REQUIRED conversationId to find the conversation "alias" : "maria" // REQUIRED alias to remove }
Response Body
media type data type
application/json object (JSON)
Available Since
1.5.0

POST /messaging/removeConversation/{conversationId}

Remove a conversation

Available Since
1.5.0
Request Parameters
name type description
conversationId path Conversation ID to remove
Response Body
media type data type description
application/json object (JSON) {content: "{"code": "RESPONSE_SUCCESS"}", message: null}

POST /messaging/copyMeetingAttachments/{fromConversationId}/{toConversationId}

This method has been deprecated. Resource no longer available

Copy the meeting's pages (attachments) from a Conversation to another Conversation.

Request Parameters
name type description default constraints
fromConversationId path the source conversation where the will be copied from.    
toConversationId path the Conversation where the pages will be copied.    
keepSourceConversation query a boolean to indicates if the the source Conversation should be removed. false boolean
Response Body
media type data type description
application/json object (JSON) {content: "{"code": "RESPONSE_SUCCESS"}", message: null}
Available Since
1.5.0

GET /messaging/getConversationDetails/{conversationId}

This method has been deprecated. Use /getConversationDetails/v2/ instead.

Get details of a conversation

Available Since
1.5.0
Request Parameters
name type description
conversationId path //Conversation ID to return. (Only uuid)
Response Body
media type data type description
application/json object (JSON)

Response JSON (example):

{ "content": { "id":"OMD45751d2sd45s51DF2G1D5F4G", "name":"Social Team", "createdDate":1896351668, "totalComments":3, "totalMembers":2, "conversation":true, "restricted":true, "unreadFeeds":5 "users": ["fulano","ciclano"] } }
Available Since
1.5.12

GET /messaging/getConversationDetails/v2/{conversationId}

Get details of a conversation Key participants information like: userId, id and avatarUrl, will always be available, some other participant property might not

Available Since
1.5.12
Request Parameters
name type description
conversationId path //Conversation ID to return. (Only uuid)
Response Body
media type data type description
application/json object (JSON)

Response JSON (example):

{ "content": { "id":"layer:///conversations/a59412a9-6043-402d-952c-507c54f54a87", "url":"https://api.layer.com/conversations/a59412a9-6043-402d-952c-507c54f54a87", "createAt": "-61120174509938" "distinct":true, "unreadMessageCount":0, "alias":"john", "messageUrl":"https://api.layer.com/conversations/a59412a9-6043-402d-952c-507c54f54a87/messages", "metaData":{ "owner":"john", "conversationTitle":"New conversation" }, "participants":[ { "id":"layer:///identities/john", "userId":"5", //fluig userId "url":"https://api.layer.com/identities/john", "displayName":"John Silva", "avatarUrl": null, "firstName":"John" "lastName":"Silva" "phoneNumber":null, "emailAddress":null, "publicKey":null, "metadaData":null }, { "id":"layer:///identities/jane", "userId":"5", //fluig userId "url":"https://api.layer.com/identities/jane", "displayName":"Jane Doe", "avatarUrl": null, "firstName":"Jane" "lastName":"Doe" "phoneNumber":null, "emailAddress":null, "publicKey":null, "metadaData":null } ] } }
Available Since
1.5.0

GET /messaging/listConversations

This method has been deprecated. Use /listConversations/v2/ instead.

List conversations of user

Available Since
1.5.0
Response Body
media type data type description
application/json object (JSON)

Response List of JSON (example):

[ { "id":"layer:///conversations/a59412a9-6043-402d-952c-507c54f54a87", "name":"Conversation 1", "createdDate":1896351668, "totalComments":3, "totalMembers":2, "conversation":true, "restricted":true, "unreadFeeds":5 "users": ["fulano","ciclano"] },{ "id":"UAUIIARA9F90HHAGfghf5", "name":"Conversation 2",...} ]

GET /messaging/listConversations/v2

List conversations of user Key participants information like: userId, id and avatarUrl, will always be available, some other participant property might not

Request Parameters
name type description default constraints
fromId query Get the Conversations logically sorted after this ID    
limit query 100 int
sortBy query Either created_at to sort by Conversation creation time (newest first), or last_message to sort by most recently sent message. Default is last_message last_message  
Response Body
media type data type description
application/json object (JSON)

Response List of JSON (example):

[ { "id":"layer:///conversations/a59412a9-6043-402d-952c-507c54f54a87", "url":"https://api.layer.com/conversations/a59412a9-6043-402d-952c-507c54f54a87", "createAt": "-61120174509938" "distinct":true, "unreadMessageCount":0, "alias":"john", "messageUrl":"https://api.layer.com/conversations/a59412a9-6043-402d-952c-507c54f54a87/messages", "metaData":{ "owner":"john", "conversationTitle":"New conversation" }, "participants":[ { "id":"layer:///identities/john", "url":"https://api.layer.com/identities/john", "displayName":"John Silva", "avatarUrl": null, "firstName":"John" "lastName":"Silva" "phoneNumber":null, "emailAddress":null, "publicKey":null, "metadaData":null }, { "id":"layer:///identities/jane", "url":"https://api.layer.com/identities/jane", "displayName":"Jane Doe", "avatarUrl": null, "firstName":"Jane" "lastName":"Doe" "phoneNumber":null, "emailAddress":null, "publicKey":null, "metadaData":null } ] }, {...} ]
Available Since
1.5.0

POST /messaging/uploadConversationPicture

Upload conversation picture

Available Since
1.5.0
Request Body
media type data type description
application/json MessengerVO (JSON)

Request JSON (example):

{ "conversationId" : "9247e2b0-f1c9-418a-8420-a469991eec12", // REQUIRED conversationId to change picture. (Only uuid) "base64media" : "4747545" //media's content in base64 format }
application/xml messengerVO (XML)
Response Body
media type data type description
application/json object (JSON) {content: "{"code": "RESPONSE_SUCCESS"}", message: null}
Available Since
1.5.7

POST /messaging/receiveConversationNotifications

Change the status for receive binder notifications

Available Since
1.5.7
Request Body
media type data type description
application/json MessengerVO (JSON)

Request JSON (example):

{ "conversationId" : "9247e2b0-f1c9-418a-8420-a469991eec12", // REQUIRED conversationId to change receive status (Only uuid) "suppressFeed" : "true" // REQUIRED if you like to turn off conversation notifications }
application/xml messengerVO (XML)
Response Body
media type data type description
application/json object (JSON) {content: "{"code": "RESPONSE_SUCCESS"}", message: null}
Available Since
1.5.7

POST /messaging/changeConversationPicture

Change conversation picture

Available Since
1.5.7
Request Body
media type data type description
application/json MessengerVO (JSON)

Request JSON (example):

{ "conversationId": "9247e2b0-f1c9-418a-8420-a469991eec12", //(Only uuid) "imageVO": { "pictureName": "image.jpg", "coordinateX": "0", "coordinateY": "0", "width": "500", "height": "500" } }
application/xml messengerVO (XML)
Response Body
media type data type description
application/json object (JSON) {content: "{"code": "RESPONSE_SUCCESS"}", message: null}
Available Since
1.5.7

POST /messaging/cancelChangeConversationPicture

This method has been deprecated. Use discardConversationPicture/{fileName} instead.

Cancel change conversation picture

Available Since
1.5.7
Response Body
media type data type description
application/json object (JSON) {content: "{"code": "RESPONSE_SUCCESS"}", message: null}
Available Since
1.5.12

POST /messaging/discardConversationPicture/{fileName}

Delete the conversation picture from the user upload directory

Available Since
1.5.12
Request Parameters
name type description
fileName path //Name of the file to be removed
Response Body
media type data type description
application/json object (JSON) {content: "{"code": "RESPONSE_SUCCESS"}", message: null}

GET /messaging/checkMessagingStatus

Check if server can access Messaging API

Response Body
media type data type description
application/json object (JSON)

Response JSON (example of Http Status):

{content: 200, message: null}
Available Since
1.5.0

POST /messaging/uploadFileToConversation

Upload file to conversation

Available Since
1.5.0
Request Body
media type data type description
application/json MessengerVO (JSON)

Request JSON (example):

{ "conversationId" : "BXXXXXXXXXXXXXX", // REQUIRED conversationId to send file (Only uuid) "documents" : [{ "documentId" : "111111", // REQUIRED id of document to upload "documentVersion" : "222222", // REQUIRED version of document }] }
application/xml messengerVO (XML)
Response Body
media type data type description
application/json object (JSON) {content: "{"code": "RESPONSE_SUCCESS"}", message: null}

POST /messaging/addUserToConversation

This method has been deprecated. Use updateConversationParticipants/{conversationId} instead.

Add users to created conversation

Request Body
media type data type description
application/json MessengerVO (JSON)

Request JSON (example):

{ "conversationId" : "BXXXXXXXXXXXXXX", // REQUIRED conversationId to invite users (Only uuid) "aliasList" : ["maria","joao"] // REQUIRED Alias }
application/xml messengerVO (XML)
Response Body
media type data type description
application/json object (JSON) {content: "{"code": "RESPONSE_SUCCESS"}", message: null}
Available Since
1.5.0

POST /messaging/downloadFileOfConversation

Download file of conversation

Available Since
1.5.0
Request Body
media type data type description
application/json MessengerVO (JSON)

Request JSON (example):

{ "url" : "http://www.xxxx.com/nnnnnn", // REQUIRED URL to download document "documentId" : 111111 // REQUIRED id of parentId "refreshUrl" : "https://api.layer.com/content/nnnnnn", //Ensures the content will be available for download "name" : "background.PNG", //Name of the file. }
application/xml messengerVO (XML)
Response Body
media type data type description
application/json object (JSON)

Response JSON (example):

{ "content": { "id" : "10", //document's id "version" : "1000", //document's version "companyId" : "22", //tenant's id "type" : "2", //document's type "description" : "Sample document", //document's description "additionalComments" : "comment", //document's comment "colleagueId" : "0988", //colleague id "iconPath" : "/webdesk/icone/icon-doc.png" //icon document "publisherId" : "1114", //publisher id "publisherName" : "Administrador Adm", //publisher name "immutable" : false, //immutable "createDate" : "2014-11-22", //date the document has been created "approvedDate" : "2014-11-22", //date the document has been approved "expirationDate" : "2014-11-22", //date the document will expire "validationStartDate" : "2014-11-22", //date the document has become valid "lastModifiedDate" : "2014-11-22", //date last time the document has been modified "parentId" : "10", //id of the parent folder "activeVersion" : "1000", //actual version of the document "phisicalFile" : "/home/doc.txt", //phisical path "userPermission" : "1", //User permission -1 - No permission, 0 - Reading, 1 - Writing, 2 - Modification, 3 - Total "attachments" : [{ "fileName" : "att01" //Attachment's name "principal" : "false" //Indicates if this is the principal document "attachment" : "true" //Indicates if this is an attachment }] } "message": ""}
Available Since
1.5.0

GET /messaging/getMessagingLastUpdateDate

This method has been deprecated. Resource no longer available

Return last update date of Messaging configuration

Available Since
1.5.0
Request Parameters
name type description constraints
tenantId query

Request JSON (example):

{ "tenantId" : "01", // NOT REQUIRED tenantId to find. If null, return date of current tenantId }
long
Response Body
media type data type description
application/json object (JSON) {content: "{"code": "1432591945530"}", message: null}
Available Since
1.5.0

GET /messaging/getConversationFullDetails/{conversationId}

This method has been deprecated. Use /getConversationDetails/v2/ instead.

Get full details of a conversation

Available Since
1.5.0
Request Parameters
name type description
conversationId path Conversation ID to return (Only uuid)
accessToken query NOT_REQUIRED accessToken to make the requisition
Response Body
media type data type description
application/json object (JSON)

Response JSON (example):

{ "content": { "id":"OMD45751d2sd45s51DF2G1D5F4G", "name":"Social Team", "createdDate":1896351668, "totalComments":3, "totalMembers":2, "conversation":true, "restricted":true, "unreadFeeds":5 "usersDetails": { "john": { "id": "UEIhYHrDLBt6NpKxPqNC95B", "type": "BOARD_READ_WRITE", "status": "BOARD_MEMBER", "name": "John Lan" } "ringo": { "id": "UKJJc63KZUk7W0idM8dqDW6", "type": "BOARD_OWNER", "status": "BOARD_MEMBER", "name": "Ringo Stan" } } }

POST /messaging/renameConversation

Rename a conversation

Request Body
media type data type description
application/json MessengerVO (JSON)

Request JSON (example):

{ "conversationId" : "BXXXXXXXXXXXXXX", // REQUIRED conversationId (Only uuid) "name" : "My new conversation", // REQUIRED Name "accessToken" : "AXXXXXXXXXX", // NOT_REQUIRED access token to enable requisition }
application/xml messengerVO (XML)
Response Body
media type data type description
application/json object (JSON) {content: "{"code": "RESPONSE_SUCCESS"}", message: null}
Available Since
1.5.3

POST /messaging/export/{conversationId}

This method has been deprecated. Resource no longer available

Init the process for export a conversation.
The exporting is allowed only to users who have participated in the conversation.
A notification is sent to the user when the export is complete.
The export has a limit of 20.000 iterations for each conversation.

Available Since
1.5.3
Request Parameters
name type description
conversationId path Conversation ID to return (REQUIRED)
Request Body
media type data type description
application/json ExportVO (JSON)

Request JSON (example):

{ "hasAttachments" : "true", // REQUIRED - Flag for export conversation attachments "forceSave" : "false", // REQUIRED - Flag for force export when conversation attachments are bigger than ECM's upload limit. // If true the files will not be saved, the notification will contain a note stating which attachments were not saved. "deleteConversation" : "false", // REQUIRED - Flag for delete conversation when export finish. // Only the user who initiated the conversation is allowed to remove the conversation. "documentDescription" : "My Conversation", // NOT_REQUIRED - Description for file exported "dateStart" : "1446631849936", // NOT_REQUIRED - Date start of export in timestamp format. (1446631849936 = Wed Nov 04 2015 08:10:49 GMT-0200 (BRST)) "dateEnd" : "1447681006304", // NOT_REQUIRED - Date end of export in timestamp format (1447681006304 = Mon Nov 16 2015 11:36:46 GMT-0200 (BRST)) "documentId" : "122", // NOT_REQUIRED - Id for document folder where file is exported. // If at the end of the export, the specified folder no longer exists, the file will be save in folder "My Documents" "documentTags" : ["file","export","messaging","audit"], // NOT_REQUIRED - Tags for file exported }
Response Body
media type data type description
application/json object (JSON) On success:
{content: "OK", message: null}
On error:
{ "content": "ERROR", "message": { "message": "The following attachments exceed the upload limit: big_image.jpg", "detail": "com.totvs.technology.social.common.exception.SocialMessageException", "type": "ERROR", "param": null } }
Available Since
1.5.4

POST /messaging/removeAccessToken/{appId}

Remove a Access Token by AppId

Available Since
1.5.4
Request Parameters
name type description
appId path ApplicationId (Only uuid)
Response Body
media type data type description
application/json object (JSON) {content: "OK", message: null}
Available Since
1.5.13

POST /messaging/updateConversationMetadata/{conversationId}

Update conversation metadata, operations available are set and delete. All property name must start with "metadata.", like the example below.

Available Since
1.5.13
Request Parameters
name type description
conversationId path Conversation id (Only uuid)
Request Body
media type data type description
application/json array of OperationVO (JSON)

Request JSON (example):

[ { "operation": "set", "property": "metadata.conversationTitle", "value": "Development Team" }, { "operation": "delete", "property": "metadata.custom" } ]
Response Body
media type data type description
application/json object (JSON) {content: "OK", message: null}
Available Since
1.5.13

POST /messaging/updateConversationParticipants/{conversationId}

Update conversation participants

Available Since
1.5.13
Request Parameters
name type description
conversationId path Conversation id (Only uuid)
Request Body
media type data type description
application/json array of OperationVO (JSON)

Request JSON (example):

[ { "operation": "add", "property": "participants", "value": "3" //fluig userId }, { "operation": "remove", "property": "participants", "value": "55" //fluig userId } ]
Response Body
media type data type description
application/json object (JSON) {content: "OK", message: null}
Available Since
1.5.13

POST /messaging/deleteMessagingAccount

Delete the messaging account and remove all messaging configuration. Deleting an account cannot be undone. Everything about it (conversations, messages, provisioned users) will be gone for good.

Available Since
1.5.13
Response Body
media type data type description
application/json object (JSON) {content: "OK", message: null}