Inbox
Detect inbox thread language again
Acesso
Membro da organização com esta permissão:
inbox:write
Uma chave de API com scopes também precisa da permissão nos seus 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" ]}