Unable to add tracking field

I want to add tracking fields when creating a meeting, but even though I am sending the tracking fields inside the payload along with the topic, I am unable to see the tracking fields in the response.
Also I have given tracking field permission to my server to server app

 const createMeetingEndpoint = 'https://api.zoom.us/v2/users/me/meetings';
        const meetingData1 = {
            topic: 'change of topic',
            type: 2,
            settings: {
                approval_type: 0, 
                registration_type: 1,
                meeting_authentication: true,
            },
            tracking_fields: [
                {
                    field:'sessionid',
                    value: 0,
                    visible: true
                }
            ]
        };

        const meetingResponse = await axios.post(createMeetingEndpoint, meetingData1, {
            headers: {
                'Authorization': `Bearer ${accessToken}`,
                'Content-Type': 'application/json'
            }
        });

This is the response that i get

{
    "uuid": "T6GxG6VcR7CLVbD/gd27Bg==",
    "id": 92539577918,
    "host_id": "XuF6p54KQL6-oqJ5n1MTqw",
    "host_email": "zoom3@mastersunion.org",
    "topic": "change of topic",
    "type": 2,
    "status": "waiting",
    "start_time": "2024-08-06T11:11:58Z",
    "duration": 60,
    "timezone": "Asia/Calcutta",
    "created_at": "2024-08-06T11:11:58Z",
    "start_url": "https://zoom.us/s/92539577918?zak=eyJ0eXAiOiJKV1QiLCJzdiI6IjAwMDAwMSIsInptX3NrbSI6InptX28ybSIsImFsZyI6IkhTMjU2In0.eyJpc3MiOiJ3ZWIiLCJjbHQiOjAsIm1udW0iOiI5MjUzOTU3NzkxOCIsImF1ZCI6ImNsaWVudHNtIiwidWlkIjoiWHVGNnA1NEtRTDYtb3FKNW4xTVRxdyIsInppZCI6ImFhMWNiYzg1NjdhNzRiOGZhMjI2NzAyNjA5MDgzODFkIiwic2siOiIwIiwic3R5IjoxMDAsIndjZCI6ImF3MSIsImV4cCI6MTcyMjk0OTkxOCwiaWF0IjoxNzIyOTQyNzE4LCJhaWQiOiJpc1NURW1MZVQwNjZ5a0xDMldXNlh3IiwiY2lkIjoiIn0.IZ88QY99x6hGwTCWfhd1b6sSu4NnBjxoUwIBRK8uVMI",
    "join_url": "https://zoom.us/j/92539577918?pwd=oaFzil1arUabUTC7BalZviwXyQbgWZ.1",
    "registration_url": "https://zoom.us/meeting/register/tJYodOCtqTwjG9xKdwimLPcCGnNoC4hZGtVK",
    "password": "876786",
    "h323_password": "876786",
    "pstn_password": "876786",
    "encrypted_password": "oaFzil1arUabUTC7BalZviwXyQbgWZ.1",
    "settings": {
        "host_video": false,
        "participant_video": false,
        "cn_meeting": false,
        "in_meeting": false,
        "join_before_host": false,
        "jbh_time": 0,
        "mute_upon_entry": false,
        "watermark": false,
        "use_pmi": false,
        "approval_type": 0,
        "audio": "both",
        "auto_recording": "none",
        "enforce_login": true,
        "enforce_login_domains": "",
        "alternative_hosts": "",
        "alternative_host_update_polls": false,
        "close_registration": false,
        "show_share_button": true,
        "allow_multiple_devices": true,
        "registrants_confirmation_email": true,
        "waiting_room": true,
        "request_permission_to_unmute_participants": false,
        "global_dial_in_countries": [
            "US"
        ],
        "global_dial_in_numbers": [
            {
                "country_name": "US",
                "number": "+1 564 217 2000",
                "type": "toll",
                "country": "US"
            },
            {
                "country_name": "US",
                "number": "+1 646 931 3860",
                "type": "toll",
                "country": "US"
            },
            {
                "country_name": "US",
                "number": "+1 669 444 9171",
                "type": "toll",
                "country": "US"
            },
            {
                "country_name": "US",
                "city": "San Jose",
                "number": "+1 669 900 6833",
                "type": "toll",
                "country": "US"
            },
            {
                "country_name": "US",
                "number": "+1 689 278 1000",
                "type": "toll",
                "country": "US"
            },
            {
                "country_name": "US",
                "number": "+1 719 359 4580",
                "type": "toll",
                "country": "US"
            },
            {
                "country_name": "US",
                "city": "New York",
                "number": "+1 929 205 6099",
                "type": "toll",
                "country": "US"
            },
            {
                "country_name": "US",
                "number": "+1 253 205 0468",
                "type": "toll",
                "country": "US"
            },
            {
                "country_name": "US",
                "city": "Tacoma",
                "number": "+1 253 215 8782",
                "type": "toll",
                "country": "US"
            },
            {
                "country_name": "US",
                "city": "Washington DC",
                "number": "+1 301 715 8592",
                "type": "toll",
                "country": "US"
            },
            {
                "country_name": "US",
                "number": "+1 305 224 1968",
                "type": "toll",
                "country": "US"
            },
            {
                "country_name": "US",
                "number": "+1 309 205 3325",
                "type": "toll",
                "country": "US"
            },
            {
                "country_name": "US",
                "city": "Chicago",
                "number": "+1 312 626 6799",
                "type": "toll",
                "country": "US"
            },
            {
                "country_name": "US",
                "city": "Houston",
                "number": "+1 346 248 7799",
                "type": "toll",
                "country": "US"
            },
            {
                "country_name": "US",
                "number": "+1 360 209 5623",
                "type": "toll",
                "country": "US"
            },
            {
                "country_name": "US",
                "number": "+1 386 347 5053",
                "type": "toll",
                "country": "US"
            },
            {
                "country_name": "US",
                "number": "+1 507 473 4847",
                "type": "toll",
                "country": "US"
            }
        ],
        "registrants_email_notification": true,
        "meeting_authentication": true,
        "authentication_option": "signIn_isSTEmLeT066ykLC2WW6Xw",
        "authentication_name": "Sign in to Zoom",
        "authentication_domains": "",
        "encryption_type": "enhanced_encryption",
        "approved_or_denied_countries_or_regions": {
            "enable": false
        },
        "breakout_room": {
            "enable": false
        },
        "internal_meeting": false,
        "continuous_meeting_chat": {
            "enable": false,
            "auto_add_invited_external_users": false
        },
        "participant_focused_meeting": false,
        "push_change_to_calendar": false,
        "resources": [],
        "auto_start_meeting_summary": false,
        "auto_start_ai_companion_questions": false,
        "alternative_hosts_email_notification": true,
        "show_join_info": true,
        "device_testing": false,
        "focus_mode": false,
        "meeting_invitees": [],
        "enable_dedicated_group_chat": false,
        "private_meeting": false,
        "email_notification": true,
        "host_save_video_order": false,
        "sign_language_interpretation": {
            "enable": false
        },
        "email_in_attendee_report": false
    },
    "pre_schedule": false
}

Hi @zoom312 ,

Please see below for the correct formatting:

Documentation: Zoom Meeting API

Note, value should be a string, and there is no visible field.

Still I am unable to see tracking fields in response

const zoomAuth = async (sectionId) => {
    try {
        const accessToken = await getAccessToken();

        const createMeetingEndpoint = 'https://api.zoom.us/v2/users/me/meetings';
        const meetingData1 = {
            topic: 'PGP test 123',
            type: 2,
            settings: {
                approval_type: 0, 
                registration_type: 1,
                meeting_authentication: true,
            },
            tracking_fields: [
                {
                    field:'sessionid',
                    value: 'some random uuid',
                }
            ]
        };

        const meetingResponse = await axios.post(createMeetingEndpoint, meetingData1, {
            headers: {
                'Authorization': `Bearer ${accessToken}`,
                'Content-Type': 'application/json'
            }
        });

        const meetingId = meetingResponse.data.id;

        const sectionData = await Section.findOne({
            where: {
              uuid: sectionId,
              isDeleted: false,
            },
            attributes: ["id"],
          });

        const users = await User.findAll({
            attributes:['firstName',"lastName","officialEmail","mobileNumber" ],
            include:[{
                model: UserSection,
                where: {
                    sectionId: sectionData.id
                },
                attributes: []
            }]
        })

        console.log(users,"usersusers",users[0].firstName)

        for (const user of users) {
            const registrant = {
                email: user.officialEmail,
                first_name: user.firstName,
                last_name: user.lastName,
                phone: user.mobileNumber
            };

            const registrantResponse = await addRegistrant(meetingId, registrant, accessToken);
            console.log('Registrant added:', registrantResponse);
        }

        console.log('Meeting created:', meetingResponse.data);
        return meetingResponse.data;
    } catch (err) {
        console.error('Error creating meeting or adding registrant:', err);
        throw err;
    }
};

I also have provided all the permission of tracking fields in my app

here is the response I am getting

{
  uuid: "nWjmxKYdTHudXXd2JuN2gg==",
  id: 95959155702,
  host_id: "XuF6p54KQL6-oqJ5n1MTqw",
  host_email: "zoom3@mastersunion.org",
  topic: "PGP test 123",
  type: 2,
  status: "waiting",
  start_time: "2024-08-07T05:27:41Z",
  duration: 60,
  timezone: "Asia/Calcutta",
  created_at: "2024-08-07T05:27:41Z",
  start_url: "https://zoom.us/s/95959155702?zak=eyJ0eXAiOiJKV1QiLCJzdiI6IjAwMDAwMSIsInptX3NrbSI6InptX28ybSIsImFsZyI6IkhTMjU2In0.eyJpc3MiOiJ3ZWIiLCJjbHQiOjAsIm1udW0iOiI5NTk1OTE1NTcwMiIsImF1ZCI6ImNsaWVudHNtIiwidWlkIjoiWHVGNnA1NEtRTDYtb3FKNW4xTVRxdyIsInppZCI6Ijg1M2UyYzNhMWVkYzQ2YzU4N2E3ZGQ4MDE4MmYyMGM0Iiwic2siOiIwIiwic3R5IjoxMDAsIndjZCI6ImF3MSIsImV4cCI6MTcyMzAxNTY2MSwiaWF0IjoxNzIzMDA4NDYxLCJhaWQiOiJpc1NURW1MZVQwNjZ5a0xDMldXNlh3IiwiY2lkIjoiIn0.IGn4UvG96t9O9xxrr4H4UgO2dpRl70sckjB4nDkOCEQ",
  join_url: "https://zoom.us/j/95959155702?pwd=4eCGDtSbjz5sYDCT3GZDdBXNAxRf7C.1",
  registration_url: "https://zoom.us/meeting/register/tJEkcuCpqz4tGtZErUsXSMoB58d-HB6HmR7j",
  password: "039282",
  h323_password: "039282",
  pstn_password: "039282",
  encrypted_password: "4eCGDtSbjz5sYDCT3GZDdBXNAxRf7C.1",
  settings: {
    host_video: false,
    participant_video: false,
    cn_meeting: false,
    in_meeting: false,
    join_before_host: false,
    jbh_time: 0,
    mute_upon_entry: false,
    watermark: false,
    use_pmi: false,
    approval_type: 0,
    audio: "both",
    auto_recording: "none",
    enforce_login: true,
    enforce_login_domains: "",
    alternative_hosts: "",
    alternative_host_update_polls: false,
    close_registration: false,
    show_share_button: true,
    allow_multiple_devices: true,
    registrants_confirmation_email: true,
    waiting_room: true,
    request_permission_to_unmute_participants: false,
    global_dial_in_countries: [
      "US",
    ],
    global_dial_in_numbers: [
      {
        country_name: "US",
        number: "+1 309 205 3325",
        type: "toll",
        country: "US",
      },
      {
        country_name: "US",
        city: "Chicago",
        number: "+1 312 626 6799",
        type: "toll",
        country: "US",
      },
      {
        country_name: "US",
        city: "Houston",
        number: "+1 346 248 7799",
        type: "toll",
        country: "US",
      },
      {
        country_name: "US",
        number: "+1 360 209 5623",
        type: "toll",
        country: "US",
      },
      {
        country_name: "US",
        number: "+1 386 347 5053",
        type: "toll",
        country: "US",
      },
      {
        country_name: "US",
        number: "+1 507 473 4847",
        type: "toll",
        country: "US",
      },
      {
        country_name: "US",
        number: "+1 564 217 2000",
        type: "toll",
        country: "US",
      },
      {
        country_name: "US",
        number: "+1 646 931 3860",
        type: "toll",
        country: "US",
      },
      {
        country_name: "US",
        number: "+1 669 444 9171",
        type: "toll",
        country: "US",
      },
      {
        country_name: "US",
        city: "San Jose",
        number: "+1 669 900 6833",
        type: "toll",
        country: "US",
      },
      {
        country_name: "US",
        number: "+1 689 278 1000",
        type: "toll",
        country: "US",
      },
      {
        country_name: "US",
        number: "+1 719 359 4580",
        type: "toll",
        country: "US",
      },
      {
        country_name: "US",
        city: "New York",
        number: "+1 929 205 6099",
        type: "toll",
        country: "US",
      },
      {
        country_name: "US",
        number: "+1 253 205 0468",
        type: "toll",
        country: "US",
      },
      {
        country_name: "US",
        city: "Tacoma",
        number: "+1 253 215 8782",
        type: "toll",
        country: "US",
      },
      {
        country_name: "US",
        city: "Washington DC",
        number: "+1 301 715 8592",
        type: "toll",
        country: "US",
      },
      {
        country_name: "US",
        number: "+1 305 224 1968",
        type: "toll",
        country: "US",
      },
    ],
    registrants_email_notification: true,
    meeting_authentication: true,
    authentication_option: "signIn_isSTEmLeT066ykLC2WW6Xw",
    authentication_name: "Sign in to Zoom",
    authentication_domains: "",
    encryption_type: "enhanced_encryption",
    approved_or_denied_countries_or_regions: {
      enable: false,
    },
    breakout_room: {
      enable: false,
    },
    internal_meeting: false,
    continuous_meeting_chat: {
      enable: false,
      auto_add_invited_external_users: false,
    },
    participant_focused_meeting: false,
    push_change_to_calendar: false,
    resources: [
    ],
    auto_start_meeting_summary: false,
    auto_start_ai_companion_questions: false,
    alternative_hosts_email_notification: true,
    show_join_info: true,
    device_testing: false,
    focus_mode: false,
    meeting_invitees: [
    ],
    enable_dedicated_group_chat: false,
    private_meeting: false,
    email_notification: true,
    host_save_video_order: false,
    sign_language_interpretation: {
      enable: false,
    },
    email_in_attendee_report: false,
  },
  pre_schedule: false,
}

Hi @zoom312 ,

I think I misinformed you due to documentation inconsistency. In the example for the schema, visible is there, but it is like there:
image

Please add it back and try and make sure there is no comma after "visible": true .

Will this work on pro account or do I need to get Bussiness account

You can use the create a meeting endpoint with a free account, but for the tracking field endpoints, I see business listed as a prerequisite:

I am not able to test for sure as my testing accounts have all licensing. Was create a meeting endpoint able to work for you with the last suggestion?