# API endpoint response differs from documentation

**URL:** <https://devforum.zoom.us/t/api-endpoint-response-differs-from-documentation/89821>\
**Category:** API and Webhooks\
**Created:** [June 8, 2023, 7:39am UTC](https://devforum.zoom.us/t/api-endpoint-response-differs-from-documentation/89821 "2023-06-08T07:39:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrea.bonanno](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/andrea.bonanno/32/48866_2.png) [@andrea.bonanno](https://devforum.zoom.us/u/andrea.bonanno)\
**Post date:** [June 8, 2023, 7:39am UTC](https://devforum.zoom.us/t/api-endpoint-response-differs-from-documentation/89821/1 "2023-06-08T07:39:36Z")

</div>

Hello,  
here the issue I noticed and steps to recreate it:

Set the meeting security option from the Zoom Web GUI as it follows:

Passcode Requirement:

- Set the Flag “Cannot contain consecutive characters (e.g. “11111”, “12345”, “abcde”, or “qwert”)”

- Set the option **“Specify the length of consecutive characters” to 4**

Then Perform an API call to **GET /users/{userId}/settings?option=meeting\_security** for the same User just configured.

Output is:

```auto
{
    "meeting_security": {
        "approved_or_denied_countries_or_regions": {
            "enable": false
        },
        "auto_security": true,
        "block_user_domain": false,
        "embed_password_in_join_link": true,
        "meeting_password": true,
        "meeting_password_requirement": {
            "consecutive_characters_length": 0,
            "have_letter": false,
            "have_number": false,
            "have_special_character": false,
            "have_upper_and_lower_characters": false,
            "length": 6,
            "only_allow_numeric": true,
            "weak_enhance_detection": false
        },
        "only_authenticated_can_join_from_webclient": false,
        "password_for_pmi": "735348",
        "phone_password": true,
        "pmi_password": true,
        "require_password_for_scheduled_meeting": false,
        "require_password_for_scheduled_webinar": false,
        "waiting_room": false,
        "waiting_room_settings": {
            "participants_to_place_in_waiting_room": 0
        },
        "webinar_password": true
    }
}

```

The expected output should be:

```auto
{
    "meeting_security": {
        "approved_or_denied_countries_or_regions": {
            "enable": false
        },
        "auto_security": true,
        "block_user_domain": false,
        "embed_password_in_join_link": true,
        "meeting_password": true,
        "meeting_password_requirement": {
            "consecutive_characters_length": 4,
            "have_letter": false,
            "have_number": false,
            "have_special_character": false,
            "have_upper_and_lower_characters": false,
            "length": 6,
            "only_allow_numeric": true,
            "weak_enhance_detection": false
        },
        "only_authenticated_can_join_from_webclient": false,
        "password_for_pmi": "735348",
        "phone_password": true,
        "pmi_password": true,
        "require_password_for_scheduled_meeting": false,
        "require_password_for_scheduled_webinar": false,
        "waiting_room": false,
        "waiting_room_settings": {
            "participants_to_place_in_waiting_room": 0
        },
        "webinar_password": true
    }
}

```

_consecutive\_characters\_length_ is registered as 0 while the expected value should be 4

Thanks for the support,  
Andrea Bonanno

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [June 10, 2024, 11:16pm UTC](https://devforum.zoom.us/t/api-endpoint-response-differs-from-documentation/89821/2 "2024-06-10T23:16:10Z")

</div>

This topic was automatically closed 368 days after the last reply. New replies are no longer allowed.
