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
- 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.