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 an AI Agent Output. It bypasses the Flowās input processing and delivers a message to the user. For example, sending Your order 12345 has shipped as a status update. Deprecated. This v2.0 endpoint will be removed in a future release; please use the /notify/{URLToken} in Endpoint Service
curl --request POST \
--url https://api-trial.cognigy.ai/new/v2.0/endpoint/notify \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"userId": "user@example.com",
"text": "inject text",
"data": {},
"URLToken": "endpoint-url-token",
"attachments": [
{
"name": "<string>",
"url": "<string>",
"type": "file",
"caption": "<string>"
}
],
"sessionId": "your-session-id"
}
'"Sucessfully sent message to user"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
"user@example.com"
"inject text"
"endpoint-url-token"
Show child attributes
"your-session-id"
Returns success message.
curl --request POST \
--url https://api-trial.cognigy.ai/new/v2.0/endpoint/notify \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"userId": "user@example.com",
"text": "inject text",
"data": {},
"URLToken": "endpoint-url-token",
"attachments": [
{
"name": "<string>",
"url": "<string>",
"type": "file",
"caption": "<string>"
}
],
"sessionId": "your-session-id"
}
'"Sucessfully sent message to user"