Hi guys, I’m trying to make an API call to Cal.com to delete a booking in my scenario.
In this scenario, I check for new bookings and if a certain condition is met, the booking will be canceled.
I need some help understanding how to set up the API call.
Here’s how I’m trying to do this but I am 100% aware that I’m doing everything wrong ![:joy: :joy:](https://emoji.discourse-cdn.com/twitter/joy.png?v=12)
Can anyone help me?
Many thanks for considering my request.
Welcome to the Make community!
You shouldn’t be including the first part of the URL.
Please read the description below it on the relative URL format required.
samliew – request private consultation
Join the unofficial Make Discord server to chat with other makers!
1 Like
I’ve tried, but I don’t know how to configure the other parameters below, I haven’t found any guide and this is the first time for me making an API call in that way
Make doesn’t have a module for this particular endpoint (delete a booking).
If the external service has a Developer API Reference/Documentation then you should be able to integrate the endpoints in Make using the app’s universal module (Make an API call) or generic HTTP “Make a request” module.
You can also suggest for it to be made in the Idea exchange. Don’t forget to search for it first, just in case someone already suggested it, so that you don’t end up creating a duplicate.
![Screenshot_2024-01-17_130153](https://europe1.discourse-cdn.com/business20/uploads/make/original/3X/3/9/39cc465d8e6da874408a1f3f2caa2d6de5b3a7aa.png)
If you need assistance in setting up the app’s universal module, or the generic HTTP module, please provide additional information about what you have tried with regards to the external service’s Developer API Reference – how you are setting the connection up, a link to the endpoint are you trying to connect to, and what errors you are encountering.
You can also complete this brand new course/tutorial in the Make Academy on how to use external APIs — API calls with HTTP modules
- API and Endpoints
- Header and body
- Multipart/form-data
- OAuth 2.0
According to the Cal.com API reference to delete a booking,
![Screenshot_2024-06-03_230659](https://europe1.discourse-cdn.com/business20/uploads/make/original/3X/c/e/ce07fa63f1cfbfb715c5876f554338cf410f48a6.png)
samliew – request private consultation
Join the unofficial Make Discord server to chat with other makers!
2 Likes
This is not working ![:frowning: :frowning:](https://emoji.discourse-cdn.com/twitter/frowning.png?v=12)
I’m trying to make another request in order to edit the booking and this is what I’m trying to do:
My intention is to trigger a webhook when a booking is requested and to confirm the booking if a specific condition si met. In this screenshot I didn’t wetuo the condition because I only wanted to test the API request, but nothing…
Any help??
Welcome to the Make community!
You should not be inserting the FULL (absolute) URL in the URL field.
If you read the description below, it says to insert a relative URL (the part that comes after the first part of the URL that will be automatically be inserted for you).
So, you should only be inserting everything after https://app.cal.com/api
samliew – request private consultation
Join the unofficial Make Discord server to chat with other makers!
1 Like
Okay, now I’m getting this mega error.
This is how the operation is configured:
I’m going crazy…
According to the description below the URL field, it looks like the URL format needs to begin with a /
samliew – request private consultation
Join the unofficial Make Discord server to chat with other makers!
1 Like
Already tried, and retried multiple times. Idk if this is a problem of Cal.com API
In that case it appears to be a bug.
For technical issues or bugs like this, directly contacting support can often lead to a faster resolution. They have access to your specific account details, scenario and scenario logs, server-side logs, and internal tools and resources, which allows them to investigate more thoroughly than what you have access to. Additionally, sharing sensitive information about your situation might not be suitable for an open forum discussion.
You can open a new ticket here, or if you are unable to login for some reason, you can create another new free account to access the ticketing system (which is only available to logged-in users).
If you manage to get your issue resolved with support, we’d still love to hear about it! Sharing your solution on the forum can help others facing similar problems.
samliew – request private consultation
Join the unofficial Make Discord server to chat with other makers!
2 Likes