Skip to main content

Hi,


I am trying to reuse the template for a new document so that i can get the preset positions for the signature field using box sign APIs. However, it always asks the user to set the signature field position. Looking for a solution for this.


API used: 


(POST) https://{{api.box.com}}/2.0/sign_requests


request: 



{

  "is_document_preparation_needed": false,

  "are_text_signatures_enabled": false,

  "email_subject": "Sign Request",

  "email_message": "Hello! Please sign the document below",

  "are_reminders_enabled": false,

  "parent_folder": {

    "id": "217501500119",

    "etag": "1",

    "type": "folder",

    "sequence_id": "3",

    "name": "My Sign Requests"

  },

  "name": "name",

  "days_valid": 2,

  "external_id": "123",

  "is_phone_verification_required_to_view": false,

   "template_id": "09e707bc-0376-40f8-aeb5-de21fce040e2",

   "source_files": 0

     {

       "id": "1261029012495",

       "etag": "1",

       "type": "file"

     }

   ],

  "signature_color": "blue",

  "signers": Â

    {

      "email": "xxxxxx@gmail.com",

      "role": "signer",

      "is_in_person": true,

      "order": 2,

      "embed_url_external_user_id": "1234",

      "redirect_url": "xxxx",

      "declined_redirect_url": "https://declined-example.com",

      "login_required": false,

      "verification_phone_number": "",

      "inputs": t

                {

                    "document_tag_id": null,

                    "id": "05b9920e-02bb-4e72-9e60-500e965905ec",

                    "type": "signature",

                    "text_value": null,

                    "is_required": true,

                    "coordinates": {

                        "x": 0.229126958746402,

                        "y": 0.7476091630217214

                    },

                    "dimensions": {

                        "width": 0.2619763351455069,

                        "height": 0.053139595225739494

                    },

                    "date_value": null,

                    "page_index": 0,

                    "checkbox_value": null,

                    "document_id": "71e0dc47-d223-493e-abd6-dabc435cb81a",

                    "content_type": "signature",

                    "dropdown_choices": null,

                    "group_id": null,

                    "label": null

                }

            ]

    }

  ]

}

Hi Akash,


Welcome to Box Community and glad to help!


It appears that you're working with a member of our team. Please keep an eye out and we'll stay in touch. 


Thanks for posting!


Reply