Chilkat Online Tools

C / Zoom API / Add a webinar registrant

Back to Collection Items

#include <C_CkHttp.h>
#include <C_CkHttpRequest.h>
#include <C_CkHttpResponse.h>
#include <C_CkStringBuilder.h>
#include <C_CkJsonObject.h>

void ChilkatSample(void)
    {
    HCkHttp http;
    BOOL success;
    HCkHttpRequest req;
    HCkHttpResponse resp;
    HCkStringBuilder sbResponseBody;
    HCkJsonObject jResp;
    int respStatusCode;
    const char *registrant_id;
    const char *id;
    const char *topic;
    const char *start_time;
    const char *join_url;

    // This example assumes the Chilkat API to have been previously unlocked.
    // See Global Unlock Sample for sample code.

    http = CkHttp_Create();

    req = CkHttpRequest_Create();
    CkHttpRequest_putHttpVerb(req,"POST");
    CkHttpRequest_putPath(req,"/");
    CkHttpRequest_putContentType(req,"multipart/form-data");
    CkHttpRequest_AddParam(req,"email","ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpb");

    CkHttpRequest_AddParam(req,"first_name","ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostrud");

    CkHttpRequest_AddParam(req,"status","ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenied");

    CkHttpRequest_AddParam(req,"last_name","ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniam");

    CkHttpRequest_AddParam(req,"address","ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor min");

    CkHttpRequest_AddParam(req,"city","ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt labore");

    CkHttpRequest_AddParam(req,"country","ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididunt");

    CkHttpRequest_AddParam(req,"zip","ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit do");

    CkHttpRequest_AddParam(req,"state","ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit dosint reprehenderit");

    CkHttpRequest_AddParam(req,"phone","ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit dosint reprehenderitdeserunt ut pariatur consequat");

    CkHttpRequest_AddParam(req,"industry","ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit dosint reprehenderitdeserunt ut pariatur consequatea in");

    CkHttpRequest_AddParam(req,"org","ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit dosint reprehenderitdeserunt ut pariatur consequatea intempor");

    CkHttpRequest_AddParam(req,"job_title","ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit dosint reprehenderitdeserunt ut pariatur consequatea intempordolore id mollit");

    CkHttpRequest_AddParam(req,"purchasing_time_frame","ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit dosint reprehenderitdeserunt ut pariatur consequatea intempordolore id mollitWithin a month");

    CkHttpRequest_AddParam(req,"role_in_purchase_process","ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit dosint reprehenderitdeserunt ut pariatur consequatea intempordolore id mollitWithin a month");

    CkHttpRequest_AddParam(req,"no_of_employees","ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit dosint reprehenderitdeserunt ut pariatur consequatea intempordolore id mollitWithin a month5,001-10,000");

    CkHttpRequest_AddParam(req,"comments","ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit dosint reprehenderitdeserunt ut pariatur consequatea intempordolore id mollitWithin a month5,001-10,000est veniam nostrud ut");

    CkHttpRequest_AddParam(req,"custom_questions","ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit dosint reprehenderitdeserunt ut pariatur consequatea intempordolore id mollitWithin a month5,001-10,000est veniam nostrud ut[{\"title\":\"Ut ut\",\"value\":\"dolore mollit\"},{\"title\":\"do officia ex pariatur\",\"value\":\"proident\"}]");

    CkHttpRequest_AddHeader(req,"Authorization","Bearer <access_token>");

    resp = CkHttp_SynchronousRequest(http,"reprehenderit",80,FALSE,req);
    if (CkHttp_getLastMethodSuccess(http) == FALSE) {
        printf("%s\n",CkHttp_lastErrorText(http));
        CkHttp_Dispose(http);
        CkHttpRequest_Dispose(req);
        return;
    }

    sbResponseBody = CkStringBuilder_Create();
    CkHttpResponse_GetBodySb(resp,sbResponseBody);

    jResp = CkJsonObject_Create();
    CkJsonObject_LoadSb(jResp,sbResponseBody);
    CkJsonObject_putEmitCompact(jResp,FALSE);

    printf("Response Body:\n");
    printf("%s\n",CkJsonObject_emit(jResp));

    respStatusCode = CkHttpResponse_getStatusCode(resp);
    printf("Response Status Code = %d\n",respStatusCode);
    if (respStatusCode >= 400) {
        printf("Response Header:\n");
        printf("%s\n",CkHttpResponse_header(resp));
        printf("Failed.\n");
        CkHttpResponse_Dispose(resp);
        CkHttp_Dispose(http);
        CkHttpRequest_Dispose(req);
        CkStringBuilder_Dispose(sbResponseBody);
        CkJsonObject_Dispose(jResp);
        return;
    }

    CkHttpResponse_Dispose(resp);

    // Sample JSON response:
    // (Sample code for parsing the JSON response is shown below)

    // {
    //   "registrant_id": "culpa deserunt ea est commodo",
    //   "id": "velit dolore minim Ut",
    //   "topic": "et laboris Lorem in Ut",
    //   "start_time": "1974-02-26T23:01:16.899Z",
    //   "join_url": "pariatur"
    // }

    // Sample code for parsing the JSON response...
    // Use this online tool to generate parsing code from sample JSON: Generate JSON Parsing Code

    // Chilkat functions returning "const char *" return a pointer to temporary internal memory owned and managed by Chilkat.

    registrant_id = CkJsonObject_stringOf(jResp,"registrant_id");
    id = CkJsonObject_stringOf(jResp,"id");
    topic = CkJsonObject_stringOf(jResp,"topic");
    start_time = CkJsonObject_stringOf(jResp,"start_time");
    join_url = CkJsonObject_stringOf(jResp,"join_url");


    CkHttp_Dispose(http);
    CkHttpRequest_Dispose(req);
    CkStringBuilder_Dispose(sbResponseBody);
    CkJsonObject_Dispose(jResp);

    }

Curl Command

curl -X POST
	-H "Authorization: Bearer <access_token>"
	-H "Content-Type: multipart/form-data"
	--form 'email=ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpb'
	--form 'first_name=ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostrud'
	--form 'status=ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenied'
	--form 'last_name=ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniam'
	--form 'address=ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor min'
	--form 'city=ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt labore'
	--form 'country=ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididunt'
	--form 'zip=ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit do'
	--form 'state=ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit dosint reprehenderit'
	--form 'phone=ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit dosint reprehenderitdeserunt ut pariatur consequat'
	--form 'industry=ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit dosint reprehenderitdeserunt ut pariatur consequatea in'
	--form 'org=ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit dosint reprehenderitdeserunt ut pariatur consequatea intempor'
	--form 'job_title=ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit dosint reprehenderitdeserunt ut pariatur consequatea intempordolore id mollit'
	--form 'purchasing_time_frame=ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit dosint reprehenderitdeserunt ut pariatur consequatea intempordolore id mollitWithin a month'
	--form 'role_in_purchase_process=ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit dosint reprehenderitdeserunt ut pariatur consequatea intempordolore id mollitWithin a month'
	--form 'no_of_employees=ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit dosint reprehenderitdeserunt ut pariatur consequatea intempordolore id mollitWithin a month5,001-10,000'
	--form 'comments=ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit dosint reprehenderitdeserunt ut pariatur consequatea intempordolore id mollitWithin a month5,001-10,000est veniam nostrud ut'
	--form 'custom_questions=ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididuntexercitation Duis elit dosint reprehenderitdeserunt ut pariatur consequatea intempordolore id mollitWithin a month5,001-10,000est veniam nostrud ut[{"title":"Ut ut","value":"dolore mollit"},{"title":"do officia ex pariatur","value":"proident"}]'
https://api.zoom.us/v2/webinars/:webinarId/registrants?occurrence_ids=quis officia in reprehenderit

Postman Collection Item JSON

{
  "name": "Add a webinar registrant",
  "request": {
    "auth": {
      "type": "oauth2"
    },
    "method": "POST",
    "header": [
      {
        "key": "Content-Type",
        "value": "multipart/form-data"
      }
    ],
    "body": {
      "mode": "formdata",
      "formdata": [
        {
          "key": "email",
          "value": "ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpb",
          "type": "text"
        },
        {
          "key": "first_name",
          "value": "in Lorem nostrud",
          "type": "text"
        },
        {
          "key": "status",
          "value": "denied",
          "type": "text"
        },
        {
          "key": "last_name",
          "value": "deserunt veniam",
          "type": "text"
        },
        {
          "key": "address",
          "value": "cupidatat tempor min",
          "type": "text"
        },
        {
          "key": "city",
          "value": "ut deserunt labore",
          "type": "text"
        },
        {
          "key": "country",
          "value": "mollit incididunt",
          "type": "text"
        },
        {
          "key": "zip",
          "value": "exercitation Duis elit do",
          "type": "text"
        },
        {
          "key": "state",
          "value": "sint reprehenderit",
          "type": "text"
        },
        {
          "key": "phone",
          "value": "deserunt ut pariatur consequat",
          "type": "text"
        },
        {
          "key": "industry",
          "value": "ea in",
          "type": "text"
        },
        {
          "key": "org",
          "value": "tempor",
          "type": "text"
        },
        {
          "key": "job_title",
          "value": "dolore id mollit",
          "type": "text"
        },
        {
          "key": "purchasing_time_frame",
          "value": "Within a month",
          "type": "text"
        },
        {
          "key": "role_in_purchase_process",
          "value": "",
          "type": "text"
        },
        {
          "key": "no_of_employees",
          "value": "5,001-10,000",
          "type": "text"
        },
        {
          "key": "comments",
          "value": "est veniam nostrud ut",
          "type": "text"
        },
        {
          "key": "custom_questions",
          "value": "[{\"title\":\"Ut ut\",\"value\":\"dolore mollit\"},{\"title\":\"do officia ex pariatur\",\"value\":\"proident\"}]",
          "type": "text"
        }
      ]
    },
    "url": {
      "raw": "{{baseUrl}}/webinars/:webinarId/registrants?occurrence_ids=quis officia in reprehenderit",
      "host": [
        "{{baseUrl}}"
      ],
      "path": [
        "webinars",
        ":webinarId",
        "registrants"
      ],
      "query": [
        {
          "key": "occurrence_ids",
          "value": "quis officia in reprehenderit",
          "description": "Occurrence ID. Get this value from the webinar get API. Multiple values separated by a comma."
        }
      ],
      "variable": [
        {
          "key": "webinarId",
          "value": "68423085",
          "description": "(Required) The webinar's ID."
        }
      ]
    },
    "description": "Zoom users with a [Webinar Plan](https://zoom.us/webinar) have access to creating and managing Webinars. Webinar allows a host to broadcast a Zoom meeting to up to 10,000 attendees. Scheduling a [Webinar with registration](https://support.zoom.us/hc/en-us/articles/204619915-Scheduling-a-Webinar-with-Registration) requires your registrants to complete a brief form before receiving the link to join the Webinar.<br>Use this API to create and submit the registration of a user for a webinar.<br><br>\n**Scopes:** `webinar:write:admin` `webinar:write`<br>\n \n **[Rate Limit Label](https://marketplace.zoom.us/docs/api-reference/rate-limits#rate-limits):** `Light`<br>\n**Prerequisites:**\n* Pro or higher plan with a Webinar Add-on."
  },
  "response": [
    {
      "name": "**HTTP Status Code:** `201`<br>\nRegistration created.",
      "originalRequest": {
        "method": "POST",
        "header": [
          {
            "description": "Added as a part of security scheme: oauth2",
            "key": "Authorization",
            "value": "<token>"
          }
        ],
        "body": {
          "mode": "formdata",
          "formdata": [
            {
              "key": "email",
              "value": "3uEtro@SmjrkWvqtnwJtizhCgFKllyfwdy.xuf",
              "type": "text"
            },
            {
              "key": "first_name",
              "value": "nulla cillum",
              "type": "text"
            },
            {
              "key": "status",
              "value": "pending",
              "type": "text"
            },
            {
              "key": "last_name",
              "value": "et minim",
              "type": "text"
            },
            {
              "key": "address",
              "value": "do esse",
              "type": "text"
            },
            {
              "key": "city",
              "value": "occaecat eiusmod cillum cupidatat",
              "type": "text"
            },
            {
              "key": "country",
              "value": "nisi magna reprehenderit dolor cillum",
              "type": "text"
            },
            {
              "key": "zip",
              "value": "nisi",
              "type": "text"
            },
            {
              "key": "state",
              "value": "amet ullamco proident Excepteur",
              "type": "text"
            },
            {
              "key": "phone",
              "value": "sit",
              "type": "text"
            },
            {
              "key": "industry",
              "value": "sit id Ut",
              "type": "text"
            },
            {
              "key": "org",
              "value": "nisi",
              "type": "text"
            },
            {
              "key": "job_title",
              "value": "enim dolor occaecat in",
              "type": "text"
            },
            {
              "key": "purchasing_time_frame",
              "value": "Within a month",
              "type": "text"
            },
            {
              "key": "role_in_purchase_process",
              "value": "Evaluator/Recommender",
              "type": "text"
            },
            {
              "key": "no_of_employees",
              "value": "5,001-10,000",
              "type": "text"
            },
            {
              "key": "comments",
              "value": "nostrud ",
              "type": "text"
            },
            {
              "key": "custom_questions",
              "value": "[{\"title\":\"eu in veniam\",\"value\":\"qui laborum\"},{\"title\":\"in qui irure\",\"value\":\"qui nostr\"}]",
              "type": "text"
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/webinars/:webinarId/registrants?occurrence_ids=quis officia in reprehenderit",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "webinars",
            ":webinarId",
            "registrants"
          ],
          "query": [
            {
              "key": "occurrence_ids",
              "value": "quis officia in reprehenderit"
            }
          ],
          "variable": [
            {
              "key": "webinarId",
              "value": "68423085",
              "description": "(Required) The webinar's ID."
            }
          ]
        }
      },
      "status": "Created",
      "code": 201,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "{\n \"registrant_id\": \"culpa deserunt ea est commodo\",\n \"id\": \"velit dolore minim Ut\",\n \"topic\": \"et laboris Lorem in Ut\",\n \"start_time\": \"1974-02-26T23:01:16.899Z\",\n \"join_url\": \"pariatur\"\n}"
    },
    {
      "name": "**HTTP Status Code:** `300`<br>Invalid webinar ID. <br>\nInvalid parameter: occurrence_ids.<br>\nInvalid user name.",
      "originalRequest": {
        "method": "POST",
        "header": [
          {
            "description": "Added as a part of security scheme: oauth2",
            "key": "Authorization",
            "value": "<token>"
          }
        ],
        "body": {
          "mode": "formdata",
          "formdata": [
            {
              "key": "email",
              "value": "3uEtro@SmjrkWvqtnwJtizhCgFKllyfwdy.xuf",
              "type": "text"
            },
            {
              "key": "first_name",
              "value": "nulla cillum",
              "type": "text"
            },
            {
              "key": "status",
              "value": "pending",
              "type": "text"
            },
            {
              "key": "last_name",
              "value": "et minim",
              "type": "text"
            },
            {
              "key": "address",
              "value": "do esse",
              "type": "text"
            },
            {
              "key": "city",
              "value": "occaecat eiusmod cillum cupidatat",
              "type": "text"
            },
            {
              "key": "country",
              "value": "nisi magna reprehenderit dolor cillum",
              "type": "text"
            },
            {
              "key": "zip",
              "value": "nisi",
              "type": "text"
            },
            {
              "key": "state",
              "value": "amet ullamco proident Excepteur",
              "type": "text"
            },
            {
              "key": "phone",
              "value": "sit",
              "type": "text"
            },
            {
              "key": "industry",
              "value": "sit id Ut",
              "type": "text"
            },
            {
              "key": "org",
              "value": "nisi",
              "type": "text"
            },
            {
              "key": "job_title",
              "value": "enim dolor occaecat in",
              "type": "text"
            },
            {
              "key": "purchasing_time_frame",
              "value": "Within a month",
              "type": "text"
            },
            {
              "key": "role_in_purchase_process",
              "value": "Evaluator/Recommender",
              "type": "text"
            },
            {
              "key": "no_of_employees",
              "value": "5,001-10,000",
              "type": "text"
            },
            {
              "key": "comments",
              "value": "nostrud ",
              "type": "text"
            },
            {
              "key": "custom_questions",
              "value": "[{\"title\":\"eu in veniam\",\"value\":\"qui laborum\"},{\"title\":\"in qui irure\",\"value\":\"qui nostr\"}]",
              "type": "text"
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/webinars/:webinarId/registrants?occurrence_ids=quis officia in reprehenderit",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "webinars",
            ":webinarId",
            "registrants"
          ],
          "query": [
            {
              "key": "occurrence_ids",
              "value": "quis officia in reprehenderit"
            }
          ],
          "variable": [
            {
              "key": "webinarId",
              "value": "68423085",
              "description": "(Required) The webinar's ID."
            }
          ]
        }
      },
      "status": "Multiple Choices",
      "code": 300,
      "_postman_previewlanguage": "text",
      "header": [
        {
          "key": "Content-Type",
          "value": "text/plain"
        }
      ],
      "cookie": [
      ],
      "body": ""
    },
    {
      "name": "**HTTP Status Code:** `400`<br>\nBad request<br>\n**Error Code:** `1010`<br>\nUser does not belong to this account:{accountId}.<br>\n**Error Code:** `3000`<br>\nThis webinar does not have registration as required:{webinarId}.<br>\n**Error Code:** `3027`<br>\nHos",
      "originalRequest": {
        "method": "POST",
        "header": [
          {
            "description": "Added as a part of security scheme: oauth2",
            "key": "Authorization",
            "value": "<token>"
          }
        ],
        "body": {
          "mode": "formdata",
          "formdata": [
            {
              "key": "email",
              "value": "3uEtro@SmjrkWvqtnwJtizhCgFKllyfwdy.xuf",
              "type": "text"
            },
            {
              "key": "first_name",
              "value": "nulla cillum",
              "type": "text"
            },
            {
              "key": "status",
              "value": "pending",
              "type": "text"
            },
            {
              "key": "last_name",
              "value": "et minim",
              "type": "text"
            },
            {
              "key": "address",
              "value": "do esse",
              "type": "text"
            },
            {
              "key": "city",
              "value": "occaecat eiusmod cillum cupidatat",
              "type": "text"
            },
            {
              "key": "country",
              "value": "nisi magna reprehenderit dolor cillum",
              "type": "text"
            },
            {
              "key": "zip",
              "value": "nisi",
              "type": "text"
            },
            {
              "key": "state",
              "value": "amet ullamco proident Excepteur",
              "type": "text"
            },
            {
              "key": "phone",
              "value": "sit",
              "type": "text"
            },
            {
              "key": "industry",
              "value": "sit id Ut",
              "type": "text"
            },
            {
              "key": "org",
              "value": "nisi",
              "type": "text"
            },
            {
              "key": "job_title",
              "value": "enim dolor occaecat in",
              "type": "text"
            },
            {
              "key": "purchasing_time_frame",
              "value": "Within a month",
              "type": "text"
            },
            {
              "key": "role_in_purchase_process",
              "value": "Evaluator/Recommender",
              "type": "text"
            },
            {
              "key": "no_of_employees",
              "value": "5,001-10,000",
              "type": "text"
            },
            {
              "key": "comments",
              "value": "nostrud ",
              "type": "text"
            },
            {
              "key": "custom_questions",
              "value": "[{\"title\":\"eu in veniam\",\"value\":\"qui laborum\"},{\"title\":\"in qui irure\",\"value\":\"qui nostr\"}]",
              "type": "text"
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/webinars/:webinarId/registrants?occurrence_ids=quis officia in reprehenderit",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "webinars",
            ":webinarId",
            "registrants"
          ],
          "query": [
            {
              "key": "occurrence_ids",
              "value": "quis officia in reprehenderit"
            }
          ],
          "variable": [
            {
              "key": "webinarId",
              "value": "68423085",
              "description": "(Required) The webinar's ID."
            }
          ]
        }
      },
      "status": "Bad Request",
      "code": 400,
      "_postman_previewlanguage": "text",
      "header": [
        {
          "key": "Content-Type",
          "value": "text/plain"
        }
      ],
      "cookie": [
      ],
      "body": ""
    },
    {
      "name": "**HTTP Status Code:** `404`<br>\nWebinar not found.<br>\n**Error Code:** `1001`<br>\nUser {userId} does not exist or does not belong to this account.<br>\n**Error Code:** `3001`<br>\nWebinar {webinarId} not found or has expired.<br>\n",
      "originalRequest": {
        "method": "POST",
        "header": [
          {
            "description": "Added as a part of security scheme: oauth2",
            "key": "Authorization",
            "value": "<token>"
          }
        ],
        "body": {
          "mode": "formdata",
          "formdata": [
            {
              "key": "email",
              "value": "3uEtro@SmjrkWvqtnwJtizhCgFKllyfwdy.xuf",
              "type": "text"
            },
            {
              "key": "first_name",
              "value": "nulla cillum",
              "type": "text"
            },
            {
              "key": "status",
              "value": "pending",
              "type": "text"
            },
            {
              "key": "last_name",
              "value": "et minim",
              "type": "text"
            },
            {
              "key": "address",
              "value": "do esse",
              "type": "text"
            },
            {
              "key": "city",
              "value": "occaecat eiusmod cillum cupidatat",
              "type": "text"
            },
            {
              "key": "country",
              "value": "nisi magna reprehenderit dolor cillum",
              "type": "text"
            },
            {
              "key": "zip",
              "value": "nisi",
              "type": "text"
            },
            {
              "key": "state",
              "value": "amet ullamco proident Excepteur",
              "type": "text"
            },
            {
              "key": "phone",
              "value": "sit",
              "type": "text"
            },
            {
              "key": "industry",
              "value": "sit id Ut",
              "type": "text"
            },
            {
              "key": "org",
              "value": "nisi",
              "type": "text"
            },
            {
              "key": "job_title",
              "value": "enim dolor occaecat in",
              "type": "text"
            },
            {
              "key": "purchasing_time_frame",
              "value": "Within a month",
              "type": "text"
            },
            {
              "key": "role_in_purchase_process",
              "value": "Evaluator/Recommender",
              "type": "text"
            },
            {
              "key": "no_of_employees",
              "value": "5,001-10,000",
              "type": "text"
            },
            {
              "key": "comments",
              "value": "nostrud ",
              "type": "text"
            },
            {
              "key": "custom_questions",
              "value": "[{\"title\":\"eu in veniam\",\"value\":\"qui laborum\"},{\"title\":\"in qui irure\",\"value\":\"qui nostr\"}]",
              "type": "text"
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/webinars/:webinarId/registrants?occurrence_ids=quis officia in reprehenderit",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "webinars",
            ":webinarId",
            "registrants"
          ],
          "query": [
            {
              "key": "occurrence_ids",
              "value": "quis officia in reprehenderit"
            }
          ],
          "variable": [
            {
              "key": "webinarId",
              "value": "68423085",
              "description": "(Required) The webinar's ID."
            }
          ]
        }
      },
      "status": "Not Found",
      "code": 404,
      "_postman_previewlanguage": "text",
      "header": [
        {
          "key": "Content-Type",
          "value": "text/plain"
        }
      ],
      "cookie": [
      ],
      "body": ""
    },
    {
      "name": "**HTTP Status Code:** `429`<br>\nYou have exceeded the daily rate limit of \"{0}\" for **Add a webinar registrant** API requests for the registrant \"{1}\". You can resume these API requests at GMT 00:00:00.",
      "originalRequest": {
        "method": "POST",
        "header": [
          {
            "description": "Added as a part of security scheme: oauth2",
            "key": "Authorization",
            "value": "<token>"
          }
        ],
        "body": {
          "mode": "formdata",
          "formdata": [
            {
              "key": "email",
              "value": "3uEtro@SmjrkWvqtnwJtizhCgFKllyfwdy.xuf",
              "type": "text"
            },
            {
              "key": "first_name",
              "value": "nulla cillum",
              "type": "text"
            },
            {
              "key": "status",
              "value": "pending",
              "type": "text"
            },
            {
              "key": "last_name",
              "value": "et minim",
              "type": "text"
            },
            {
              "key": "address",
              "value": "do esse",
              "type": "text"
            },
            {
              "key": "city",
              "value": "occaecat eiusmod cillum cupidatat",
              "type": "text"
            },
            {
              "key": "country",
              "value": "nisi magna reprehenderit dolor cillum",
              "type": "text"
            },
            {
              "key": "zip",
              "value": "nisi",
              "type": "text"
            },
            {
              "key": "state",
              "value": "amet ullamco proident Excepteur",
              "type": "text"
            },
            {
              "key": "phone",
              "value": "sit",
              "type": "text"
            },
            {
              "key": "industry",
              "value": "sit id Ut",
              "type": "text"
            },
            {
              "key": "org",
              "value": "nisi",
              "type": "text"
            },
            {
              "key": "job_title",
              "value": "enim dolor occaecat in",
              "type": "text"
            },
            {
              "key": "purchasing_time_frame",
              "value": "Within a month",
              "type": "text"
            },
            {
              "key": "role_in_purchase_process",
              "value": "Evaluator/Recommender",
              "type": "text"
            },
            {
              "key": "no_of_employees",
              "value": "5,001-10,000",
              "type": "text"
            },
            {
              "key": "comments",
              "value": "nostrud ",
              "type": "text"
            },
            {
              "key": "custom_questions",
              "value": "[{\"title\":\"eu in veniam\",\"value\":\"qui laborum\"},{\"title\":\"in qui irure\",\"value\":\"qui nostr\"}]",
              "type": "text"
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/webinars/:webinarId/registrants?occurrence_ids=quis officia in reprehenderit",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "webinars",
            ":webinarId",
            "registrants"
          ],
          "query": [
            {
              "key": "occurrence_ids",
              "value": "quis officia in reprehenderit"
            }
          ],
          "variable": [
            {
              "key": "webinarId",
              "value": "68423085",
              "description": "(Required) The webinar's ID."
            }
          ]
        }
      },
      "status": "Too Many Requests",
      "code": 429,
      "_postman_previewlanguage": "text",
      "header": [
        {
          "key": "Content-Type",
          "value": "text/plain"
        }
      ],
      "cookie": [
      ],
      "body": ""
    }
  ]
}