Upload API

Upload API

I'm trying to use the Upload API to upload some images and attach them to comments (https://desk.zoho.com/DeskAPIDocument#Uploads#Uploads_Uploadfile) - however I can only ever get a 401 or bad request back.

I'm using an OAuth token with the Desk.tickets.ALL scope - is there a different scope to use? 

POST /api/v1/uploads HTTP/1.1
Host: desk.zoho.com
Authorization: [TRUNCED]
Accept-Encoding: gzip, deflate
traceparent: 00-1cbd0b30608975f85d803b7449191472-0ddb7a64c98456cc-00
Content-Type: multipart/form-data; boundary="b166cab3-c042-4f53-a00c-ee51e7c79cef"
Content-Length: 621764

--b166cab3-c042-4f53-a00c-ee51e7c79cef
Content-Type: image/png
Content-Disposition: form-data; name=file; filename=screenshot_1.png; filename*=utf-8''screenshot_1.png



      Zoho Campaigns Resources


        • Desk Community Learning Series


        • Digest


        • Functions


        • Meetups


        • Kbase


        • Resources


        • Glossary


        • Desk Marketplace


        • MVP Corner


        • Word of the Day


        • Ask the Experts


          Zoho CRM Plus Resources

            Zoho Books Resources


              Zoho Subscriptions Resources

                Zoho Projects Resources


                  Zoho Sprints Resources


                    Zoho Orchestly Resources


                      Zoho Creator Resources


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




                            Zoho Writer Writer

                            Get Started. Write Away!

                            Writer is a powerful online word processor, designed for collaborative work.

                              Zoho CRM コンテンツ






                                ご検討中の方