Zoho Calendar API Create Event - Returning "description": "eventdata missing."
I am trying to do a post and create a new event, it is returning "eventdata missing" and "Less_than_min_occurance" I have tried to delete the nested json inside of the first eventdata and still the same issue. Any insight?
- eventdata = {
- "eventdata": {
- "dateandtime": {
- "timezone": "Asia/Kolkata",
- "start": "20240216",
- "end": "20240216"
- },
- "title": "test invitation",
- "attendees": [
- {
- "email": "user2@pavi1.com",
- "status": "NEEDS-ACTION"
- }
- ],
- "conference": "zmeeting"
- }
- }
- # Construct the full URL for the API request
- api_endpoint = f"https://calendar.zoho.eu/api/v1/calendars/{CALENDAR_UID}/events"
-
- # Set up the headers with the access token
- headers = {
- 'Authorization': f'Bearer {ACCESS_TOKEN}',
- 'Content-Type': 'application/json'
- }
- # Make the POST request to the Zoho Calendar API
- response = requests.post(api_endpoint, json=eventdata, headers=headers)
Access your files securely from anywhere
Zoho Developer Community
Deliver unforgettable customer experiences
Deliver unforgettable customer experiences
New to Zoho Marketing Plus?
Everything you need to run your marketing
New to Zoho Marketing Plus?
Everything you need to run your marketing
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Zoho TeamInbox Resources
Zoho DataPrep Resources
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Qntrl Resources
Zoho Creator Resources
Zoho Campaigns Resources
Zoho CRM Resources
Zoho Show Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.