Use case: I’m creating a meeting via API using Zapier. Initial Create meeting step does not allow for setting approval_type: 0 thereby making Registration required and allowing for additional registration questions, etc. Using a Zapier API Request (Beta) step to do the update.
Endpoint: v2/users/me/meetings/{meetingId}
and have tried it both with and without the query string param of meetingId.
None of my PATCH steps have successfully added approval_type = 0 and all of the registration questions. I’ve reviewed a few dozen other similar posts and I’m not sure what I’m not getting right here.
After I get meeting updated to approval_type = 0, I’d also like to get the registration_url. I assume it’ll come back in the response, but the documentation isn’t
Here’s my JSON body:
method: PATCH
querystring:
meetingId: 89473939856
body: {
“settings”: {
“host_video”: true,
“participant_video”: true,
“cn_meeting”: false,
“in_meeting”: false,
“join_before_host”: false,
“mute_upon_entry”: true,
“watermark”: false,
“approval_type”: 0,
“audio”: “both”,
“use_pmi”: false,
“auto_recording”: “local”,
“alternative_hosts”: “none”,
“close_registration”: true,
“waiting_room”: true,
“registrants_email_notification”: true,
“registration_type”:2,
}
{
“custom_questions”: [
{“answers”: [“Alameda County”, “Contra Costa County”, “San Francisco County”, “Other”],“required”: true,“title”: “What county do you work in?”,“type”: “single”}
{“answers”: [“Center Staff”, “Family Childcare Provider”, “Other”],“required”: true,“title”: “Are you Center Staff/Family Childcare Provider/other? (Please select the option that describes your work best)”,“type”: “single”}
{“required”: true,“title”: “List the Center or FCC you work at (If you do not work at a center of FCC, simply reply N/A)”,“type”: “short”}
{“answers”: [“Yes”, “No”],“required”: true,“title”: “Do you participate in QRIS?”,“type”: “single”}
{“required”: true,“title”: “CA Workforce Registry Number”,“type”: “short”}
],
“questions”: [
{“field_name”: “last_name”,“required”: true}
{“field_name”: “zip”,“required”: true}
]
}
headers:
:
url: Due to forum limitations removed initial portion of url:
- users/me/meetings/89473939856
And response:
request:
method: PATCH
url: Due to forum limitations removed initial portion of url - users/me/meetings/89473939856
querystring:
meetingId: 89473939856
headers:
body: {
“settings”: {
“host_video”: true,
“participant_video”: true,
“cn_meeting”: false,
“in_meeting”: false,
“join_before_host”: false,
“mute_upon_entry”: true,
“watermark”: false,
“approval_type”: 0,
“audio”: “both”,
“use_pmi”: false,
“auto_recording”: “local”,
“alternative_hosts”: “none”,
“close_registration”: true,
“waiting_room”: true,
“registrants_email_notification”: true,
“registration_type”:2,
}
{
“custom_questions”: [
{“answers”: [“Alameda County”, “Contra Costa County”, “San Francisco County”, “Other”],“required”: true,“title”: “What county do you work in?”,“type”: “single”}
{“answers”: [“Center Staff”, “Family Childcare Provider”, “Other”],“required”: true,“title”: “Are you Center Staff/Family Childcare Provider/other? (Please select the option that describes your work best)”,“type”: “single”}
{“required”: true,“title”: “List the Center or FCC you work at (If you do not work at a center of FCC, simply reply N/A)”,“type”: “short”}
{“answers”: [“Yes”, “No”],“required”: true,“title”: “Do you participate in QRIS?”,“type”: “single”}
{“required”: true,“title”: “CA Workforce Registry Number”,“type”: “short”}
],
“questions”: [
{“field_name”: “last_name”,“required”: true}
{“field_name”: “zip”,“required”: true}
]
}
response:
status: 400
headers:
alt-svc: h3=“:443”; ma=86400
cache-control: no-cache, no-store, must-revalidate, no-transform
cf-cache-status: DYNAMIC
cf-ray: 80e8a2480e4a59d3-IAD
connection: close
content-length: 104
content-type: application/json;charset=UTF-8
date: Sat, 30 Sep 2023 01:18:47 GMT
expires: Thu, 01 Jan 1970 00:00:00 GMT
nel: {“success_fraction”:0.01,“report_to”:“cf-nel”,“max_age”:604800}
pragma: no-cache
report-to: {“endpoints”:[{“url”:“https://a.nel.cloudflare.com/report/v3?s=JKH49%2B82jLOTOiD9kxCDfWCQRpvKXavQYyoJzRrnhJDG2KTRR9aRH005prCrgF5yLixZhHAYo984%2FWnNPmMCiOxdep40yDwxztV1Mw5lsa1Zq2KSKmZnZqrZb2w7”}],“group”:“cf-nel”,“max_age”:604800}
server: cloudflare
x-content-type-options: nosniff
x-zm-trackingid: v=2.0;clid=us02;rid=WEB_17cea2c74ed620be69caebccefffd51c
x-zm-zoneid: VA2
data:
code: 4700
message: Invalid access token, does not contain scopes: [user:write:admin, user:write].
body: {“code”:4700,“message”:“Invalid access token, does not contain scopes: [user:write:admin, user:write].”}