Help us improve our product documentation on docs.cognigy.com by sharing your thoughts in a quick survey. Your feedback shapes the future of our content!
Help us improve our product documentation on docs.cognigy.com by sharing your thoughts in a quick survey. Your feedback shapes the future of our content!
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. Deprecated. This v2.0 endpoint will be removed in a future release; please use the /inject/{URLToken} in Endpoint Service
curl --request POST \
--url https://api-trial.cognigy.ai/new/v2.0/endpoint/inject \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"userId": "user@example.com",
"text": "inject text",
"data": {},
"URLToken": "endpoint-url-token",
"sessionId": "your-session-id"
}
'"Message was sent to AI for Flow processing"Documentation Index
Fetch the complete documentation index at: https://docs.cognigy.com/llms.txt
Use this file to discover all available pages before exploring further.
Supply the API Key in the HTTP-Header
Returns success message.
curl --request POST \
--url https://api-trial.cognigy.ai/new/v2.0/endpoint/inject \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"userId": "user@example.com",
"text": "inject text",
"data": {},
"URLToken": "endpoint-url-token",
"sessionId": "your-session-id"
}
'"Message was sent to AI for Flow processing"