Zoho Sign API - How do I get action ID for actions?

Zoho Sign API - How do I get action ID for actions?

I have a template document. I need to create a document from the template and send it to the customer.

The api requires an action section for each recipient with action_id. 

How do I get this action_id? 

I need to add the recipients dynamically since each document created is for different customers.
 
        $data_string .= '"actions": [';
$data_string .= '{';
        $data_string .= '"action_id": "",';
        $data_string .= '"action_type": "SIGN",';
        $data_string .= '"recipient_name": "' . $recipient_name . '",';
        $data_string .= '"role": "Customer",';
        $data_string .= '"recipient_email": "' . $recipient_email . '",';
        $data_string .= '"recipient_phonenumber": "",';
        $data_string .= '"recipient_countrycode": "",';
        $data_string .= '"private_notes": "",';
        $data_string .= '"verify_recipient": false,';
        $data_string .= '"verification_type": "EMAIL"';
        $data_string .= '}';
$data_string .= '],';


    Zoho Desk Resources

    • Desk Community Learning Series


    • Digest


    • Functions


    • Meetups


    • Kbase


    • Resources


    • Glossary


    • Desk Marketplace


    • MVP Corner


    • Word of the Day


      • Sticky Posts

      • Free webinar: E-signature legality in Latin America

        Saludos! Are you wondering if e-signatures are legally valid to use for your business documents in Latin America? We've got your answers! Join us on Thursday, November 21 for an exclusive webinar, where we'll dive into the legality of electronic signatures
      • Free webinar: Processing transactional paperwork with ease using Zoho Sign and Zoho Finance apps

        Hello everyone, Did you know you can securely send, sign, and manage your financial documents directly within Zoho Finance applications? Zoho Sign seamlessly integrates with Zoho Books, Zoho Invoice, Zoho Inventory, Zoho Checkout, Zoho Billing, and Zoho
      • Zoho Sign: Product updates - Mid - 2024

        Hello, everyone! We've crossed the halfway point in 2024, and here's what Zoho Sign has been up to lately. We've been part of several Zoho User Groups, and we've started creating video content for our developers. Along with this, we have once again been
      • Explore the legality of electronic signatures worldwide with Zoho Sign

        Hello, everyone! We are pleased to announce our new initiative exploring the legality of electronic signatures around the globe in detail. As more businesses go digital, understanding the legal requirements for e-signatures across different jurisdictions

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




                          Zoho Writer Writer

                          Get Started. Write Away!

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

                            Zoho CRM コンテンツ




                              ご検討中の方