---
title: "generate edis form"
method: POST
path: "/edis/form"
tags: ["EDIS"]
---

# generate edis form

`POST /edis/form`

Retrieve escaped html form of CDSL and enter T-PIN to mark the stock for EDIS approval. Partner has to render this form at their end to unescape.

## Headers

- `access-token` string, required

## Request body

- EdisFormRequest
  - `isin` string, required
  - `qty` integer, required
  - `exchange` 'NSE' | 'BSE' | 'MCX' | 'ALL', required
  - `segment` 'EQ' | 'COMM' | 'FNO', required
  - `bulk` boolean, required

## Response `200`

Successful operation

- EdisFormResponse
  - `dhanClientId` string
  - `edisFormHtml` string

---

[API](https://skmtc.dev/dhan/apis/dhanhq-api.md) · [All operations](https://skmtc.dev/dhan/apis/dhanhq-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/dhan/dhanhq-api/revisions/2d368b9ed32d/schema)
