Cannot create calendar via API

Cannot create calendar via API

I am using the Calendar API (https://www.zoho.com/calendar/help/api/calendars-api.html) to try to create a new calendar, so I can add events to it.
I am working on an app that will be scheduling events to the calendar, so I wanted to create a new calendar for the app to use.

I've created the OAuth2 flow and got logged in and got my access_token/refresh_token.

I sent a GET to https://calendar.zoho.com/api/v1/calendars with the auth token in the header and correctly got back a list of calendars.

Now, I wanted to create a new calendar, so I tried to send a POST to https://calendar.zoho.com/api/v1/calendars but I cannot figure out how to correctly send the parameters to create a calendar.

When I try to send a POST request, I get the following response back:

{
  "error" : [
    {
      "description" : "Less than min occurrence.",
      "message" : "calendarData missing."
    }
  ]
}

What does this mean?

How am I supposed to send the parameters to create a new calendar?
I am sending the parameters in the POST body as application/x-www-form-urlencoded:

description=api+test&timezone=America%2FNew_York&include_infreebusy=true&textcolor=%23000000&color=%23668CB3&name=test+calendar

Am I doing something wrong?  The API documentation doesn't say how you are supposed to send the parameters, so I am not sure what this error means and what I am supposed to do.




                            Zoho Desk Resources

                            • Desk Community Learning Series


                            • Digest


                            • Functions


                            • Meetups


                            • Kbase


                            • Resources


                            • Glossary


                            • Desk Marketplace


                            • MVP Corner


                            • Word of the Day



                                Zoho Marketing Automation


                                        Manage your brands on social media



                                                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 WorkDrive Resources



                                                                    Zoho Campaigns Resources

                                                                      Zoho CRM Resources

                                                                      • CRM Community Learning Series

                                                                        CRM Community Learning Series


                                                                      • Tips

                                                                        Tips

                                                                      • Functions

                                                                        Functions

                                                                      • Meetups

                                                                        Meetups

                                                                      • Kbase

                                                                        Kbase

                                                                      • Resources

                                                                        Resources

                                                                      • Digest

                                                                        Digest

                                                                      • CRM Marketplace

                                                                        CRM Marketplace

                                                                      • MVP Corner

                                                                        MVP Corner




                                                                            Design. Discuss. Deliver.

                                                                            Create visually engaging stories with Zoho Show.

                                                                            Get Started Now