Open prateeksachan opened 2 months ago
@prateeksachan According to the document, you see that the response example has a null timezone, so this is intentional. By the way, why do you want to retrieve the timezone?
@anikdhabal the event for which I'm fetching, has a valid timeZone. Is there any way or API to get the timezone for that event? Or is that intentional and currently there's no way to get the timezone via APIs?
I have a use-case where I want to show all events belonging to a user with the timezones.
Found a bug? Please fill out the sections below. š
Issue Summary
Unable to retrieve the timeZone using the
https://api.cal.com/v1/event-types/{id}
API mentioned here. Also tried out using/v2/event-types/{eventTypeId}
: but getting400
error in this case.https://api.cal.com/v1/event-types/{id}
: response containstimeZone: null
/v2/event-types/{eventTypeId}
, I'm gettingHTTP 400
errorSteps to Reproduce
Request payload for
https://api.cal.com/v1/event-types/{id}
(ref. https://cal.com/docs/enterprise-features/api/api-reference/v1/event-types#find-an-event-type):Response:
Request payload for
/v2/event-types/{eventTypeId}
(ref. https://api.cal.com/v2/docs):Response:
Note:
cal_live_xyz
: is only used for representation purpose here, actual request used a valid API key.