---
title: "User Subscription"
method: GET
path: "/sub/{token}/"
tags: ["Subscription"]
---

# User Subscription

`GET /sub/{token}/`

Provides a subscription link based on the user agent (Clash, V2Ray, etc.).

## Path parameters

- `token` string, required

## Headers

- `user-agent` string
- `X-HWID` string, nullable
- `X-Device-OS` string, nullable
- `X-Ver-OS` string, nullable
- `X-Device-Model` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/ha-man2/apis/pasarguardapi.md) · [All operations](https://skmtc.dev/ha-man2/apis/pasarguardapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ha-man2/pasarguardapi/revisions/84d9ff88fcda/schema)
