---
title: "get P&L based exit"
method: GET
path: "/pnlExit"
tags: ["Trader's Control"]
---

# get P&L based exit

`GET /pnlExit`

The Get P&L Based Exit API allows users to fetch the currently active P&L based exit configuration, including profit/loss thresholds and exit behavior.  
 **Notes** :
Returns the active P&L based exit configuration for the current trading day, if any

## Headers

- `access-token` string, required

## Response `200`

Successful operation

- ExitPnlResponse
  - `pnlExitStatus` string — Current status of the PNL exit operation
  - `profit` number, float — User-defined target profit amount for the PNL exit
  - `loss` number, float — User-defined target loss amount for the PNL exit
  - `enableKillSwitch` boolean — Indicates if the kill switch is enabled for this PNL exit
  - `productType` string[] — | **Enum Values** | **Description** | |-----------------|----------------| | INTRADAY | Intraday for Equity, Futures & Options | | DELIVERY | Delivery for equity deliveries |

---

[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)
