Inbox
Detect inbox thread language again
Dostęp
Członek organizacji z tym uprawnieniem:
inbox:write
Klucz API z zakresami potrzebuje też tego uprawnienia w swoich zakresach.
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" ]}