messenger

Translate messenger texts

Translates the messenger's texts from one language (from, a BCP 47 tag) into another (to) with AI, one translation per text in order. A text may hold the inline markup a starter prompt carries, which comes back as it went. Up to 4000 bytes a text and 20,000 in all. Nothing is stored: write the result with the messenger's settings. Answers 402 with AI_DISABLED or AI_LIMIT_REACHED when the AI add-on is off or at a limit.

post/v1/projects/{projectId}/messenger/translations

Request

  • Base URL: https://api.prodantix.com
  • URL: https://api.prodantix.com/v1/projects/{projectId}/messenger/translations
  • Auth: HTTP bearer

Path parameters

projectIdstring required

The project whose messenger this is

Request body

fromstring required
tostring required
textsstring[] required

Response

One translation per text, in order

textsstring[] required

Changes

No recorded changes to this operation across all 1 revision of this API.