v1

latestOpenAPI 3.0.0Cognigy Proprietary License2026-07-2239524.1 MB
Endpoints

Send a Message as a User Input

Sends a message as a user input in an active conversation, so an AI Agent can process the input and continue the conversation. For example, to follow up after user inactivity or trigger a reply after an external API event.

post/v2.0/endpoint/inject

Request body

userIdstring email required
textstring required
dataobject required
URLTokenstring required
sessionIdstring required

Example request

{
  "userId": "user@example.com",
  "text": "inject text",
  "URLToken": "endpoint-url-token",
  "sessionId": "your-session-id"
}

Response

Returns success message.