Hi folks,
I am trying to setup an API call in order to setup a keyboard shortcut for one off meetings usings Espanso (a text replacement piece of software)
:m15 will give me a one off link for a 15min meeting
:m30 will give me a one off link for a 30 min meeting
:m50 will give me a one off link for a 60 min meeting
The issue is that I need to define a start and end date, whereas ideally I would like to have it so that people can book into my calender from today, up to 2 months away in my diary.
I have copied the code block below; any help with this would be very much appreciated!
curl --request POST \
--url https://api.calendly.com/one_off_event_types \
--header 'Authorization: Bearer <myapikey>' \
--header 'Content-Type: application/json' \
--data '{
"name": "15 Minute Meeting",
"host": "https://api.calendly.com/users/<myhostlink>",
"duration": 15,
"timezone": "Europe/Dublin",
"date_setting": {
"type": "date_range",
"start_date": "2024-10-15",
"end_date": "2024-10-22"
}
}'