> ## Documentation Index
> Fetch the complete documentation index at: https://docs.struct.to/llms.txt
> Use this file to discover all available pages before exploring further.

# Exit markers callback

> Fired once per position close, labelled with the exit reason (resolved_win / resolved_loss / sold_win / sold_loss).



## OpenAPI

````yaml https://api.struct.to/webhookopenapi.json webhook trader-pnl-exits
openapi: 3.1.0
info:
  title: Polymarket Webhook API
  description: ''
  license:
    name: ''
  version: 1.0.0
servers:
  - url: https://api.struct.to/v1
security: []
tags:
  - name: Webhooks
    description: Webhook subscription management (CRUD operations)
  - name: Webhook Callbacks
    description: Outgoing HTTP calls to your endpoints when subscribed events occur
paths: {}

````