---
title: "Validate Ref Code"
method: GET
path: "/api/affiliate/validate"
---

# Validate Ref Code

`GET /api/affiliate/validate`

## Request

- Base URL: `https://api.getle.ad` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getle.ad/api/affiliate/validate`
- Auth: none declared

Public check used by the checkout page to decide whether to show the
partner discount. Invalid/unknown codes are a soft {valid: false}.

## Query parameters

- `code` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/getle/apis/lead-generator-pro-api.md) · [All operations](https://skmtc.dev/getle/apis/lead-generator-pro-api/llms.txt) · [OpenAPI document](https://skmtc.dev/getle/apis/lead-generator-pro-api/revisions/041155e6d905?raw)
