room, based on the area that they clicked on. jQuery.ajax({ url: "https://api.ciscospark.com/v1/memberships", type: "POST", headers: { "Authorization": "Bearer <YOUR-TOKEN>", "Content-Type": "application/json", }, contentType: "application/json", data: JSON.stringify({ "personEmail": userEmail, "roomId": areaRoom }) })