fetchCaptureQuestions

Fetch list of Cleeng Capture questions for given broadcaster

Parameters

Name

Type

Description

publisherToken*

string

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

Response

{
    "result": [
        {
            "key": "email",
            "enabled": false,
            "required": true
        },
        {
            "key": "firstNameLastName",
            "enabled": true,
            "required": false
        },
        {
            "key": "birthDate",
            "enabled": false,
            "required": false
        },
        {
            "key": "companyName",
            "enabled": false,
            "required": false
        },
        {
            "key": "phoneNumber",
            "enabled": false,
            "required": false
        },
        {
            "key": "address",
            "enabled": false,
            "required": false
        },
        {
            "key": "marketingOptIn",
            "enabled": false,
            "enabledByDefault": false,
            "value": ""
        },
        {
            "key": "terms",
            "enabled": false,
            "enabledByDefault": false,
            "value": ""
        },
        {
            "key": "custom_1",
            "enabled": true,
            "required": true,
            "value": "value1",
            "question": "Custom question?"
        },
        {
            "key": "custom_2",
            "enabled": false,
            "required": false,
            "value": "value2",
            "question": "Custom question2?"
        }
    ],
    "id": "1"
}