Skip to Content
Inbox

Detect inbox thread language again

Toegang

Lid van de organisatie met dit recht:

  • inbox:write

Een API-sleutel met scopes heeft het recht ook in zijn scopes nodig.

POST
/orgs/{organizationId}/inbox/threads/{id}/detect-language

Clears the language stored on the thread and detects it again from the guest's recent messages, translating them into the organization language.

Authorization

ApiKeyAuth
headerx-api-key<token>

API key for authentication

Path Parameters

organizationId*string

The ID or slug of the organization

id*string
Length1 <= length

Response Body

Thread language detected

application/json
  1. response
translatedCount*integer
Range0 <= value <= 9007199254740991
detectedLocales*array<string>
Example Request
curl -X POST 'https://api.tillor.eu/orgs//inbox/threads/string/detect-language'
Example Response
{  "translatedCount": 0,  "detectedLocales": [    "string"  ]}