Prepare an employee from a message
POSThttps://platform.docana.com/api/v1/employees/:id/prepare-message/
Uses the same employee preparation assistant as the UI. Send a goal or correction; optionally continue a caller-owned preparation thread. Can write drafts, configure connections and run authorized tests. Never publishes. May take several minutes. After a timeout or interrupted write, inspect employee status and the returned thread history before retrying. Enter website credentials through the dedicated login operation or secure form, not the prompt.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Preparation reply, conversation ID and tool completion states
The request body, query, or path failed validation. See validationErrors.
The API key or session is missing, expired, or malformed.
The caller is authenticated but not allowed to perform this operation.
A resource referenced by the path does not exist or is not visible to the caller.
Unexpected server error.