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 .= '],';



      • 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