Skip to content
CMFA Guide

What a subscription link is

It is not a web page; it is an address that returns plain-text yaml. Once that clicks, you can tell whether a link is dead yourself instead of tapping retry.

One address, one config

A subscription link looks like https://example.com/api/v1/client/subscribe?token=.... Paste it into a browser and you get a wall of text starting with fields such as port: and proxies: — that is yaml.

The client does something simple: request that address on a schedule, store the yaml as a local profile, and route by the rules inside. "Updating the subscription" is literally re-downloading the file.

Minimum structure of a subscription
proxies:            # node list
  - name: HK 01
    type: ss
    server: ...
proxy-groups:       # groups shown in the UI
  - name: PROXY
    type: select
rules:              # matched from the top down
  - GEOIP,CN,DIRECT
  - MATCH,PROXY

What the token is, and why it stays private

The trailing string identifies your account. The provider uses it to look up which user, which plan, how much quota remains. It is a password in URL form.

Anyone with it can spend your traffic, read your node list, and fill your device limit without telling you. Do not screenshot it into a group chat, paste it into a public issue, or publish it.

  • If it leaks, reset the subscription in the provider panel; the old URL dies immediately.
  • Some providers embed an email or username in the URL, so a screenshot leaks the account too.
  • Browser history, clipboard sync and cloud backups can all retain it.

Three ways a link dies

SymptomCauseHow to confirm
Browser redirects to a login pageToken expired or was resetLog into the panel and copy the URL again
404 or a plain-text errorPlan expired or account disabledCheck plan status in the panel
A web page instead of yamlYou have the subscription page, not the feedFind the entry labelled "Clash subscription"

Scroll the table sideways

All three take a minute in a browser. Confirm, then decide whether to touch the client or the provider.

Do not paste links into online "subscription viewers"

Handing the link to a third-party page hands over the credential. Inspect it locally: open in a browser, copy the text, save it as .yaml, and read it in an editor.

Subscription questions

How often should it refresh?
The client decides — in CMFA it is "Auto update (minutes)" in the profile details. Providers change nodes on their own rhythm; 12 hours covers most cases.
How many devices can share one link?
Technically many, but providers cap concurrent devices. Over the cap the newest connection evicts the oldest, which looks like random disconnects.
Can I see node IPs in the subscription?
Yes — each node has a server field. That is one more reason to keep the link private: it exposes server addresses.
Why are some subscriptions huge?
Many nodes, or embedded rule sets. Subscriptions using rule-providers keep rules external and the main file smaller.