Inbox
Detect inbox thread language again
Access
Member of the organization with this permission:
inbox:write
An API key with scopes also needs the permission among its scopes.
POST
Clears the language stored on the thread and detects it again from the guest's recent messages, translating them into the organization language.
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
id*stringLength
1 <= lengthThread language detected
application/json- response
translatedCount*integerRange
0 <= value <= 9007199254740991detectedLocales*array<string>curl -X POST 'https://api.tillor.eu/orgs//inbox/threads/string/detect-language'Example Response
{ "translatedCount": 0, "detectedLocales": [ "string" ]}