admin

Duplicate Question

Duplicate an existing question template. Optionally change product type or add prefix to question text. Requires admin privileges.

post/admin/questions/{question_id}/duplicate

Request

  • Base URL
    https://api.threadchain.pro (the document declares no server; this is the origin it was published from)
  • Auth
    OAuth 2
    Password
    Token URL: auth/token

Path parameters

question_idstring uuid required

Request body

new_product_type'jewelry' | 'clothes'
prefix_textstring nullable

Add prefix to question text

Response

Successful Response

product_type'jewelry' | 'clothes' required
phasestring required
question_textstring required
input_type'text' | 'yes_no' | 'multiple_choice' | 'file_upload' | 'number' | 'textarea' | 'checkbox' required
validation_rulesobject nullable
orderinteger required
depends_on_question_idstring uuid nullable
depends_on_answerstring nullable
placeholderstring nullable
help_textstring nullable
help_display'link' | 'inline'
idstring uuid required
created_atstring date-time required

Example response

{
  "question_text": "What size do you need?"
}

Changes

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