Send a message to a chatgen agentAsk AIpost https://api.indigitall.com/v2/chatgen/agent/{agentId}/conversationThis endpoint allows you to send a message directly to a chatgen agent.Path ParamsagentIdintegerrequiredThe unique identifier of the chat agent.Query ParamsapplicationIdintegerrequiredThe ID of the application to associate with the chat agent.Body ParamsinstanceIdintegerUnique identifier for the specific instance.conversationIdintegerrequiredUnique identifier of the conversation.agentTypestringenumrequiredThe type of the agent. Options are 'contextual', 'router' or 'helper'.contextualrouterhelperAllowed:contextualrouterhelpermessageIdintegerrequiredUnique identifier for the message.userQuestionstringThe message or question from the user.channelstringenumrequiredChannel to which the specified contactId belongs.whatsappwebchatmessengercloudapimsteamsAllowed:whatsappwebchatmessengercloudapimsteamslanguagestringenumLanguage code used for processing the user's input (e.g., "en", "es", "fr").esesenfritptcaAllowed:esenfritptcacontentTypestringenumContent type of the multimedia message.documentaudioimagevideodocumentvoiceAllowed:audioimagevideodocumentvoicecontentobjectcontent objectResponses 200The request has succeeded. The response contains the status code and a message indicating success. 400The request could not be understood or was missing required parameters. 401Authentication failed or user does not have permissions for the desired action. 403The server understood the request, but refuses to authorize it. 404The requested resource could not be found. 409The request could not be processed because of conflict in the request. 422The server understands the content type of the request entity, and the syntax of the request entity is correct, but it was unable to process the contained instructions. 500The server encountered an unexpected condition that prevented it from fulfilling the request. defaultAn unexpected error occurred.Updated 13 days ago