Suggest a reply
Rewrites your draft into a suggested reply using the chat's history. Nothing is sent — you get text back to send yourself.
Authorization
AuthorizationstringrequiredBearer token — Send your API token in the Authorization header as Bearer <token>. Requests without a valid token are rejected with 401 Unauthorized.
Path parameters
chatIdstringrequiredThe chat whose history the suggestion is based on.
example: 1830472847398404096
Body
application/json
myTextstringrequiredYour draft. Must not be empty.
example: plumber thursday 9-11
Response
200 · The suggestion.
suggestedTextstringThe rewritten reply. Absent when the AI could not produce one.
failedbooleantrue when no suggestion could be produced.