curl --compressed --request POST \
--url "https://api.us.nylas.com/v3/scheduling/configurations/<SCHEDULER_CONFIG_ID>/import-group-events" \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <NYLAS_API_KEY>' \
--header 'Content-Type: application/json' \
--data '{
"calendar_id": "<CALENDAR_ID>",
"event_id": "<EVENT_ID>",
"capacity": 10,
"exceptions": [{
"event_id": "<EVENT_ID>",
"capacity": 5
}],
"participants": [{
"name": "Leyah Miller",
"email": "[email protected]"
}]
}'
Sign in and select an app and grant, then add any required auth token, to auto-fill these placeholders with your real values.