Inbox

Preview outbound inbox translation

POST
/orgs/{organizationId}/inbox/threads/{threadId}/preview-outbound-translation

Translates a draft reply into the contact's language so staff can review it before sending.

Authorization

ApiKeyAuth
headerx-api-key<token>

API key for authentication

Path Parameters

organizationId*string

The ID or slug of the organization

threadId*string
Length1 <= length

Request Body

application/json
  1. body
body*string
Length1 <= length <= 4096

Response Body

Outbound translation preview

application/json
  1. response
needed*boolean
sameLanguage*boolean
sourceLocale*string
targetLocale*string
translatedBody*string|null
sourceLanguageName*string
targetLanguageName*string
curl -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"}