Chilkat Online Tools

Swift3 / Zoom API / Add a webinar registrant

Back to Collection Items

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

    let http = CkoHttp()!
    var success: Bool

    let req = CkoHttpRequest()!
    req.httpVerb = "POST"
    req.path = "/"
    req.contentType = "multipart/form-data"
    req.addParam("email", value: "ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpb")

    req.addParam("first_name", value: "ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostrud")

    req.addParam("status", value: "ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenied")

    req.addParam("last_name", value: "ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniam")

    req.addParam("address", value: "ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor min")

    req.addParam("city", value: "ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt labore")

    req.addParam("country", value: "ytjjUxrx24f2i@IEOZkDxSnqnLEbZ.pkpbin Lorem nostruddenieddeserunt veniamcupidatat tempor minut deserunt laboremollit incididunt")

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

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

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

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

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

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

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

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

    req.addParam("no_of_employees", value: "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")

    req.addParam("comments", value: "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")

    req.addParam("custom_questions", value: "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\"}]")

    req.addHeader("Authorization", value: "Bearer <access_token>")

    var resp: CkoHttpResponse? = http.synchronousRequest("reprehenderit", port: 80, ssl: false, req: req)
    if http.lastMethodSuccess == false {
        print("\(http.lastErrorText!)")
        return
    }

    let sbResponseBody = CkoStringBuilder()!
    resp!.getBodySb(sbResponseBody)

    let jResp = CkoJsonObject()!
    jResp.loadSb(sbResponseBody)
    jResp.emitCompact = false

    print("Response Body:")
    print("\(jResp.emit()!)")

    var respStatusCode: Int = resp!.statusCode.intValue
    print("Response Status Code = \(respStatusCode)")
    if respStatusCode >= 400 {
        print("Response Header:")
        print("\(resp!.header!)")
        print("Failed.")
        resp = nil
        return
    }

    resp = nil

    // 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

    var registrant_id: String? = jResp.string(of: "registrant_id")
    var id: String? = jResp.string(of: "id")
    var topic: String? = jResp.string(of: "topic")
    var start_time: String? = jResp.string(of: "start_time")
    var join_url: String? = jResp.string(of: "join_url")

}

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": ""
    }
  ]
}