Endpoints
Send a Message as an AI Agent Output
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.
post/v2.0/endpoint/notify
Request
- Base URLhttps://api-trial.cognigy.ai/testing
- Auth
- API key in header X-API-Key
- or API key in query parameter api_key
- or API key in header x-cxone-authorization
- or OAuth 2Authorization code/auth/oauth2/authorizePasswordToken URL/auth/oauth2/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"userId": "user@example.com",
"text": "inject text",
"URLToken": "endpoint-url-token",
"sessionId": "your-session-id"
}Response
Returns success message.
Changes
No recorded changes to this operation across all 1 revision of this API.