I have a template document. I need to create a document from the template and send it to the customer.
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 .= '],';