Create a question translation

Adds a translation of a question in one language and republishes the survey's call routing. Validation requires language, a nonblank question_text and a question_actions array in which every action has a nonblank app, while the actions actually stored come from custom_actions — send both. A language the question is already translated into is rejected with 409. No audio is generated here, and access is decided by the survey the question actually belongs to rather than the survey ID in the path.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The survey's UUID. Present for consistency; it is not checked against the question.

string
required

UUID of the question to translate. Its own parent survey decides access.

Body Params
string
required

Language code for the translation, as en or en-US. Required.

string
required

The question as the caller hears it in this language. Required and nonblank.

question_actions
array of objects
required

Required by validation: an array of actions, each with a nonblank app. An empty array passes. This is not what gets stored — see custom_actions.

question_actions*
custom_actions
array of objects

The actions actually written with the translation, each with an app. Defaults to an empty array, and does not satisfy the question_actions requirement.

custom_actions
string | null

Filename of an existing recording to attach. Defaults to none.

string | null

UUID of an existing recording to attach. Defaults to none.

Responses

401

Missing or invalid API key.

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json