Cal.com and OpenAPI in OpenAI's GPTs #17921
Unanswered
TheZapotech
asked this question in
Other
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I'm integrating my cal.com with ChatGPT. I'm creating various actions in a custom GPTs
The problem is that i cannot find a way to pass the cal-api-version in the header as specified here:
https://cal.com/docs/api-reference/v2/bookings/create-a-booking#create-a-booking
According to official "Action Assistant by OpenAI" the problem is that:
"The error occurs because OpenAI's platform currently only supports parameters in the query string (in: query) or as part of the path (in: path). It does not support parameters in the header. Since your cal-api-version is specified as a header parameter (in: header), the platform ignores it."
Any idea/workaround for this? without that parameter i cannot create bookings.
Thanks
Zap
This is the beginning of the schema:
openapi: 3.1.0
info:
title: Cal.com API v2
description: API for managing event types, schedules, bookings, and attendees on Cal.com
version: 2.0.0
servers:
paths:
/bookings:
post:
summary: Create a new booking
operationId: createBooking
parameters:
- name: cal-api-version
in: query
description: Must be set to
2024-08-13
required: true
schema:
type: string
example: "2024-08-13"
requestBody:
description: Details of the booking to create
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/BookingRequest'
Beta Was this translation helpful? Give feedback.
All reactions