Overview
API endpoint for interacting with your AI through messages. This endpoint allows you to have conversations with your AI and receive responses based on your AI’s training.Authorization
Your Personal AI API key
Headers
Must be set to application/json
Body
Message to send to your AI for a response
Example
Message to add additional context to the AI for a response (Similar to Reply function)
Example
The hyphenated text below the AI’s name when clicked into a Persona.

Example
Name of the user sending the request
Example
Use the same sessionId to continue conversation on that session
Example
Name of the document you want to refer to in your AI’s Upload Library. This functions in the same way as the colon function does in the Personal AI platform.
Example
Name of the source app of the inbound message, required if using with triggers
Example
Flag to also add the user message (Text) to memory. Defaults to false if nothing is entered.
Example
Flag to create a copilot message for the AI. Defaults to false if nothing is entered.
Example
Example
Example Responses
The AI’s response message
Confidence score of the AI’s response
Session identifier for the conversation
Example Success Response
Example Error Response
Examlpe cURL
cURL
Error Codes
Code | Description |
---|---|
403 | Forbidden - Check that API key is invalid |
503 | Threshold Failure - Generated AI message is below user threshold |