Skip to main content

Create Document

POST 

/createdocument

The Create Document API allows users to generate new documents by providing data with base64 encoded file. This flexible method allows for the inclusion of various data types, making it suitable for a wide range of document creation scenarios.

Upload you pdf in debug PDF here you can draw widgets and copy co-oridnate, page number of them. also you can copy base64 of PDF

Request

Body

required

    file base64required
    title stringrequired
    description string
    note string

    signers

    object[]

    required

  • Array [

  • role string
    email string
    name string
    phone string

    widgets

    object[]

  • Array [

  • type string
    page number
    x number
    y number
    w number
    h number
  • ]

  • ]

  • folderId string
    send_email boolean
    email_subject string

    Custom mail subject for signature request

    email_body string

    Custom signature request email body. Can include the following {{document_title}} {{sender_name}}, {{sender_mail}}, {{sender_phone}}, {{receiver_name}}, {{receiver_email}}, {{receiver_phone}}, {{expiry_date}}, {{company_name}}, {{signing_url}}.

Responses

Document created successfully!

Schema

    objectId string
    url string
Loading...