How to get the URL when I send a template to sign ?

How to get the URL when I send a template to sign ?

Hello,

I want to know how can I get the URL of template who is send at the people.
I have the code bellow : 

    $requestData = '{
        "templates": {
            "field_data": {
                "field_text_data": {
                "Prénom":"'.$nom.'",
            },
                "field_boolean_data": {},
                "field_date_data": {},
            },
            "actions": [
            {
               "recipient_name": "'.$nom.'",
               "recipient_email": "'.$mail.'",
               "action_id": "16183000000061014",
               "signing_order": 1,
               "role": "Stagiaire",
               "verify_recipient": false,
               "private_notes": "",
            }
            ],
             "notes": ""
            }
        }';
    $POST_DATA = array(
    'data' => $requestData,
    );

    $curl = curl_init("https://sign.zoho.com/api/v1/templates/16183000000061001/createdocument");
    curl_setopt($curl, CURLOPT_TIMEOUT, 30);
    curl_setopt($curl, CURLOPT_HTTPHEADER, array(
    'Authorization:Zoho-oauthtoken <OauthToken>',
    ));
    curl_setopt($curl, CURLOPT_CUSTOMREQUEST, "GET");
    curl_setopt($curl, CURLOPT_POST, true);
    curl_setopt($curl, CURLOPT_POSTFIELDS, $POST_DATA);
    $response = curl_exec($curl);
    echo $response;
    $jsonbody = json_decode($response);// contain filed tyes response
    if($jsonbody->status == "success")
    {
    $created_request_id = $jsonbody->requests->request_id//Save the ID from the response to update later
    $status = $jsonbody->requests->request_status;
    echo $status;
    }
    else //Error check for error
    {
    echo $jsonbody->message;
    }    
    curl_close ($curl);

Do you have a solution ?
Thanks
RB

      • 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