Send a message to a chatgen agent

This endpoint allows you to send a message directly to a chatgen agent.

Path Params
integer
required

The unique identifier of the chat agent.

Query Params
integer
required

The ID of the application to associate with the chat agent.

Body Params
integer

Unique identifier for the specific instance.

integer
required

Unique identifier of the conversation.

string
enum
required

The type of the agent. Options are 'contextual', 'router' or 'helper'.

Allowed:
integer
required

Unique identifier for the message.

string

The message or question from the user.

string
enum
required

Channel to which the specified contactId belongs.

Allowed:
string
enum

Language code used for processing the user's input (e.g., "en", "es", "fr").

Allowed:
string
enum

Content type of the multimedia message.

Allowed:
content
object
Responses

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json