--- swagger: "2.0" info: description: "Flowable Platform" version: "v1" title: "Flowable Engage REST API" contact: name: "Flowable" url: "http://www.flowable.com/" host: "localhost:8090" basePath: "/engage-api" tags: - name: "Anonymous Conversation" - name: "Compliance Conversation Messages" - name: "Compliance Messages Search" - name: "Conversation" - name: "Conversation Admin" - name: "Conversation Definitions" - name: "Conversation Messages" - name: "Conversation Messages Search" - name: "Conversation Participants" - name: "Conversation Search" - name: "Conversation Tags" - name: "Conversations" - name: "Devices" - name: "Engine" - name: "Messages Search" - name: "User Presence" - name: "User Subscriptions" - name: "Users" schemes: - "http" - "https" paths: /anonymous/conversations: post: tags: - "Anonymous Conversation" summary: "Start a new anonymous conversation" description: "Starts anonymous conversation." operationId: "startAnonymousConversation" parameters: [] responses: 200: description: "Indicates that the conversation was reused." 201: description: "Indicates the conversation was started and created." schema: $ref: "#/definitions/ConversationResponse" 403: description: "Indicates the user does not have the rights to start the conversation." security: - basicAuth: [] /case-instances/{caseInstanceId}/conversation: get: tags: - "Conversation" summary: "Get conversation for a case instance" description: "Returns a conversation information based on its id." operationId: "getConversationForCaseInstance" parameters: - name: "caseInstanceId" in: "path" description: "The id of the case instance for which a conversation should\ \ be fetched" required: true type: "string" responses: 200: description: "Indicates the conversation with conversationId was found." schema: $ref: "#/definitions/ConversationResponse" 403: description: "Indicates the user does not have the rights to view the conversation." 404: description: "Indicates the conversation with conversationId was not found." security: - basicAuth: [] /case-instances/{caseInstanceId}/conversations: post: tags: - "Conversation" summary: "Start a new conversation for a case instance" description: "Starts conversation." operationId: "startConversationForCaseInstance" parameters: - name: "caseInstanceId" in: "path" description: "The id of the case instance" required: true type: "string" - in: "body" name: "request" description: "Start conversation request" required: true schema: $ref: "#/definitions/StartInstanceConversationRequest" responses: 200: description: "Indicates that the conversation was reused." 201: description: "Indicates the conversation was started and created." schema: $ref: "#/definitions/ConversationResponse" 400: description: "Indicates the request body is incomplete or contains illegal\ \ values." 403: description: "Indicates the user does not have the rights to start the conversation." security: - basicAuth: [] /compliance/conversations/{conversationId}/messages: get: tags: - "Conversation Messages" summary: "List messages" description: "List messages from a specific conversation" operationId: "listMessages" parameters: - name: "conversationId" in: "path" description: "The id of the conversation" required: true type: "string" - name: "accessibleByGroups" in: "query" description: "Only return messages accessible by the given groups. Only admin\ \ users can modify this parameter, otherwise this are the groups of the\ \ user doing the request. This property can only be used in combination\ \ with accessibleByUser. This property is combined with OR with accessibleByUser." required: false type: "array" items: type: "object" collectionFormat: "multi" - name: "accessibleByUser" in: "query" description: "Only return messages accessible by the given user. Only admin\ \ users can modify this parameter, otherwise this is the user doing the\ \ request." required: false type: "string" - name: "actionInstanceId" in: "query" description: "Only return messages for the given action instance id." required: false type: "string" - name: "category" in: "query" description: "Only return messages with the given category." required: false type: "string" - name: "conversationId" in: "query" description: "Only return messages for the given conversation. Usually this\ \ is a path variable" required: false type: "string" - name: "createdAfter" in: "query" description: "Only return messages created after the given date." required: false type: "string" format: "date-time" - name: "createdAfterOrEqual" in: "query" description: "Only return messages created after or on the given date." required: false type: "string" format: "date-time" - name: "createdBefore" in: "query" description: "Only return messages created before the given date." required: false type: "string" format: "date-time" - name: "createdBeforeOrEqual" in: "query" description: "Only return messages created before or on the given date." required: false type: "string" format: "date-time" - name: "excludePrivate" in: "query" description: "Exclude private messages in the response. Default value is 'false'" required: false type: "boolean" - name: "excludeSticky" in: "query" description: "Exclude sticky messages in the response. Default value is 'true'" required: false type: "boolean" - name: "externalId" in: "query" description: "Only return messages with the given external id." required: false type: "string" - name: "id" in: "query" description: "Only return message with the given id." required: false type: "string" - name: "includeOnlyStickyMessages" in: "query" description: "Include only sticky messages in the response. default value\ \ is 'false'" required: false type: "boolean" - name: "order" in: "query" description: "From the paginate request. The sort order, either 'asc' or\ \ 'desc'. Defaults to 'asc'." required: false type: "string" - name: "size" in: "query" description: "From the paginate request. Number of rows to fetch, starting\ \ from start. Defaults to 10." required: false type: "integer" format: "int32" - name: "sort" in: "query" description: "Property to sort the results on" required: false type: "string" - name: "start" in: "query" description: "From the paginate request. Index of the first row to fetch.\ \ Defaults to 0." required: false type: "integer" format: "int32" - name: "subType" in: "query" description: "Only return messages with the given sub type." required: false type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/DataResponseMessageComplianceResponse" 403: description: "Indicates the user does not have the rights to view the messages." 404: description: "Indicates the conversationId or messageId was not found." security: - basicAuth: [] /compliance/search/query-messages: get: tags: - "Messages Search" summary: "Search messages" description: "Search messages from all conversations" operationId: "searchMessages" parameters: - name: "excludePrivate" in: "query" description: "Exclude private messages in the response. Default value is 'true'" required: false type: "boolean" - name: "excludeSticky" in: "query" description: "Exclude sticky messages in the response. Default value is 'true'" required: false type: "boolean" - name: "order" in: "query" description: "From the paginate request. The sort order, either 'asc' or\ \ 'desc'. Defaults to 'asc'." required: false type: "string" - name: "participantUserId" in: "query" description: "The message participant user Id to filter for." required: false type: "string" - name: "searchText" in: "query" description: "The search text applied to return results for." required: false type: "string" - name: "senderId" in: "query" description: "The message sender Id to filter for." required: false type: "string" - name: "sentAfter" in: "query" description: "After date filter to return results for." required: false type: "string" format: "date-time" - name: "sentBefore" in: "query" description: "Before date filter to return results for." required: false type: "string" format: "date-time" - name: "size" in: "query" description: "From the paginate request. Number of rows to fetch, starting\ \ from start. Defaults to 10." required: false type: "integer" format: "int32" - name: "sort" in: "query" description: "Property to sort the results on" required: false type: "string" - name: "start" in: "query" description: "From the paginate request. Index of the first row to fetch.\ \ Defaults to 0." required: false type: "integer" format: "int32" responses: 200: description: "successful operation" schema: $ref: "#/definitions/DataResponseMessageComplianceResponse" 400: description: "Indicates the request is incomplete or contains illegal values." 403: description: "Indicates the user is not allowed to execute the request." security: - basicAuth: [] /conversation-definitions: get: tags: - "Conversation Definitions" summary: "List conversation definitions" description: "Returns a list of conversation definition" operationId: "listConversationDefinitions" parameters: [] responses: 200: description: "successful operation" schema: type: "array" items: $ref: "#/definitions/ConversationDefinition" security: - basicAuth: [] /conversations: get: tags: - "Conversation" summary: "Query conversations" description: "Returns a list of conversations." operationId: "queryConversations" parameters: - name: "accessibleByGroups" in: "query" description: "Only return conversation accessible by the given groups. Only\ \ admins users can modify this parameter, otherwise is is the current user\ \ doing the request." required: false type: "array" items: type: "object" collectionFormat: "multi" - name: "accessibleByUser" in: "query" description: "Only return conversation accessible by the given user. Only\ \ admins users can modify this parameter, otherwise is is the current user\ \ doing the request." required: false type: "string" - name: "conversationDefinitionId" in: "query" description: "Only return conversation with the given conversationDefinitionId." required: false type: "string" - name: "createdAfter" in: "query" description: "Only return conversations created after the given date." required: false type: "string" format: "date-time" - name: "createdBefore" in: "query" description: "Only return conversations created before the given date." required: false type: "string" format: "date-time" - name: "externalId" in: "query" description: "Only return conversations with the given external id." required: false type: "string" - name: "id" in: "query" description: "Only return conversation with the given id." required: false type: "string" - name: "lastMessageAfter" in: "query" description: "Only return conversations with last message send after the given\ \ date." required: false type: "string" format: "date-time" - name: "lastMessageBefore" in: "query" description: "Only return conversations with last message send before the\ \ given date." required: false type: "string" format: "date-time" - name: "name" in: "query" description: "Only return conversation with the given name." required: false type: "string" - name: "order" in: "query" description: "From the paginate request. The sort order, either 'asc' or\ \ 'desc'. Defaults to 'asc'." required: false type: "string" - name: "ownerId" in: "query" description: "Only return conversation with the given owner." required: false type: "string" - name: "participantsOrOwner" in: "query" description: "Only return conversation with the given participants or owner." required: false type: "array" items: type: "object" collectionFormat: "multi" - name: "referenceDefinitionId" in: "query" description: "Only return conversation with the given reference definition\ \ id." required: false type: "string" - name: "referenceId" in: "query" description: "Only return conversation with the given reference id." required: false type: "string" - name: "referenceType" in: "query" description: "Only return conversation with the given reference type." required: false type: "string" - name: "size" in: "query" description: "From the paginate request. Number of rows to fetch, starting\ \ from start. Defaults to 10." required: false type: "integer" format: "int32" - name: "sort" in: "query" description: "Property to sort the results on" required: false type: "string" - name: "start" in: "query" description: "From the paginate request. Index of the first row to fetch.\ \ Defaults to 0." required: false type: "integer" format: "int32" - name: "state" in: "query" description: "Only return conversations with the given state." required: false type: "string" - name: "tenantId" in: "query" description: "Query for conversations for the given tenant. Only allowed for\ \ users with admin privileges across tenants in a multi-tenant environment." required: false type: "string" - name: "type" in: "query" description: "Only return conversation with the given type." required: false type: "string" - name: "updateTimeAfter" in: "query" description: "Only return conversations updated after the given date." required: false type: "string" format: "date-time" - name: "updateTimeBefore" in: "query" description: "Only return conversations updated before the given date." required: false type: "string" format: "date-time" - name: "withAllParticipants" in: "query" description: "Only return conversation with the given withAllParticipants." required: false type: "array" items: type: "object" collectionFormat: "multi" - name: "withAnyParticipants" in: "query" description: "Only return conversation that has at least one participant of\ \ the the given withAnyParticipants." required: false type: "array" items: type: "object" collectionFormat: "multi" - name: "withTags" in: "query" description: "Only return conversations with the given tags." required: false type: "array" items: type: "object" collectionFormat: "multi" - name: "withoutMessages" in: "query" description: "Only return conversations without messages." required: false type: "boolean" - name: "withoutParent" in: "query" description: "Only return conversation that don't have a parent." required: false type: "boolean" - name: "withoutTags" in: "query" description: "Only return conversations without the given tags." required: false type: "array" items: type: "object" collectionFormat: "multi" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/DataResponseConversationResponse" 400: description: "Indicates the request parameters are incomplete or contains\ \ illegal values." security: - basicAuth: [] post: tags: - "Conversation" summary: "Start a new conversation" description: "Starts conversation." operationId: "startConversation" parameters: - in: "body" name: "request" description: "Start conversation request" required: true schema: $ref: "#/definitions/StartConversationRequest" responses: 200: description: "Indicates that the conversation was reused." 201: description: "Indicates the conversation was started and created." schema: $ref: "#/definitions/ConversationResponse" 400: description: "Indicates the request body is incomplete or contains illegal\ \ values." 403: description: "Indicates the user does not have the rights to start the conversation." security: - basicAuth: [] /conversations/reindex: post: tags: - "Conversation Admin" summary: "Reindex conversations" description: "The user has to have admin rights." operationId: "reindexConversations" parameters: [] responses: 204: description: "Indicates conversations have been reindexed." 403: description: "Indicates the user has no admin rights." security: - basicAuth: [] /conversations/search: get: tags: - "Conversation Search" summary: "Search conversations" description: "Returns a list of conversations." operationId: "searchConversations" parameters: - name: "request" in: "query" description: "Conversation search request" required: false type: "string" - name: "request" in: "query" description: "Conversation search request" required: false type: "integer" format: "int32" - name: "request" in: "query" description: "Conversation search request" required: false type: "string" - name: "request" in: "query" description: "Conversation search request" required: false type: "integer" format: "int32" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/DataResponseConversationSearchResponse" 400: description: "Indicates the request parameters are incomplete or contains\ \ illegal values." 403: description: "Indicates the user does not have the rights to search the\ \ conversations." security: - basicAuth: [] /conversations/search/conversation-filters: get: tags: - "Conversation Search" summary: "Query conversation filters" description: "Returns a list of conversation filters." operationId: "queryConversationFilters" parameters: - name: "includeUnreadCounts" in: "query" description: "Flag indicating whether unread counts for the filters should\ \ be included. Default value is true" required: false type: "boolean" - name: "includeUnreadCountsForUser" in: "query" description: "Include unread counts for the given user. Only allowed for users\ \ with admin privileges." required: false type: "string" - name: "tenantId" in: "query" description: "Query for filters where the given user definition key is in\ \ the tenant. Only allowed for users with admin privileges." required: false type: "string" - name: "userDefinitionKey" in: "query" description: "Query for filters for the given user definition key. Only allowed\ \ for users with admin privileges." required: false type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/DataResponseConversationFilterResponse" 400: description: "Indicates the request parameters are incomplete or contains\ \ illegal values." 403: description: "Indicates the user does not have to query the filters." security: - basicAuth: [] /conversations/search/{conversationId}/conversation-filters: get: tags: - "Conversation Search" summary: "Query single conversation filters" description: "Returns a list of conversation filters for the given conversation." operationId: "querySingleConversationFilters" parameters: - name: "conversationId" in: "path" description: "The id of the conversation for which the filters need to be\ \ returned" required: true type: "string" - name: "includeUnreadCounts" in: "query" description: "Flag indicating whether unread counts for the filters should\ \ be included. Default value is true" required: false type: "boolean" - name: "includeUnreadCountsForUser" in: "query" description: "Include unread counts for the given user. Only allowed for users\ \ with admin privileges." required: false type: "string" - name: "tenantId" in: "query" description: "Query for filters where the given user definition key is in\ \ the tenant. Only allowed for users with admin privileges." required: false type: "string" - name: "userDefinitionKey" in: "query" description: "Query for filters for the given user definition key. Only allowed\ \ for users with admin privileges." required: false type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/DataResponseConversationFilterResponse" 400: description: "Indicates the request parameters are incomplete or contains\ \ illegal values." 403: description: "Indicates the user does not have the rights to query the filters,\ \ or has no access to the conversation." security: - basicAuth: [] /conversations/{conversationId}: get: tags: - "Conversation" summary: "Get conversation" description: "Returns a conversation information based on its id." operationId: "getConversation" parameters: - name: "conversationId" in: "path" description: "The id of the conversation that should be fetched" required: true type: "string" responses: 200: description: "Indicates the conversation with conversationId was found." schema: $ref: "#/definitions/ConversationResponse" 403: description: "Indicates the user does not have the rights to view the conversation." 404: description: "Indicates the conversation with conversationId was not found." security: - basicAuth: [] put: tags: - "Conversation" summary: "Update conversation" description: "Updates details of an existing conversation." operationId: "updateConversation" parameters: - name: "conversationId" in: "path" description: "The id of the conversation that should be updated" required: true type: "string" - in: "body" name: "request" description: "Update conversation request" required: false schema: $ref: "#/definitions/UpdateConversationRequest" responses: 200: description: "Indicates the conversation was successfully updated." schema: $ref: "#/definitions/ConversationResponse" 400: description: "Indicates the request body is incomplete or contains illegal\ \ values." 403: description: "Indicates the user does not have the rights to update the\ \ conversation." 404: description: "Indicates the conversation with conversationId was not found." security: - basicAuth: [] /conversations/{conversationId}/archive: post: tags: - "Conversation" summary: "Archive conversation" description: "Archived an existing conversation." operationId: "archiveConversation" parameters: - name: "conversationId" in: "path" description: "The id of the conversation that should be archived" required: true type: "string" responses: 204: description: "Indicates conversation was successfully archived." 403: description: "Indicates the user does not have the rights to archive the\ \ conversation." 404: description: "Indicates the conversation with conversationId was not found." security: - basicAuth: [] /conversations/{conversationId}/avatar/data: post: tags: - "Conversations" summary: "Updates a conversation avatar" description: "" operationId: "updateConversationAvatar" consumes: - "multipart/form-data" parameters: - name: "conversationId" in: "path" required: true type: "string" responses: 200: description: "Indicates the avatar exists and is returned." schema: $ref: "#/definitions/ConversationResponse" 404: description: "Indicates the requested avatar does not exist." security: - basicAuth: [] /conversations/{conversationId}/index-document: get: tags: - "Users" summary: "Get a conversation from conversations index" description: "" operationId: "getConversationDocument" parameters: - name: "conversationId" in: "path" required: true type: "string" responses: 200: description: "Indicates that the conversation was found in the index." schema: $ref: "#/definitions/JsonNode" 404: description: "Indicates that the conversation was not found in the index." security: - basicAuth: [] /conversations/{conversationId}/last-read-status: get: tags: - "Conversations" summary: "Get last read status for a conversation" description: "" operationId: "getConversationLastReadStatus" parameters: - name: "conversationId" in: "path" required: true type: "string" responses: 200: description: "Indicates the conversation with conversationId was found." schema: $ref: "#/definitions/ConversationLastReadStatusResponse" 403: description: "Indicates the user does not have the rights to view the last\ \ read status of a conversation." 404: description: "Indicates the conversation with conversationId was not found." security: - basicAuth: [] /conversations/{conversationId}/media: post: tags: - "Conversation Messages" summary: "Send a media message" description: "Sends a new media message to an existing conversation." operationId: "sendMediaMessage" parameters: - name: "conversationId" in: "path" description: "The id of the conversation to send a media message to" required: true type: "string" - in: "body" name: "request" description: "Send media message request" required: false schema: $ref: "#/definitions/SendMediaMessageRequest" responses: 201: description: "Indicates the media message was created and send to the conversation." schema: $ref: "#/definitions/MessageResponse" 400: description: "Indicates the request body is incomplete or contains illegal\ \ values." 403: description: "Indicates the user does not have the rights to post the media\ \ message to the conversation." 404: description: "Indicates the conversationId or messageId was not found. In\ \ case actionInstanceId is used it can mean that no actionInstance with\ \ such id exists. In case actionDefinitionId or actionDefinitionKey is\ \ used it can mean that no actionDefinition was found" 501: description: "Indicates the request doesn't support this type of content." security: - basicAuth: [] /conversations/{conversationId}/media/{messageId}: get: tags: - "Conversation Messages" summary: "Get the data of a media message" description: "The response body contains the binary content. By default, the\ \ content-type of the response is set to application/octet-stream unless the\ \ content item type contains a valid mime type." operationId: "getMediaMessageData" parameters: - name: "conversationId" in: "path" required: true type: "string" - name: "messageId" in: "path" required: true type: "string" - name: "download" in: "query" description: "Explicitly request the content to be downloaded or viewed in\ \ a browser. By default it would be done based on the content media type" required: false type: "boolean" responses: 200: description: "Indicates the media message content item was found and the\ \ requested content is returned." schema: $ref: "#/definitions/Resource" 404: description: "Indicates the media message content item was not found or\ \ the content item doesn’t have a binary stream available. Status message\ \ provides additional information." security: - basicAuth: [] put: tags: - "Conversation Messages" summary: "Update a media message" description: "Update an existing media message." operationId: "updateMediaMessage" parameters: - name: "conversationId" in: "path" description: "The id of the conversation" required: true type: "string" - name: "messageId" in: "path" description: "The id of the message" required: true type: "string" - in: "body" name: "request" description: "The request for updating the message" required: true schema: $ref: "#/definitions/UpdateMediaMessageRequest" responses: 200: description: "Indicates the message was updated." schema: $ref: "#/definitions/MessageResponse" 400: description: "Indicates the request body is incomplete or contains illegal\ \ values." 403: description: "Indicates the user does not have the rights to update the\ \ media message." 404: description: "Indicates the conversationId or messageId was not found." security: - basicAuth: [] /conversations/{conversationId}/media/{messageId}/info: get: tags: - "Conversation Messages" summary: "Get the metadata of a media message content item" description: "" operationId: "getMediaMessageInfo" parameters: - name: "conversationId" in: "path" required: true type: "string" - name: "messageId" in: "path" required: true type: "string" responses: 200: description: "Indicates the content item was found and the requested content\ \ is returned." schema: $ref: "#/definitions/ContentItemResponse" 404: description: "Indicates the content item was not found." security: - basicAuth: [] /conversations/{conversationId}/media/{messageId}/rendition: get: tags: - "Conversation Messages" summary: "Get the rendition data of a media message" description: "The response body contains the binary content. By default, the\ \ content-type of the response is set to application/octet-stream unless the\ \ rendition item type contains a valid mime type." operationId: "getRenditionMediaMessageData" parameters: - name: "conversationId" in: "path" required: true type: "string" - name: "messageId" in: "path" required: true type: "string" - name: "download" in: "query" description: "Explicitly request the content to be downloaded or viewed in\ \ a browser. By default it would be done based on the content media type" required: false type: "boolean" responses: 200: description: "Indicates the media message rendition item was found and the\ \ requested rendition is returned." schema: $ref: "#/definitions/Resource" 404: description: "Indicates the media message rendition item was not found or\ \ the rendition item doesn’t have a binary stream available. Status message\ \ provides additional information." security: - basicAuth: [] /conversations/{conversationId}/messages: get: tags: - "Conversation Messages" summary: "List messages" description: "List messages from a specific conversation" operationId: "listMessages" parameters: - name: "conversationId" in: "path" description: "The id of the conversation" required: true type: "string" - name: "accessibleByGroups" in: "query" description: "Only return messages accessible by the given groups. Only admin\ \ users can modify this parameter, otherwise this are the groups of the\ \ user doing the request. This property can only be used in combination\ \ with accessibleByUser. This property is combined with OR with accessibleByUser." required: false type: "array" items: type: "object" collectionFormat: "multi" - name: "accessibleByUser" in: "query" description: "Only return messages accessible by the given user. Only admin\ \ users can modify this parameter, otherwise this is the user doing the\ \ request." required: false type: "string" - name: "actionInstanceId" in: "query" description: "Only return messages for the given action instance id." required: false type: "string" - name: "category" in: "query" description: "Only return messages with the given category." required: false type: "string" - name: "conversationId" in: "query" description: "Only return messages for the given conversation. Usually this\ \ is a path variable" required: false type: "string" - name: "createdAfter" in: "query" description: "Only return messages created after the given date." required: false type: "string" format: "date-time" - name: "createdAfterOrEqual" in: "query" description: "Only return messages created after or on the given date." required: false type: "string" format: "date-time" - name: "createdBefore" in: "query" description: "Only return messages created before the given date." required: false type: "string" format: "date-time" - name: "createdBeforeOrEqual" in: "query" description: "Only return messages created before or on the given date." required: false type: "string" format: "date-time" - name: "excludePrivate" in: "query" description: "Exclude private messages in the response. Default value is 'false'" required: false type: "boolean" - name: "excludeSticky" in: "query" description: "Exclude sticky messages in the response. Default value is 'true'" required: false type: "boolean" - name: "externalId" in: "query" description: "Only return messages with the given external id." required: false type: "string" - name: "id" in: "query" description: "Only return message with the given id." required: false type: "string" - name: "includeOnlyStickyMessages" in: "query" description: "Include only sticky messages in the response. default value\ \ is 'false'" required: false type: "boolean" - name: "order" in: "query" description: "From the paginate request. The sort order, either 'asc' or\ \ 'desc'. Defaults to 'asc'." required: false type: "string" - name: "size" in: "query" description: "From the paginate request. Number of rows to fetch, starting\ \ from start. Defaults to 10." required: false type: "integer" format: "int32" - name: "sort" in: "query" description: "Property to sort the results on" required: false type: "string" - name: "start" in: "query" description: "From the paginate request. Index of the first row to fetch.\ \ Defaults to 0." required: false type: "integer" format: "int32" - name: "subType" in: "query" description: "Only return messages with the given sub type." required: false type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/DataResponseMessageResponse" 403: description: "Indicates the user does not have the rights to view the messages." 404: description: "Indicates the conversationId or messageId was not found." security: - basicAuth: [] post: tags: - "Conversation Messages" summary: "Send a message" description: "Sends a new message to an existing conversation." operationId: "sendMessage" parameters: - name: "conversationId" in: "path" description: "The id of the conversation to send a message to" required: true type: "string" - in: "body" name: "request" description: "Send message request" required: false schema: $ref: "#/definitions/SendMessageRequest" responses: 201: description: "Indicates the message was created and send to the conversation." schema: $ref: "#/definitions/MessageResponse" 400: description: "Indicates the request body is incomplete or contains illegal\ \ values." 403: description: "Indicates the user does not have the rights to post the message\ \ to the conversation." 404: description: "Indicates the conversationId or messageId was not found. In\ \ case actionInstanceId is used it can mean that no actionInstance with\ \ such id exists. In case actionDefinitionId or actionDefinitionKey is\ \ used it can mean that no actionDefinition was found" 501: description: "Indicates the request doesn't support this type of content." security: - basicAuth: [] /conversations/{conversationId}/messages/search: get: tags: - "Conversation Messages Search" summary: "Search messages" description: "Search messages inside a conversation" operationId: "searchMessages" parameters: - name: "conversationId" in: "path" description: "The id of the conversation" required: true type: "string" - name: "request" in: "query" description: "Message search request" required: false type: "string" - name: "request" in: "query" description: "Message search request" required: false type: "integer" format: "int32" - name: "request" in: "query" description: "Message search request" required: false type: "string" - name: "request" in: "query" description: "Message search request" required: false type: "integer" format: "int32" responses: 200: description: "successful operation" schema: $ref: "#/definitions/DataResponseMessageResponse" 400: description: "Indicates the request is incomplete or contains illegal values." 403: description: "Indicates the user is not allowed to execute the request." security: - basicAuth: [] /conversations/{conversationId}/messages/search/related: get: tags: - "Conversation Messages Search" summary: "Search related messages" description: "Search related messages inside a conversation" operationId: "searchRelatedMessages" parameters: - name: "conversationId" in: "path" description: "The id of the conversation" required: true type: "string" - name: "request" in: "query" description: "Related messages search request" required: false type: "string" - name: "request" in: "query" description: "Related messages search request" required: false type: "integer" format: "int32" - name: "request" in: "query" description: "Related messages search request" required: false type: "string" - name: "request" in: "query" description: "Related messages search request" required: false type: "integer" format: "int32" responses: 200: description: "successful operation" schema: type: "array" items: $ref: "#/definitions/MessageResponse" 400: description: "Indicates the request is incomplete or contains illegal values." 403: description: "Indicates the user is not allowed to execute the request." security: - basicAuth: [] /conversations/{conversationId}/messages/{messageId}: get: tags: - "Conversation Messages" summary: "Find a message" description: "Retrieves a message from a conversation by its identifier." operationId: "findMessage" parameters: - name: "conversationId" in: "path" description: "The id of the conversation" required: true type: "string" - name: "messageId" in: "path" description: "The id of the message" required: true type: "string" responses: 200: description: "Indicates the message was retrieved." schema: $ref: "#/definitions/MessageResponse" 403: description: "Indicates the user does not have the rights to read the message." 404: description: "Indicates the conversationId or messageId was not found." security: - basicAuth: [] put: tags: - "Conversation Messages" summary: "Update a message" description: "Update an existing message." operationId: "updateMessage" parameters: - name: "conversationId" in: "path" description: "The id of the conversation" required: true type: "string" - name: "messageId" in: "path" description: "The id of the message" required: true type: "string" - in: "body" name: "request" description: "The request for updating the message" required: true schema: $ref: "#/definitions/UpdateMessageRequest" responses: 200: description: "Indicates the message was updated." schema: $ref: "#/definitions/MessageResponse" 400: description: "Indicates the request body is incomplete or contains illegal\ \ values." 403: description: "Indicates the user does not have the rights to update the\ \ message." 404: description: "Indicates the conversationId or messageId was not found." security: - basicAuth: [] delete: tags: - "Conversation Messages" summary: "Delete a message" description: "Remove a message from a conversation" operationId: "deleteMessage" parameters: - name: "conversationId" in: "path" description: "The id of the conversation" required: true type: "string" - name: "messageId" in: "path" description: "The id of the message to delete" required: true type: "string" responses: 204: description: "Indicates the message was deleted." schema: type: "object" 403: description: "Indicates the user does not have the rights to delete the\ \ message." 404: description: "Indicates the conversationId or messageId was not found." security: - basicAuth: [] /conversations/{conversationId}/messages/{messageId}/react: put: tags: - "Conversation Messages" summary: "Reacts to a message" description: "Reacts to a message using an emoji glyph" operationId: "reactToMessage" parameters: - name: "conversationId" in: "path" description: "The id of the conversation" required: true type: "string" - name: "messageId" in: "path" description: "The id of the message" required: true type: "string" - in: "body" name: "request" description: "The request for reacting to the message" required: true schema: $ref: "#/definitions/ReactToMessageRequest" responses: 200: description: "successful operation" schema: $ref: "#/definitions/ReactToMessageResponse" 204: description: "Indicates reaction to message was successfully stored." 404: description: "Indicates the conversationId or messageId was not found." security: - basicAuth: [] /conversations/{conversationId}/messages/{messageId}/react/{reactionId}: delete: tags: - "Conversation Messages" summary: "Removes a message reaction" description: "Removes an existing message reaction, if any." operationId: "removeReaction" parameters: - name: "conversationId" in: "path" description: "The id of the conversation" required: true type: "string" - name: "messageId" in: "path" description: "The id of the message" required: true type: "string" - name: "reactionId" in: "path" description: "The id of the reaction" required: true type: "string" responses: 204: description: "Indicates reaction to message was successfully stored." 404: description: "Indicates the conversationId or messageId was not found." security: - basicAuth: [] /conversations/{conversationId}/messages/{messageId}/read: put: tags: - "Conversation Messages" summary: "Mark as read" description: "Mark a message as read" operationId: "markAsRead" parameters: - name: "conversationId" in: "path" description: "The id of the conversation" required: true type: "string" - name: "messageId" in: "path" description: "The id of the message" required: true type: "string" responses: 204: description: "Indicates the message was marked as read." 404: description: "Indicates the conversationId or messageId was not found." security: - basicAuth: [] /conversations/{conversationId}/mute: post: tags: - "Conversation" summary: "Mute conversation" description: "Mute a conversation." operationId: "muteConversation" parameters: - name: "conversationId" in: "path" description: "The id of the conversation that should be muted" required: true type: "string" responses: 204: description: "Indicates conversation was successfully muted." 403: description: "Indicates the user does not have the rights to the conversation." 404: description: "Indicates the conversation with conversationId was not found." security: - basicAuth: [] delete: tags: - "Conversation" summary: "Unmute conversation" description: "Unmute a conversation." operationId: "unmuteConversation" parameters: - name: "conversationId" in: "path" description: "The id of the conversation that should be un-muted" required: true type: "string" responses: 204: description: "Indicates conversation was successfully un-muted." 403: description: "Indicates the user does not have the rights to the conversation." 404: description: "Indicates the conversation with conversationId was not found." security: - basicAuth: [] /conversations/{conversationId}/non-participants: get: tags: - "Conversation Participants" summary: "Query conversation non participants" description: "Query all users that are not part of the given conversation and\ \ the user has access to" operationId: "queryNonParticipants" parameters: - name: "conversationId" in: "path" description: "The id of the conversation for which the non participants need\ \ to be queried." required: true type: "string" - name: "displayNameLikeIgnoreCase" in: "query" description: "Only return users with a display name like the given value ignoring\ \ case" required: false type: "string" - name: "firstNameLikeIgnoreCase" in: "query" description: "Only return users with a first name like the given value ignoring\ \ case" required: false type: "string" - name: "lastNameLikeIgnoreCase" in: "query" description: "Only return users with a last name like the given value ignoring\ \ case" required: false type: "string" - name: "memberOfGroup" in: "query" description: "Only return users that are members of the given group" required: false type: "string" - name: "memberOfGroupKey" in: "query" description: "Only return users that are members of the given group" required: false type: "string" - name: "memberOfGroups" in: "query" description: "Only return users that are member of any of the given groups" required: false type: "array" items: type: "object" collectionFormat: "multi" - name: "memberOfGroupsKeys" in: "query" description: "Only return users that are member of any of the given groups" required: false type: "array" items: type: "object" collectionFormat: "multi" - name: "order" in: "query" description: "From the paginate request. The sort order, either 'asc' or\ \ 'desc'. Defaults to 'asc'." required: false type: "string" - name: "size" in: "query" description: "From the paginate request. Number of rows to fetch, starting\ \ from start. Defaults to 10." required: false type: "integer" format: "int32" - name: "sort" in: "query" description: "Property to sort the results on" required: false type: "string" - name: "start" in: "query" description: "From the paginate request. Index of the first row to fetch.\ \ Defaults to 0." required: false type: "integer" format: "int32" - name: "state" in: "query" description: "Only return users that have the given state" required: false type: "string" responses: 200: description: "Indicates the request was successful" schema: $ref: "#/definitions/DataResponseConversationParticipantResponse" 400: description: "Indicates the request is incomplete or contains illegal values." 403: description: "Indicates the user does not have the rights query participants\ \ of the conversation." 404: description: "Indicates the conversation with conversationId was not found." security: - basicAuth: [] /conversations/{conversationId}/participants: get: tags: - "Conversation Participants" summary: "Query conversation participants" description: "Query participants for an existing conversation" operationId: "queryParticipants" parameters: - name: "conversationId" in: "path" description: "The id of the conversation for which the participants need to\ \ be queried." required: true type: "string" - name: "all" in: "query" description: "Return all users involved within a conversation." required: false type: "boolean" - name: "assignedGroupMembers" in: "query" description: "Return only group members of an assigned group of a conversation." required: false type: "boolean" - name: "assignedUsers" in: "query" description: "Return only directly assigned users to a conversation." required: false type: "boolean" - name: "displayNameLikeIgnoreCase" in: "query" description: "Only return users with a display name like the given value ignoring\ \ case" required: false type: "string" - name: "firstNameLikeIgnoreCase" in: "query" description: "Only return users with a first name like the given value ignoring\ \ case" required: false type: "string" - name: "includeHistoricParticipants" in: "query" description: "Include historic participants that aare not part of the current\ \ conversation, but have been in the past." required: false type: "boolean" - name: "lastNameLikeIgnoreCase" in: "query" description: "Only return users with a last name like the given value ignoring\ \ case" required: false type: "string" - name: "participantGroupMembers" in: "query" description: "Return only group members of the participant groups of a conversation." required: false type: "boolean" - name: "participantUsers" in: "query" description: "Return only participants of a conversation." required: false type: "boolean" responses: 200: description: "Indicates the request was successful" schema: $ref: "#/definitions/DataResponseConversationParticipantResponse" 400: description: "Indicates the request is incomplete or contains illegal values." 403: description: "Indicates the user does not have the rights query participants\ \ of the conversation." 404: description: "Indicates the conversation with conversationId was not found." security: - basicAuth: [] post: tags: - "Conversation Participants" summary: "Add participants" description: "Add participants to an existing conversation" operationId: "addParticipants" parameters: - name: "conversationId" in: "path" description: "The id of the conversation to which participants need to be\ \ added." required: true type: "string" - in: "body" name: "request" description: "Add participants request" required: true schema: $ref: "#/definitions/AddParticipantsRequest" responses: 204: description: "Indicates the participants were successfully added to the\ \ conversations." 403: description: "Indicates the user does not have the rights to add participants\ \ to the conversation." 404: description: "Indicates the conversation with conversationId was not found." security: - basicAuth: [] delete: tags: - "Conversation Participants" summary: "Remove participants" description: "Remove participants from an existing conversation" operationId: "removeParticipants" parameters: - name: "conversationId" in: "path" description: "The id of the conversation from which participants need to be\ \ removed." required: true type: "string" - in: "body" name: "request" description: "Remove participants request" required: true schema: $ref: "#/definitions/RemoveParticipantsRequest" responses: 204: description: "Indicates the participants were successfully removed from\ \ the conversations." 403: description: "Indicates the user does not have the rights to remove participants\ \ from the conversation." 404: description: "Indicates the conversation with conversationId was not found." security: - basicAuth: [] /conversations/{conversationId}/participants/{participantId}: get: tags: - "Conversation Participants" summary: "Get a participant" description: "Returns a participant information for an existing conversation" operationId: "getParticipant" parameters: - name: "conversationId" in: "path" description: "The id of the conversation" required: true type: "string" - name: "participantId" in: "path" description: "The id of the participants" required: true type: "string" responses: 200: description: "Indicates the request was successful" schema: $ref: "#/definitions/ConversationParticipantResponse" 400: description: "Indicates the request is incomplete or contains illegal values." 403: description: "Indicates the user does not have the rights get the participant\ \ information." 404: description: "Indicates the conversation with conversationId was not found." security: - basicAuth: [] delete: tags: - "Conversation Participants" summary: "Remove single participant" description: "Remove single participant from an existing conversation" operationId: "removeParticipant" parameters: - name: "conversationId" in: "path" description: "The id of the conversation from which the participant needs\ \ to be removed." required: true type: "string" - name: "participantId" in: "path" description: "The id of the participant that needs to be removed" required: true type: "string" responses: 204: description: "Indicates the participant was successfully removed from the\ \ conversations." 403: description: "Indicates the user does not have the rights to remove the\ \ participant from the conversation." 404: description: "Indicates the conversation with conversationId was not found." security: - basicAuth: [] /conversations/{conversationId}/reindex: post: tags: - "Conversation Admin" summary: "Reindex conversation" description: "The user has to have admin rights." operationId: "reindexConversation" parameters: - name: "conversationId" in: "path" required: true type: "string" responses: 204: description: "Indicates conversation has been reindexed." 403: description: "Indicates the user has no admin rights." security: - basicAuth: [] /conversations/{conversationId}/reopen: post: tags: - "Conversation" summary: "Reopen conversation" description: "Reopen an archived conversation." operationId: "reopenConversation" parameters: - name: "conversationId" in: "path" description: "The id of the conversation that should be reopened" required: true type: "string" responses: 204: description: "Indicates conversation was successfully reopened." 403: description: "Indicates the user does not have the rights to reopen the\ \ conversation." 404: description: "Indicates the conversation with conversationId was not found." security: - basicAuth: [] /conversations/{conversationId}/star: post: tags: - "Conversation" summary: "Star conversation" description: "Star a conversation." operationId: "starConversation" parameters: - name: "conversationId" in: "path" description: "The id of the conversation that should be starred" required: true type: "string" responses: 204: description: "Indicates conversation was successfully starred." 403: description: "Indicates the user does not have the rights to star the conversation." 404: description: "Indicates the conversation with conversationId was not found." security: - basicAuth: [] delete: tags: - "Conversation" summary: "Unstar conversation" description: "Unstar a conversation." operationId: "unstarConversation" parameters: - name: "conversationId" in: "path" description: "The id of the conversation that should be un-starred" required: true type: "string" responses: 204: description: "Indicates conversation was successfully un-starred." 403: description: "Indicates the user does not have the rights the conversation." 404: description: "Indicates the conversation with conversationId was not found." security: - basicAuth: [] /conversations/{conversationId}/tags: post: tags: - "Conversation Tags" summary: "Add tags" description: "Add tags to an existing conversation" operationId: "addTags" parameters: - name: "conversationId" in: "path" description: "The id of the conversation to which tags need to be added." required: true type: "string" - in: "body" name: "request" description: "Add tags request" required: true schema: $ref: "#/definitions/AddTagsRequest" responses: 204: description: "Indicates the tags were successfully added to the conversations." 403: description: "Indicates the user does not have the rights to add tags to\ \ the conversation." 404: description: "Indicates the conversation with conversationId was not found." security: - basicAuth: [] delete: tags: - "Conversation Tags" summary: "Remove tags" description: "Remove tags from an existing conversation" operationId: "removeTags" parameters: - name: "conversationId" in: "path" description: "The id of the conversation from which tags need to be removed." required: true type: "string" - in: "body" name: "request" description: "Remove tags request" required: true schema: $ref: "#/definitions/RemoveTagsRequest" responses: 204: description: "Indicates the tags were successfully removed from the conversations." 403: description: "Indicates the user does not have the rights to remove tags\ \ from the conversation." 404: description: "Indicates the conversation with conversationId was not found." security: - basicAuth: [] /conversations/{conversationId}/tags/{tag}: delete: tags: - "Conversation Tags" summary: "Remove single tag" description: "Remove a single tag from an existing conversation" operationId: "removeTag" parameters: - name: "conversationId" in: "path" description: "The id of the conversation from which the tag needs to be removed." required: true type: "string" - name: "tag" in: "path" description: "The tag that needs to be removed" required: true type: "string" responses: 204: description: "Indicates the tag was successfully removed from the conversations." 403: description: "Indicates the user does not have the rights to remove the\ \ tag from the conversation." 404: description: "Indicates the conversation with conversationId was not found." security: - basicAuth: [] /conversations/{conversationId}/user-typing: post: tags: - "Conversation" summary: "User is typing" description: "Indicates that a user is typing in the conversation" operationId: "userTyping" parameters: - name: "conversationId" in: "path" description: "The id of the conversation in which the user is typing" required: true type: "string" responses: 204: description: "Indicates event was successfully received." 403: description: "Indicates the user does not have the rights type in the conversation." 404: description: "Indicates the conversation with conversationId was not found." security: - basicAuth: [] /devices: get: tags: - "Devices" summary: "List devices" description: "List devices" operationId: "listDevices" parameters: - name: "applicationId" in: "query" description: "Only return devices for the given application id" required: false type: "string" - name: "deviceOS" in: "query" description: "Only return devices for the given os." required: false type: "string" - name: "id" in: "query" description: "Only return device with the given id." required: false type: "string" - name: "onlyEnabled" in: "query" description: "Only return enabled devices." required: false type: "boolean" - name: "order" in: "query" description: "From the paginate request. The sort order, either 'asc' or\ \ 'desc'. Defaults to 'asc'." required: false type: "string" - name: "size" in: "query" description: "From the paginate request. Number of rows to fetch, starting\ \ from start. Defaults to 10." required: false type: "integer" format: "int32" - name: "sort" in: "query" description: "Property to sort the results on" required: false type: "string" - name: "start" in: "query" description: "From the paginate request. Index of the first row to fetch.\ \ Defaults to 0." required: false type: "integer" format: "int32" - name: "tenantId" in: "query" description: "Only return devices for the given tenant. Only admin users can\ \ modify this parameter, otherwise this is the tenant of user doing the\ \ request." required: false type: "string" - name: "token" in: "query" description: "Only return devices with the given token." required: false type: "string" - name: "userId" in: "query" description: "Only return devices for the given user. Only admin users can\ \ modify this parameter, otherwise this is the user doing the request." required: false type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/DataResponseDeviceResponse" 400: description: "Indicates the request body is incomplete or contains illegal\ \ values." 403: description: "Indicates the user does not have the rights to query devices." security: - basicAuth: [] post: tags: - "Devices" summary: "Register a device" description: "Register a new device" operationId: "registerDevice" parameters: - in: "body" name: "request" description: "Register device request" required: false schema: $ref: "#/definitions/DeviceRegistrationRequest" responses: 200: description: "Indicates the device was registered." 201: description: "Indicates the device was created and registered." schema: $ref: "#/definitions/DeviceResponse" 400: description: "Indicates the request body is incomplete or contains illegal\ \ values." 403: description: "Indicates the user does not have the rights to register the\ \ device." security: - basicAuth: [] /devices/disable: post: tags: - "Devices" summary: "Disable a device" description: "Disable a device" operationId: "disableDevice" parameters: - in: "body" name: "request" description: "Disable device request" required: false schema: $ref: "#/definitions/DisableDeviceRequest" responses: 201: description: "successful operation" schema: $ref: "#/definitions/DeviceResponse" 204: description: "Indicates the device was disabled." 400: description: "Indicates the request body is incomplete or contains illegal\ \ values." 403: description: "Indicates the user does not have the rights to disable the\ \ device." security: - basicAuth: [] /engage-management/engine: get: tags: - "Engine" summary: "Get Engage engine info" description: "Returns a read-only view of the engine that is used in this REST-service." operationId: "getEngineInfo" produces: - "application/json" parameters: [] responses: 200: description: "Indicates the engine info is returned." schema: $ref: "#/definitions/EngineInfoResponse" security: - basicAuth: [] /process-instances/{processInstanceId}/conversation: get: tags: - "Conversation" summary: "Get conversation for a process instance" description: "Returns a conversation information based on its id." operationId: "getConversationForProcessInstance" parameters: - name: "processInstanceId" in: "path" description: "The id of the process instance for which a conversation should\ \ be fetched" required: true type: "string" responses: 200: description: "Indicates the conversation with conversationId was found." schema: $ref: "#/definitions/ConversationResponse" 403: description: "Indicates the user does not have the rights to view the conversation." 404: description: "Indicates the conversation with conversationId was not found." security: - basicAuth: [] /process-instances/{processInstanceId}/conversations: post: tags: - "Conversation" summary: "Start a new conversation for a process instance" description: "Starts conversation." operationId: "startConversationForProcessInstance" parameters: - name: "processInstanceId" in: "path" description: "The id of the process instance" required: true type: "string" - in: "body" name: "request" description: "Start conversation request" required: true schema: $ref: "#/definitions/StartInstanceConversationRequest" responses: 200: description: "Indicates that the conversation was reused." 201: description: "Indicates the conversation was started and created." schema: $ref: "#/definitions/ConversationResponse" 400: description: "Indicates the request body is incomplete or contains illegal\ \ values." 403: description: "Indicates the user does not have the rights to start the conversation." security: - basicAuth: [] /search/query-conversations: get: tags: - "Conversation Search" summary: "Query conversations" description: "Returns a list of conversation from the index." operationId: "searchConversationsWithQuery" produces: - "application/json" parameters: - name: "creatorId" in: "query" description: "creatorId filter to return results for." required: false type: "string" - name: "description" in: "query" description: "description filter to return results for." required: false type: "string" - name: "externalId" in: "query" description: "externalId filter to return results for." required: false type: "string" - name: "id" in: "query" description: "id filter to return results for." required: false type: "string" - name: "name" in: "query" description: "name filter to return results for." required: false type: "string" - name: "order" in: "query" description: "From the paginate request. The sort order, either 'asc' or\ \ 'desc'. Defaults to 'asc'." required: false type: "string" - name: "size" in: "query" description: "From the paginate request. Number of rows to fetch, starting\ \ from start. Defaults to 10." required: false type: "integer" format: "int32" - name: "sort" in: "query" description: "Property to sort the results on" required: false type: "string" - name: "start" in: "query" description: "From the paginate request. Index of the first row to fetch.\ \ Defaults to 0." required: false type: "integer" format: "int32" - name: "state" in: "query" description: "state filter to return results for." required: false type: "string" - name: "type" in: "query" description: "type filter to return results for." required: false type: "string" - name: "updaterId" in: "query" description: "updaterId filter to return results for." required: false type: "string" responses: 200: description: "Indicates the request was successful." schema: $ref: "#/definitions/DataResponseConversationSearchResponse" 400: description: "Indicates the request body is incomplete or contains illegal\ \ values." 403: description: "Indicates the user does not have the rights to query the conversations\ \ index." security: - basicAuth: [] /tasks/{taskId}/conversation: get: tags: - "Conversation" summary: "Get conversation for a task" description: "Returns a conversation information based on its id." operationId: "getConversationForTask" parameters: - name: "taskId" in: "path" description: "The id of the task for which a conversation should be fetched" required: true type: "string" responses: 200: description: "Indicates the conversation with conversationId was found." schema: $ref: "#/definitions/ConversationResponse" 403: description: "Indicates the user does not have the rights to view the conversation." 404: description: "Indicates the conversation with conversationId was not found." security: - basicAuth: [] /technical/users/{userId}/{sessionId}/connected: post: tags: - "User Presence" summary: "Mark user as connected" description: "Mark a user as connected" operationId: "userSessionConnected" parameters: - name: "userId" in: "path" description: "The id of the user" required: true type: "string" - name: "sessionId" in: "path" description: "The id of the session" required: true type: "string" - name: "tenantId" in: "query" description: "The tenantId for the user" required: true type: "string" responses: default: description: "successful operation" security: - basicAuth: [] /technical/users/{userId}/{sessionId}/disconnected: post: tags: - "User Presence" summary: "Mark user as disconnected" description: "Mark a user as disconnected" operationId: "userSessionDisconnected" parameters: - name: "userId" in: "path" description: "The id of the user" required: true type: "string" - name: "sessionId" in: "path" description: "The id of the session" required: true type: "string" - name: "tenantId" in: "query" description: "The tenantId for the user" required: true type: "string" responses: default: description: "successful operation" security: - basicAuth: [] /users/subscribe/{sessionId}: post: tags: - "User Subscriptions" summary: "Subscribe users" description: "Subscribes the current user with the session to the provided user" operationId: "subscribe" parameters: - name: "sessionId" in: "path" description: "The websocket session id that the user is subscribing to" required: true type: "string" - in: "body" name: "request" description: "subscription request" required: true schema: $ref: "#/definitions/UserSubscriptionRequest" responses: 204: description: "Indicates the subscriptionRequest was successful." 400: description: "Indicates the subscriptionRequest is incomplete or contains\ \ illegal values." security: - basicAuth: [] securityDefinitions: basicAuth: type: "basic" definitions: AddParticipantsRequest: type: "object" properties: participantIds: type: "array" description: "The ids of the participants that should be added to a conversation." items: type: "string" description: "Request used for adding participants" AddTagsRequest: type: "object" properties: tags: type: "array" description: "The ids of the tags that should be added to a conversation." items: type: "string" description: "Request used for adding tags" ContentItemResponse: type: "object" properties: id: type: "string" name: type: "string" version: type: "integer" format: "int32" versionInfo: type: "string" mimeType: type: "string" taskId: type: "string" processInstanceId: type: "string" contentStoreId: type: "string" contentStoreName: type: "string" contentAvailable: type: "boolean" versionParentId: type: "string" tenantId: type: "string" created: type: "string" description: "The created time of the content item in ISO 8601 format" createdBy: type: "string" lastModified: type: "string" description: "The lastModified time of the content item in ISO 8601 format" lastModifiedBy: type: "string" ConversationDefinition: type: "object" properties: id: type: "string" name: type: "string" key: type: "string" description: type: "string" subType: type: "string" icon: type: "string" initFormKey: type: "string" ConversationFilterResponse: type: "object" required: - "default" - "id" properties: id: type: "string" description: "The id for the filter" labelKey: type: "string" description: "The key for the filter label" defaultLabelName: type: "string" description: "The default name for the filter label" unreadCount: type: "integer" format: "int64" description: "The count of unread messages for this filter" starredOnly: type: "boolean" description: "If it contains starred conversations only" mutedOnly: type: "boolean" description: "If it contains muted conversations only" default: type: "boolean" description: "Response for the conversations filters" ConversationLastReadStatusResponse: type: "object" required: - "conversationId" properties: conversationId: type: "string" description: "The id of the conversation." userLastReadStatuses: type: "array" description: "The last read statuses for the users within the conversation." items: $ref: "#/definitions/UserLastReadStatusDto" description: "Last Read Status response for a conversation" ConversationParticipantResponse: type: "object" required: - "id" properties: id: type: "string" description: "The id of the participant" type: type: "string" description: "The type of the participant" firstName: type: "string" description: "The first name of the participant" lastName: type: "string" description: "The last name of the participant" displayName: type: "string" description: "The display name of the participant" avatarId: type: "string" description: "The optional avatarId of the participant" presence: type: "string" description: "The presence status of the participant" bot: type: "boolean" description: "Flag indicating whether the participant is a bot. User type\ \ should be used instead." readOnly: true description: "Response for a conversation participant" ConversationResponse: type: "object" required: - "creationTime" - "id" - "joiningType" - "ownerId" - "permissionType" - "state" - "subType" - "type" properties: id: type: "string" description: "The id of the conversation." externalId: type: "string" description: "The external id of the conversation." tenantId: type: "string" description: "The id of the tenant of the conversation." parentId: type: "string" description: "The optional id of the parent conversation." referenceId: type: "string" description: "The id of the scoped entity (e.g. Process, Case, Task)." referenceType: type: "string" description: "The type of the scoped entity." referenceDefinitionId: type: "string" description: "The definition id of the scoped entity (e.g. Process, Case,\ \ Task)." conversationDefinitionId: type: "string" description: "The id of the conversation definition of the conversation." state: type: "string" description: "The state of the conversation." type: type: "string" description: "The type (e.g. 'channel', 'dm', 'gm', 'topic') of the conversation." subType: type: "string" description: "The sub type of the conversation." permissionType: type: "string" description: "The permission type of the conversation. This is used to drive\ \ how permissions are handled for messages within the conversation." joiningType: type: "string" description: "The type of how new participant can be joined to the conversation." name: type: "string" description: "The optional name of the conversation." fallbackName: type: "string" description: "The fallback name for the conversation. Can be used if name\ \ is not set." description: type: "string" description: "The optional description of the conversation." avatarId: type: "string" description: "The optional avatar info for the conversation." creationTime: type: "string" example: "2018-09-07T11:01:04.635Z" description: "The time when the conversation was created. ISO-8601." creatorId: type: "string" description: "The optional id of the user that created the conversation. It\ \ can be an admin user, system user, or null. This is a technical property." updateTime: type: "string" example: "2018-09-07T11:01:04.635Z" description: "The last time when the conversation was updated. ISO-8601." updaterId: type: "string" description: "The optional id of the user that updated the conversation. It\ \ can be an admin user, system user, or null. This is a technical property." lastMessageTime: type: "string" example: "2018-09-07T11:01:04.635Z" description: "The time when the last send message in the conversation was\ \ send. ISO-8601." ownerId: type: "string" description: "The id of the current owner of the conversation." assigneeId: type: "string" description: "The optional id of the user being the assignee of the conversation." assignedGroupId: type: "string" description: "The optional id of the group being the assignee of the conversation." participantIds: type: "array" description: "The collection of the participant ids of the conversation." uniqueItems: true items: type: "string" participantGroupIds: type: "array" description: "The collection of the group ids that are part of the conversation." uniqueItems: true items: type: "string" tags: type: "array" description: "The optional tags of the conversation" uniqueItems: true items: type: "string" permissions: type: "array" description: "The available permission actions of the conversation. Only available\ \ when fetching a single conversation" items: type: "string" variables: type: "array" description: "Collection of all variables of the conversation" items: $ref: "#/definitions/EngineRestVariable" description: "Response for the conversations" ConversationSearchResponse: type: "object" required: - "creationTime" - "id" - "joiningType" - "ownerId" - "permissionType" - "state" - "subType" - "type" properties: id: type: "string" description: "The id of the conversation." externalId: type: "string" description: "The external id of the conversation." tenantId: type: "string" description: "The id of the tenant of the conversation." parentId: type: "string" description: "The optional id of the parent conversation." referenceId: type: "string" description: "The id of the scoped entity (e.g. Process, Case, Task)." referenceType: type: "string" description: "The type of the scoped entity." referenceDefinitionId: type: "string" description: "The definition id of the scoped entity (e.g. Process, Case,\ \ Task)." conversationDefinitionId: type: "string" description: "The id of the conversation definition of the conversation." state: type: "string" description: "The state of the conversation." type: type: "string" description: "The type (e.g. 'channel', 'dm', 'gm', 'topic') of the conversation." subType: type: "string" description: "The sub type of the conversation." permissionType: type: "string" description: "The permission type of the conversation. This is used to drive\ \ how permissions are handled for messages within the conversation." joiningType: type: "string" description: "The type of how new participant can be joined to the conversation." name: type: "string" description: "The optional name of the conversation." fallbackName: type: "string" description: "The fallback name for the conversation. Can be used if name\ \ is not set." description: type: "string" description: "The optional description of the conversation." avatarId: type: "string" description: "The optional avatar info for the conversation." creationTime: type: "string" example: "2018-09-07T11:01:04.635Z" description: "The time when the conversation was created. ISO-8601." creatorId: type: "string" description: "The optional id of the user that created the conversation. It\ \ can be an admin user, system user, or null. This is a technical property." updateTime: type: "string" example: "2018-09-07T11:01:04.635Z" description: "The last time when the conversation was updated. ISO-8601." updaterId: type: "string" description: "The optional id of the user that updated the conversation. It\ \ can be an admin user, system user, or null. This is a technical property." lastMessageTime: type: "string" example: "2018-09-07T11:01:04.635Z" description: "The time when the last send message in the conversation was\ \ send. ISO-8601." ownerId: type: "string" description: "The id of the current owner of the conversation." assigneeId: type: "string" description: "The optional id of the user being the assignee of the conversation." assignedGroupId: type: "string" description: "The optional id of the group being the assignee of the conversation." participantIds: type: "array" description: "The collection of the participant ids of the conversation." uniqueItems: true items: type: "string" participantGroupIds: type: "array" description: "The collection of the group ids that are part of the conversation." uniqueItems: true items: type: "string" tags: type: "array" description: "The optional tags of the conversation" uniqueItems: true items: type: "string" permissions: type: "array" description: "The available permission actions of the conversation. Only available\ \ when fetching a single conversation" items: type: "string" variables: type: "array" description: "Collection of all variables of the conversation" items: $ref: "#/definitions/EngineRestVariable" messages: type: "array" description: "The last messages within the conversation. Ordered by creationTime\ \ in descending order." items: $ref: "#/definitions/MessageResponse" participantsInfo: type: "object" description: "The information for all involved users (owner, assignee, participants)\ \ within the conversation." additionalProperties: $ref: "#/definitions/ConversationParticipantResponse" unreadCount: type: "integer" format: "int64" description: "The total unread count for the conversation." star: type: "boolean" description: "Flag indicating whether the user doing the request has starred\ \ the conversation or not." mute: type: "boolean" description: "Flag indicating whether the user doing the request has muted\ \ the conversation or not." description: "Response for the conversations search" DataResponse: type: "object" properties: data: type: "array" items: type: "object" total: type: "integer" format: "int64" start: type: "integer" format: "int32" sort: type: "string" order: type: "string" size: type: "integer" format: "int32" DataResponseConversationFilterResponse: type: "object" properties: data: type: "array" items: $ref: "#/definitions/ConversationFilterResponse" total: type: "integer" format: "int64" start: type: "integer" format: "int32" sort: type: "string" order: type: "string" size: type: "integer" format: "int32" DataResponseConversationParticipantResponse: type: "object" properties: data: type: "array" items: $ref: "#/definitions/ConversationParticipantResponse" total: type: "integer" format: "int64" start: type: "integer" format: "int32" sort: type: "string" order: type: "string" size: type: "integer" format: "int32" DataResponseConversationResponse: type: "object" properties: data: type: "array" items: $ref: "#/definitions/ConversationResponse" total: type: "integer" format: "int64" start: type: "integer" format: "int32" sort: type: "string" order: type: "string" size: type: "integer" format: "int32" DataResponseConversationSearchResponse: type: "object" properties: data: type: "array" items: $ref: "#/definitions/ConversationSearchResponse" total: type: "integer" format: "int64" start: type: "integer" format: "int32" sort: type: "string" order: type: "string" size: type: "integer" format: "int32" DataResponseDeviceResponse: type: "object" properties: data: type: "array" items: $ref: "#/definitions/DeviceResponse" total: type: "integer" format: "int64" start: type: "integer" format: "int32" sort: type: "string" order: type: "string" size: type: "integer" format: "int32" DataResponseMessageComplianceResponse: type: "object" properties: data: type: "array" items: $ref: "#/definitions/MessageComplianceResponse" total: type: "integer" format: "int64" start: type: "integer" format: "int32" sort: type: "string" order: type: "string" size: type: "integer" format: "int32" DataResponseMessageResponse: type: "object" properties: data: type: "array" items: $ref: "#/definitions/MessageResponse" total: type: "integer" format: "int64" start: type: "integer" format: "int32" sort: type: "string" order: type: "string" size: type: "integer" format: "int32" DeviceRegistrationRequest: type: "object" required: - "deviceOS" - "enabled" - "token" properties: token: type: "string" description: "The token for the device" tokenEncoding: type: "string" example: "base64" description: "The type of the encoding for the device" enabled: type: "boolean" description: "Whether the device is enabled. By default it is true" deviceOS: type: "string" example: "ios" description: "The device OS" userId: type: "string" description: "The id of the user that the device would be registered to. Only\ \ allowed for users with admin privileges." applicationId: type: "string" description: "The id of the application that the device would be registered\ \ to" tenantId: type: "string" description: "The tenant id for the device. Only allowed for users with admin\ \ privileges." description: "Request that is used for registering a device" DeviceResponse: type: "object" required: - "creationTime" - "deviceOS" - "enabled" - "id" - "token" properties: id: type: "string" description: "The id of the device" token: type: "string" description: "The token for the device" tokenEncoding: type: "string" example: "base64" description: "The type of the encoding for the device" enabled: type: "boolean" description: "Whether the device is enabled" deviceOS: type: "string" example: "ios" description: "The device OS" userId: type: "string" description: "The id of the user that the device is registered to" applicationId: type: "string" description: "The id of the application that the device is registered to" creatorId: type: "string" description: "The optional user id of the user that created the message. It\ \ can be an admin user, system user, or null. This is a technical property." creationTime: type: "string" example: "2018-09-07T11:01:04.635Z" description: "The ISO 8601 creation timestamp of the message" updaterId: type: "string" description: "The optional user id of the user that updated the message." updateTime: type: "string" example: "2018-09-07T11:01:04.635Z" description: "The ISO 8601 update timestamp of the device" tenantId: type: "string" description: "The tenant id of the device" description: "Response for a device" DisableDeviceRequest: type: "object" required: - "deviceOS" - "token" properties: token: type: "string" description: "The token for the device" deviceOS: type: "string" example: "ios" description: "The device OS" userId: type: "string" description: "The id of the user that the device would be registered to. Only\ \ allowed for users with admin privileges." applicationId: type: "string" description: "The id of the application that the device would be registered\ \ to" tenantId: type: "string" description: "The tenant id for the device. Only allowed for users with admin\ \ privileges." description: "Request that is used for disabling a device" EngineInfoResponse: type: "object" properties: name: type: "string" example: "default" resourceUrl: type: "string" example: "file://flowable/flowable.cfg.xml" exception: type: "string" example: "null" version: type: "string" example: "6.3.1" EngineRestVariable: type: "object" properties: name: type: "string" example: "myVariable" description: "Name of the variable" type: type: "string" example: "string" description: "Type of the variable." value: type: "object" example: "test" description: "Value of the variable." valueUrl: type: "string" example: "http://...." FileSystem: type: "object" properties: open: type: "boolean" readOnly: type: "boolean" separator: type: "string" rootDirectories: $ref: "#/definitions/IterablePath" fileStores: $ref: "#/definitions/IterableFileStore" userPrincipalLookupService: $ref: "#/definitions/UserPrincipalLookupService" InputStream: type: "object" Iterable: type: "object" IterableFileStore: type: "object" IterablePath: type: "object" JsonNode: type: "object" properties: string: type: "boolean" valueNode: type: "boolean" missingNode: type: "boolean" short: type: "boolean" double: type: "boolean" bigDecimal: type: "boolean" bigInteger: type: "boolean" textual: type: "boolean" boolean: type: "boolean" container: type: "boolean" object: type: "boolean" binary: type: "boolean" number: type: "boolean" nodeType: type: "string" enum: - "ARRAY" - "BINARY" - "BOOLEAN" - "MISSING" - "NULL" - "NUMBER" - "OBJECT" - "POJO" - "STRING" long: type: "boolean" pojo: type: "boolean" int: type: "boolean" integralNumber: type: "boolean" floatingPointNumber: type: "boolean" array: type: "boolean" empty: type: "boolean" null: type: "boolean" float: type: "boolean" embeddedValue: type: "boolean" MessageComplianceResponse: type: "object" required: - "category" - "conversationId" - "creationTime" - "id" - "senderId" properties: id: type: "string" description: "The id of the message" conversationId: type: "string" description: "The id of the conversation that this message is part of" externalId: type: "string" description: "The optional external id of the message" senderId: type: "string" description: "The user id of the sender." mainContent: type: "string" description: "The main content of the message" mainContentType: type: "string" description: "The type of the main content for the message. Example values:\ \ PLAIN, MD, HTML" category: type: "string" description: "The category of the message. e.g. message, action, media" type: type: "string" description: "The optional type of the message." subType: type: "string" description: "The optional subType of the message." tags: type: "array" description: "An optional list of message tags (e.g. 'category_warning', etc)." items: type: "string" recipientId: type: "string" description: "The user id of the recipient of the message." recipientGroupId: type: "string" description: "The group id of the recipient group of the message." sticky: type: "boolean" description: "Whether this is a sticky message." actionInstanceId: type: "string" description: "The optional id of an action instance if this message is linked\ \ with one." mediaContentId: type: "string" description: "The optional id of a media content id if this message is linked\ \ with one." creationTime: type: "string" example: "2018-09-07T11:01:04.635Z" description: "The ISO 8601 creation timestamp of the message" creatorId: type: "string" description: "The optional user id of the user that created the message. It\ \ can be an admin user, system user, or null. This is a technical property." updaterId: type: "string" description: "The optional user id of the user that updated the message." updateTime: type: "string" example: "2018-09-07T11:01:04.635Z" description: "The ISO 8601 update timestamp of the message" tenantId: type: "string" description: "The tenant id of the message" replyToMessageId: type: "string" description: "The id of the message used for the reply, if any" reactions: type: "array" description: "The list of reactions to this message" items: $ref: "#/definitions/MessageReaction" participantUserIds: type: "array" description: "The list of participants in the group where the message is sent,\ \ if any" items: type: "string" conversationName: type: "string" description: "The name of the message conversation" private: type: "boolean" description: "Response for a message for compliance" MessageReaction: type: "object" required: - "creationTime" - "id" - "messageId" - "reaction" - "userId" properties: id: type: "string" description: "The id of the reaction" messageId: type: "string" description: "The message identifier of the reaction" userId: type: "string" description: "The user id of the user reacting to the message" reaction: type: "string" description: "The code used for the reaction, normally an emoji" creationTime: type: "string" format: "date-time" description: "The time this reaction was created" description: "Reaction for a message" MessageResponse: type: "object" required: - "category" - "conversationId" - "creationTime" - "id" - "senderId" properties: id: type: "string" description: "The id of the message" conversationId: type: "string" description: "The id of the conversation that this message is part of" externalId: type: "string" description: "The optional external id of the message" senderId: type: "string" description: "The user id of the sender." mainContent: type: "string" description: "The main content of the message" mainContentType: type: "string" description: "The type of the main content for the message. Example values:\ \ PLAIN, MD, HTML" category: type: "string" description: "The category of the message. e.g. message, action, media" type: type: "string" description: "The optional type of the message." subType: type: "string" description: "The optional subType of the message." tags: type: "array" description: "An optional list of message tags (e.g. 'category_warning', etc)." items: type: "string" recipientId: type: "string" description: "The user id of the recipient of the message." recipientGroupId: type: "string" description: "The group id of the recipient group of the message." sticky: type: "boolean" description: "Whether this is a sticky message." actionInstanceId: type: "string" description: "The optional id of an action instance if this message is linked\ \ with one." mediaContentId: type: "string" description: "The optional id of a media content id if this message is linked\ \ with one." creationTime: type: "string" example: "2018-09-07T11:01:04.635Z" description: "The ISO 8601 creation timestamp of the message" creatorId: type: "string" description: "The optional user id of the user that created the message. It\ \ can be an admin user, system user, or null. This is a technical property." updaterId: type: "string" description: "The optional user id of the user that updated the message." updateTime: type: "string" example: "2018-09-07T11:01:04.635Z" description: "The ISO 8601 update timestamp of the message" tenantId: type: "string" description: "The tenant id of the message" replyToMessageId: type: "string" description: "The id of the message used for the reply, if any" reactions: type: "array" description: "The list of reactions to this message" items: $ref: "#/definitions/MessageReaction" private: type: "boolean" description: "Response for a message" MultipartFile: type: "object" properties: contentType: type: "string" originalFilename: type: "string" name: type: "string" bytes: type: "array" items: type: "string" format: "byte" empty: type: "boolean" resource: $ref: "#/definitions/Resource" size: type: "integer" format: "int64" inputStream: $ref: "#/definitions/InputStream" Path: type: "object" properties: absolute: type: "boolean" parent: $ref: "#/definitions/Path" root: $ref: "#/definitions/Path" fileName: $ref: "#/definitions/Path" fileSystem: $ref: "#/definitions/FileSystem" nameCount: type: "integer" format: "int32" ReactToMessageRequest: type: "object" required: - "reaction" properties: reaction: type: "string" example: "\U0001f604" description: "String representation of the reaction, normally an emoji code" description: "Reaction to the message" ReactToMessageResponse: type: "object" required: - "reactionId" properties: reactionId: type: "string" description: "Unique identifier of the reaction" description: "Response to a message reaction" RemoveParticipantsRequest: type: "object" properties: participantIds: type: "array" description: "The ids of the participants that should be removed from a conversation." items: type: "string" description: "Request used for removing participants" RemoveTagsRequest: type: "object" properties: tags: type: "array" description: "The ids of the tags that should be removed from a conversation." items: type: "string" description: "Request used for removing tags" Resource: type: "object" properties: filename: type: "string" filePath: $ref: "#/definitions/Path" description: type: "string" uri: type: "string" format: "uri" contentAsByteArray: type: "array" items: type: "string" format: "byte" open: type: "boolean" file: type: "file" readable: type: "boolean" url: type: "string" format: "url" inputStream: $ref: "#/definitions/InputStream" SendMediaMessageRequest: type: "object" required: - "mainContent" properties: mainContent: type: "string" description: "The main content of the message" mainContentType: type: "string" description: "The type of the main content for the message. Example values:\ \ PLAIN, MD" type: type: "string" description: "The optional type of the message. If not set then default would\ \ be used. Some types: default, system, template" subType: type: "string" description: "The optional subType of the message. If not set then default\ \ would be used." externalId: type: "string" description: "The optional external id of the message" senderId: type: "string" description: "The user id of the sender. Always the current user when the\ \ user doing the request does not have admin privileges" recipientId: type: "string" description: "The user id of the recipient of the message. When set a private\ \ message to that user would be send" sticky: type: "boolean" description: "Whether this is a sticky message." actionInstanceId: type: "string" description: "The optional id of an action instance if this message is linked\ \ with one. When this is set then actionDefinitionId and actionDefinitionKey\ \ must not be set." actionDefinitionId: type: "string" description: "The optional id of an actionDefinition that would be used to\ \ create an action instance when sending the message. When this is set then\ \ actionInstanceId and actionDefinitionKey must not be set." actionDefinitionKey: type: "string" description: "The optional key of an actionDefinition that would be used to\ \ create an action instance when sending the message. When this is set then\ \ actionInstanceId and actionDefinitionId must not be set." scopeId: type: "string" description: "The optional scopeId for the created action instance. Only used\ \ when actionDefinitionId or actionDefinitionKey is used." scopeType: type: "string" description: "The optional scopeType for the created action instance. Only\ \ used when actionDefinitionId or actionDefinitionKey is used." replyToMessageId: type: "string" description: "The optional message Id that would this message is replying\ \ to." tags: type: "array" description: "The optional tags for the message." items: type: "string" media: description: "The media that needs to be uploaded" $ref: "#/definitions/MultipartFile" forwardMediaMessageId: type: "string" description: "The media message id you want to forward" mediaName: type: "string" description: "The name of the media" description: "Request that is used for sending a media message" SendMessageRequest: type: "object" required: - "mainContent" properties: mainContent: type: "string" description: "The main content of the message" mainContentType: type: "string" description: "The type of the main content for the message. Example values:\ \ PLAIN, MD" type: type: "string" description: "The optional type of the message. If not set then default would\ \ be used. Some types: default, system, template" subType: type: "string" description: "The optional subType of the message. If not set then default\ \ would be used." externalId: type: "string" description: "The optional external id of the message" senderId: type: "string" description: "The user id of the sender. Always the current user when the\ \ user doing the request does not have admin privileges" recipientId: type: "string" description: "The user id of the recipient of the message. When set a private\ \ message to that user would be send" sticky: type: "boolean" description: "Whether this is a sticky message." actionInstanceId: type: "string" description: "The optional id of an action instance if this message is linked\ \ with one. When this is set then actionDefinitionId and actionDefinitionKey\ \ must not be set." actionDefinitionId: type: "string" description: "The optional id of an actionDefinition that would be used to\ \ create an action instance when sending the message. When this is set then\ \ actionInstanceId and actionDefinitionKey must not be set." actionDefinitionKey: type: "string" description: "The optional key of an actionDefinition that would be used to\ \ create an action instance when sending the message. When this is set then\ \ actionInstanceId and actionDefinitionId must not be set." scopeId: type: "string" description: "The optional scopeId for the created action instance. Only used\ \ when actionDefinitionId or actionDefinitionKey is used." scopeType: type: "string" description: "The optional scopeType for the created action instance. Only\ \ used when actionDefinitionId or actionDefinitionKey is used." replyToMessageId: type: "string" description: "The optional message Id that would this message is replying\ \ to." tags: type: "array" description: "The optional tags for the message." items: type: "string" description: "Request that is used for sending a message" StartConversationRequest: type: "object" properties: type: type: "string" description: "The type with which the conversation should be started. If a\ \ conversation definition provides a type then this would be ignored. (e.g.\ \ 'default', 'channel', 'dm', 'gm', 'topic')." externalId: type: "string" description: "The optional external id of the conversation. Can be used as\ \ a reference to a conversation from an external system" permissionType: type: "string" description: "The permission type with which the conversation should be started.\ \ Usually it is computed when the type is set." joiningType: type: "string" description: "The permission with which the conversation should be started.\ \ Usually it is computed by the type." name: type: "string" description: "The optional name of the conversation." description: type: "string" description: "The optional description of the conversation." avatarId: type: "string" description: "The optional avatar information for the conversation" ownerId: type: "string" description: "The id of the owner of the conversation. Only allowed to be\ \ set by users with admin privileges." assigneeId: type: "string" description: "The id of the assignee of the conversation. Only allowed to\ \ be set by users with admin privileges." assignedGroupId: type: "string" description: "The id of the assigned group of the conversation. Only allowed\ \ to be set by users with admin privileges." tenantId: type: "string" description: "The tenant id of the conversation. Only allowed to be set by\ \ users with admin privileges." participantId: type: "string" description: "The id of participant of the conversation. A convenient field\ \ to replace using participantIds with a single participantId" participantIds: type: "array" description: "The ids of the participants of the conversation" uniqueItems: true items: type: "string" participantGroupIds: type: "array" description: "The ids of the groups for the conversation" uniqueItems: true items: type: "string" tags: type: "array" description: "The custom tags for the conversation" uniqueItems: true items: type: "string" reuseExisting: type: "boolean" description: "Whether a check should be done to see if a similar conversation\ \ exists. If a similar conversation is found, then it would be returned,\ \ otherwise a new conversation with the provided information will be created." conversationDefinitionId: type: "string" description: "The optional id of the conversation definition that should be\ \ used when starting the conversation." conversationDefinitionKey: type: "string" description: "The optional key of the conversation definition that should\ \ be used when starting the conversation." referenceId: type: "string" description: "The reference id of the conversation pointing to for example\ \ a case or process instance id." referenceType: type: "string" description: "The reference type of the conversation pointing to for example\ \ a case or process instance scope type." referenceDefinitionId: type: "string" description: "The reference definition id of the conversation pointing to\ \ for example a case or process definition id." parentId: type: "string" description: "The optional id of the parent conversation, if this is a child\ \ conversation" description: "Request that is used for staring a conversation" StartInstanceConversationRequest: type: "object" properties: name: type: "string" description: "The optional name of the conversation." description: type: "string" description: "The optional description of the conversation." avatarId: type: "string" description: "The optional avatar information for the conversation" description: "Request that is used for starting a conversation for an process\ \ /case instance" UpdateConversationRequest: type: "object" properties: name: type: "string" description: "The new name of the conversation. For removing a name needs\ \ to be explicitly set to null." description: type: "string" description: "The new description of the conversation. For removing a description\ \ needs to be explicitly set to null." description: "Request for updating a conversation" UpdateMediaMessageRequest: type: "object" properties: media: description: "The update media content of the message" $ref: "#/definitions/MultipartFile" mediaName: type: "string" description: "The name of the updated media" description: "Request that is used for updating a media message" UpdateMessageRequest: type: "object" properties: mainContent: type: "string" description: "The updated main content of the message" description: "Request that is used for updating a message" UserLastReadStatusDto: type: "object" required: - "userId" properties: userId: type: "string" description: "The id of the user for which this status is relevant." lastReadMessageId: type: "string" description: "The id of the last read message by the user." lastReadMessageTimestamp: type: "string" description: "The timestamp of the last read message by the user in ISO 8601\ \ format. This is not the time of the read of the message." description: "Last read status for a user within a conversation" UserPrincipalLookupService: type: "object" UserSubscriptionRequest: type: "object" properties: subscribingUser: type: "string" description: "The user for which the subscription should happen. Only allowed\ \ for users with admin rights." users: type: "array" description: "The ids of the users that should be subscribed to." items: type: "string" description: "Request used for subscribing"