Send a media message
Swagger UIyaml/engage-api/ conversations/ {conversationId}/ mediaSends a new media message to an existing conversation. The id of the conversation to send a media message to Send media message request The main content of the message The type of the main content for the message. Example values: PLAIN, MD The optional type of the message. If not set then default would be used. Some types: default, system, template The optional subType of the message. If not set then default would be used. The optional external id of the message The user id of the sender. Always the current user when the user doing the request does not have admin privileges The user id of the recipient of the message. When set a private message to that user would be send Whether this is a sticky message. 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. 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. 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. The optional scopeId for the created action instance. Only used when actionDefinitionId or actionDefinitionKey is used. The optional scopeType for the created action instance. Only used when actionDefinitionId or actionDefinitionKey is used. The optional message Id that would this message is replying to. The optional tags for the message. The media message id you want to forward The name of the media Indicates the media message was created and send to the conversation. · MessageResponse The id of the message The id of the conversation that this message is part of The user id of the sender. The category of the message. e.g. message, action, media The ISO 8601 creation timestamp of the message Example: The optional external id of the message The main content of the message The type of the main content for the message. Example values: PLAIN, MD, HTML The optional type of the message. The optional subType of the message. An optional list of message tags (e.g. 'category_warning', etc). The user id of the recipient of the message. The group id of the recipient group of the message. Whether this is a sticky message. The optional id of an action instance if this message is linked with one. The optional id of a media content id if this message is linked with one. 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. The optional user id of the user that updated the message. The ISO 8601 update timestamp of the message Example: The tenant id of the message The id of the message used for the reply, if any The list of reactions to this messagePath parameters
conversationIdstringrequiredRequest body application/json · SendMediaMessageRequest
mainContentstringrequiredmainContentTypestringtypestringsubTypestringexternalIdstringsenderIdstringrecipientIdstringstickybooleanactionInstanceIdstringactionDefinitionIdstringactionDefinitionKeystringscopeIdstringscopeTypestringreplyToMessageIdstringtagsstring[]mediaMultipartFileforwardMediaMessageIdstringmediaNamestringResponses
idstringrequiredconversationIdstringrequiredsenderIdstringrequiredcategorystringrequiredcreationTimestringrequired2018-09-07T11:01:04.635ZexternalIdstringmainContentstringmainContentTypestringtypestringsubTypestringtagsstring[]recipientIdstringrecipientGroupIdstringstickybooleanactionInstanceIdstringmediaContentIdstringcreatorIdstringupdaterIdstringupdateTimestring2018-09-07T11:01:04.635ZtenantIdstringreplyToMessageIdstringreactionsMessageReaction[]
requiredGrey names have no description in the spec