---
title: "Affiliate link chat quota (GEN-1317)"
method: GET
path: "/v2/chats/affiliate-quota"
tags: ["Chats v2"]
---

# Affiliate link chat quota (GEN-1317)

`GET /v2/chats/affiliate-quota`

## Request

- Base URL: `https://api.miaai.chat` (the document declares no server; this is the origin it was published from)
- URL: `https://api.miaai.chat/v2/chats/affiliate-quota`
- Auth: HTTP bearer

Message/photo limits and usage for anonymous affiliate-link visitors. active=false for everyone else.

## Response `200`

Affiliate quota retrieved successfully

- AffiliateQuotaResponseDto
  - `active` boolean, required: Whether affiliate limits apply to this user
  - `messageLimit` number
  - `messagesUsed` number
  - `requiresRegistration` boolean: Media generation needs a linked account first — the client opens sign-up instead of the paywall.

---

[API](https://skmtc.dev/miaai/apis/backend-template-api.md) - [All operations](https://skmtc.dev/miaai/apis/backend-template-api/llms.txt) - [OpenAPI document](https://skmtc.dev/miaai/apis/backend-template-api/revisions/2a8d88a5124f?raw)
