Inbox
Generate AI draft reply
Access
Member of the organization with this permission:
inbox:write
An API key with scopes also needs the permission among its 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"}