Adobe PDF Services API

Adobe PDF Services API

Hello,

Big stretch here, but I'm wondering if anyone here can point me in the right direction.  I'm attempting to connect to an Adobe api to manipulate a pdf I have in WorkDrive.  I'm able to get the Bearer token, but the next piece is to get the upload URI and asset id.  Adobe's documentation gives this as a reference:

  1. curl --location --request POST 'https://pdf-services.adobe.io/assets' \
  2. --header 'X-API-Key: {{Placeholder for client_id}}' \
  3. --header 'Authorization: Bearer {{Placeholder for token}}' \
  4. --header 'Content-Type: application/json' \
  5. --data-raw '{
  6.     "mediaType": "{{Placeholder for mediaType}}"
  7. }'

The code I'm using:
  1. adobeUploadUrl = "https://pdf-services.adobe.io/assets";
  2. uploadHeader = {"X-API-Key":"efa5ef5bc6594dXXXXXXXXXX","Authorization":"Bearer" + adobeKey,"Content-Type":"application/json"};
  3. uploadParam = {"mediaType":"application/pdf"};
  4. uploadToAdobe = invokeurl
  5. [
  6. url: adobeUploadUrl
  7. type: POST
  8. parameters: uploadParam
  9. headers: uploadHeader
  10. ];
  11. info "Return: " + uploadToAdobe;
On my info statement, I'm getting back:
 1696522222342.vnd.adobe.dc+json

Anyone able to point me in the right direction?
Thanks

      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 コンテンツ




                                ご検討中の方