---
title: "Initiate a Workflow with flexi form data ( single/bulk) by adding the signatory details."
method: POST
path: "/api/InitiateAndSignFlexiForm"
tags: ["Workflows"]
---

# Initiate a Workflow with flexi form data ( single/bulk) by adding the signatory details.

`POST /api/InitiateAndSignFlexiForm`

## Headers

- `Authorization` string, required
- `UserName` string

## Request body

- BusinessObjectBusinessObjectWorkflowConfigFlexiform[]
  - `FetchEstampDeatilsUsingRefNo` boolean
  - `Data` string — (as XML string) - data to be populated in flexiform fields as per the tagnames names mapped
  - `Signatories` BusinessObjectBusinessObjectSignersFlexiForm[], required — List of signers
    - `EmailId` string — EmailId of the signer
    - `Name` string — Name of the signer
    - `ContactNo` string — ContactNo with country code
    - `ModeOfSignature` string — Mode of Signature
    - `MailSendingOptions` integer — 1 for Primary , 2 for Alternative and 3 for both
    - `ModeofAuthentication` integer — EmailId of the signer
  - `TemplateId` integer, required — TemplateId -(fetched using GetTemplates) of the form created through Manage Workflows
  - `DonotSendCompletionMailToParticipants` boolean — set true if you don't want to Send CompletionMail To Participants
  - `Reminder` integer
  - `ReferenceNo` string
  - `WorkflowType` integer — 1 for Serial 2 for parallel,Default 1
  - `listAttachmentDetails` BusinessObjectBusinessObjectAttachmentDetails[] — Attachment Information
    - `DocumentName` string, required — Name of the attachment
    - `Base64fileData` string, required — Base64fileData of the PDF document
    - `Description` string — Comments
    - `DocumentPassword` string — DocumentPassword
  - `WaterMark` string — base64 string format of watermark
  - `DocumentProtection` string — for Disable printing ,2 for Disable content copying and 3 for Disable content copying for accessibility
  - `eStampType` string — Offline, Online
  - `State` string
  - `Denomination` integer
  - `ClientID` string
  - `ClientName` string

## Response `200`

OK

- EMDMSHelperReturnObjectBusinessObjectBusinessObjectInitiateAndSignWorkFlowResponse
  - `IsSuccess` boolean
  - `Messages` string[]
  - `ErrorCode` integer
  - `Response` BusinessObjectBusinessObjectInitiateAndSignWorkFlowResponse
    - `ReferenceNo` string
    - `DocumentNumberList` string[]
    - `DocumentIdList` integer[]
    - `Status` boolean
    - `WorkflowId` integer
    - `SignatoryDetails` EmsignerAPIBusinessObjectSignatoryInformation[]
      - `SequenceNumber` integer
      - `IdentificationNumber` string
      - `Name` string
      - `EmailId` string
      - `MobileNo` string
      - `URL` string
    - `URL` string
    - `ParallelSigningURLs` EmsignerAPIBusinessObjectParallelSigningURL[]
      - `SequenceNumber` integer
      - `IdentificationNumber` string
      - `Name` string
      - `EmailId` string
      - `MobileNo` string
      - `URL` string
    - `TransactionNumber` string
    - `RedirectURL` string
    - `ResponseCode` string
    - `TemplateId` integer

---

[API](https://skmtc.dev/emsigner/apis/emsignerapi.md) · [All operations](https://skmtc.dev/emsigner/apis/emsignerapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/emsigner/emsignerapi/revisions/7d5d55e0d91d/schema)
