Inbox
Generate AI draft reply
Accès
Membre de l’organisation avec cette autorisation :
inbox:write
Une clé API avec des scopes doit aussi avoir l’autorisation dans ses scopes.
POST
Generates an AI assistant draft reply to the latest visitor message for staff to review before sending.
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
id*stringLength
1 <= lengthAI draft reply generated
application/json- response
reply*string|nullreason?stringcurl -X POST 'https://api.tillor.eu/orgs//inbox/threads/string/generate-ai-draft-reply'Example Response
{ "reply": "string", "reason": "string"}