Inbox
Preview outbound inbox translation
POST
Translates a draft reply into the contact's language so staff can review it before sending.
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
threadId*stringLength
1 <= lengthapplication/json- body
body*stringLength
1 <= length <= 4096Outbound translation preview
application/json- response
needed*booleansameLanguage*booleansourceLocale*stringtargetLocale*stringtranslatedBody*string|nullsourceLanguageName*stringtargetLanguageName*stringcurl -X POST 'https://api.tillor.eu/orgs/string/inbox/threads/string/preview-outbound-translation' \ -H 'Content-Type: application/json' \ -d '{ "body": "string"}'{ "needed": true, "sameLanguage": true, "sourceLocale": "string", "targetLocale": "string", "translatedBody": "string", "sourceLanguageName": "string", "targetLanguageName": "string"}