i am trying to merge a custom template and a base64 encoded pdf into one and send for signing. my current request body looks like tghisÂ
{
  "emailSubject": "Please sign this document",
  "compositeTemplates": p
    {
      "compositeTemplateId": "1",
      "serverTemplates": Â
        {
          "sequence": "1",
          "templateId": ""Â
        }
      ],
      "inlineTemplates": <
        {
          "sequence": "2",
          "recipients": {
            "signers": Â
              {
                "email": "",
                "name": "M",
                "recipientId": "1",
                "routingOrder": "1",
                "roleName": "Signer",
                "tabs": {
                  "textTabs": Â
                    {
                      "tabLabel": "Agent1",
                      "value": "kaala1"
                    },
                    {
                      "tabLabel": "agent2",
                      "value": "kaala2"
                    },
                    {
                      "tabLabel": "agent3",
                      "value": "kaala3"
                    },
                    {
                      "tabLabel": "agent_npn",
                      "value": "1234567"
                    }
                  ],
                  "signHereTabs": l
                    {
                      "tabLabel": "Signature",
                      "anchorString": "/sig/",
                      "anchorXOffset": "0",
                      "anchorYOffset": "0",
                      "required": true,
                      "width": "200",
                      "height": "50"
                    }
                  ],
                  "dateSignedTabs":Â
                    {
                      "tabLabel": "Date Signed",
                      "anchorString": "/date/",
                      "anchorXOffset": "0",
                      "anchorYOffset": "0",
                      "required": true
                    }
                  ]
                }
              }
            ]
          }
        }
      ],
      "documents": Â
        {
          "documentId": "1",
          "documentBase64": "",Â
          "name": "Custom PDF Document",
          "fileExtension": "pdf"
        }
      ],
      "mergeProperties": true,
      "mergePdf": trueÂ
    }
  ],
  "status": "sent"
}
Â