saveCaptureQuestions

Add new questions in Cleeng Capture for given broadcaster

Parameters

Name

Type

Description

publisherToken*

string

You can find your publisher token at api-keys page.

questions*

array

Array of questions. Question object fields: key, required, enabled, enabledByDefault, value, question

Request

{
    "method":"saveCaptureQuestions",
    "params":{
        "publisherToken":"qVPHnM62jjQj-4h4vWj5EiykMOmFP3M2HUMPApzsnEPVcWg1",
        "questions": [
            {"key":"custom_1", "required":true, "enabled":true, "enabledByDefault":true, "value":"value", "question":"Question1?"},
            {"key":"custom_2", "required":false, "enabled":false, "enabledByDefault":false, "value":"value2", "question":"Question2?"}
        ]
    },
    "id":1,"json-rpc":"2.0"
}

Response

{
    "result": {
        "success": true
    },
    "id": "1"
}