Subscription headers and body lines
A reference of every key Wrabbit reads from a subscription response and sends in the request: what the key does, which license feature it needs, from which client version it works and where to set it in Remnawave. Step-by-step setup is in Remnawave setup in 15 minutes.
#How the client reads keys
- A key arrives as a subscription response header or as a
#name: valuebody line (#name=valuealso works). Names are case-insensitive. - A header always wins over a body line with the same name.
- Header only, no body line:
new-url,new-domain,wrab-license-alt,wrabbit-revocations,x-wrabbit-rule. - If the subscription returns full Xray JSON (the Wrabbit rule with
XRAY_JSON), there are no body lines — send everything as headers. - 2.1.0 reads almost everything from headers only: as body lines it understands just
wrab-mode,hide-settingsand aroutinglink. Details are in Versions 2.2.0 and 2.1.0. - An invalid value is ignored; the other keys still apply.
#Where to set them in Remnawave
The “Where” column of the tables below names one of four places. Checked against Remnawave 2.7.4, 2.8.1, 3.0.0 and 3.4.8 sources.
| Place | Who gets it | {{…}} placeholders | Remnawave versions |
|---|---|---|---|
Rule — responseModifications.headers of the Wrabbit rule | Only requests matching ^Wrabbit/, that is 2.2.0 | No: the value is sent as is | 2.7.4+. With applyHeadersToEnd: true it overrides same-name headers from settings and squads |
Settings — Subscription Settings → Custom Response Headers (customResponseHeaders) | All subscribers of all clients: Happ, INCY, 2.1.0 and 2.2.0 | Yes: {{USERNAME}}, {{SHORT_UUID}}, {{SUBSCRIPTION_URL}} and others | All. In 2.7.4 and 2.8, profile-title, support-url, announce, profile-update-interval and the page link are separate settings fields; from 3.0 they are customResponseHeaders lines |
| Squad — External Squad headers | The squad's subscribers | Yes | 2.x: responseHeaders replaces the settings entirely. 3.x: responseHeadersAdd adds, responseHeadersRemove removes |
| Happ / INCY way — wherever the key is already set for Happ or INCY | Same as that place | — | No need to duplicate. If not set yet — a Settings line (Happ/INCY get it too) or the rule (Wrabbit 2.2.0 only) |
#Subscription response keys
Feature is the license feature that unlocks the key; without it the key is not applied, and “Subscription check” lists it under “Unconfirmed directives”. Detailed behavior of Happ and INCY directives is in Directives.
#FreeFree
| Key | What it does | Feature | Version | Where |
|---|---|---|---|---|
profile-title | Subscription title: text or base64:<…>. A hidden subscription without a title is called “Subscription” | Free | 2.1.0 2.2.0 | Happ / INCY way: in 2.x the Profile title field, in 3.x Settings |
subscription-name | Subscription title, INCY name. profile-title wins | Free | 2.2.0+ | Settings |
content-disposition | Fallback title from filename= when there is no profile-title. Header only | Free | 2.1.0 2.2.0 | Set by the panel |
subscription-userinfo | Traffic and expiry: upload=…; download=…; total=…; expire=… | Free | 2.1.0 2.2.0 | Set by the panel |
profile-update-interval | Auto-update interval in hours: at least 1, 24 by default | Free | 2.2.0+ | Happ / INCY way |
wrabbit-account | Subscriber login under the subscription title, in the add dialog and in the post-import message; up to 64 characters | Free | 2.2.0+ | Settings or squad only: {{USERNAME}}. Do not use {{EMAIL}} — anyone with the link sees the header |
wrabbit-auto-mode | Auto mode: on — Auto plus manual choice (default), only — Auto only, no server list, off — no Auto row | Free | 2.2.0+ | Rule |
wrab-mode | The old mode name: auto-only = only, anything else — normal mode. wrabbit-auto-mode wins | Free | 2.1.0 2.2.0 | Settings — for 2.1.0 |
dont-use-filter | 1 turns off the only Mobile / only Wi-Fi filter: all servers are visible on any network | Free | 2.2.0+ | Rule or Settings |
#License
| Key | What it does | Feature | Version | Where |
|---|---|---|---|---|
wrab-license | A signed license token for the subscription domain: turns on the brand, hide, routing, app, push features. 2.1.0 reads it as a header only | — | 2.1.0 2.2.0 | Rule + Settings (for 2.1.0), same values |
wrab-license-alt | Tokens for other domains — CDN, mirror, fallback: comma- or space-separated, up to 4. Do not repeat wrab-license here | — | 2.2.0+ | Rule |
wrabbit-revocations | Signed token revocation records, up to 1 KB | — | 2.2.0+ | Rule: the dashboard gives a ready block |
How to get and renew a token, domain matching and what happens without a license — Provider license. The token format is in License token format.
#Brandingbrand
| Key | What it does | Feature | Version | Where |
|---|---|---|---|---|
wrab-logo | Logo in the subscription card: PNG or JPEG by a direct link. The image is cached by its link — publish a new logo under a new link. SVG will not render | brand | 2.1.0 2.2.0 | Rule + Settings |
announce | Announcement in the subscription card: text or base64:, shown in full. In Remnawave 2.x the Happ announce field holds up to 200 characters | brand | 2.1.0 2.2.0 | Settings; in 2.x the Happ announce field. Not in the rule |
support-url | “Support” button, “Telegram” for t.me | brand | 2.1.0 2.2.0 | Happ / INCY way |
profile-web-page-url | “Website” button; for an inactive subscription — “Renew access” | brand | 2.1.0 2.2.0 | Settings. The 2.x flag points to the subscription page; your own site goes as a Settings line |
homepage | INCY name for profile-web-page-url | brand | 2.2.0+ | Settings |
premium-url | “Account” button; “Renew” from 3 days before expire onwards | brand | 2.2.0+ | Happ / INCY way |
announce-url | “Learn more” link under the announcement | brand | 2.2.0+ | Happ / INCY way |
support-email | “Email” button (mailto:) | brand | 2.2.0+ | Happ / INCY way |
profile-description | Description under the subscription title: three lines, full text on tap; up to 500 characters | brand | 2.2.0+ | Happ / INCY way |
sub-info-text | Happ info banner and its button: sub-info-button-text, sub-info-button-link, sub-info-color | brand | 2.2.0+ | Happ / INCY way |
banner-text | INCY info banner: banner-button-text, banner-button-url, colors banner-bg-color, banner-button-color | brand | 2.2.0+ | Happ / INCY way |
sub-expire | 1 — Happ expiry banner from 3 days before expire onwards; button — sub-expire-button-link | brand | 2.2.0+ | Happ / INCY way |
expiry-banner-text | INCY expiry banner, its button and colors: expiry-banner-button-text, -button-url, -bg-color, -text-color and others | brand | 2.2.0+ | Happ / INCY way |
#Hidinghide
| Key | What it does | Feature | Version | Where |
|---|---|---|---|---|
hide-settings | Hides server details: address, SNI, UUID, keys, transport; no copying, QR, sharing or editing. Lifted only by an explicit 0 with a valid license | hide | 2.1.0 2.2.0 | Rule. In Settings only if you accept hiding in Happ as well: it reads the same key |
hide-url | The subscription link cannot be viewed, copied or exported. Lifted only by an explicit 0 | hide | 2.2.0+ | Rule |
hide-check | Hides the “Subscription check” screen for this subscription. Do not set it while testing | hide | 2.2.0+ | Rule |
#Routingrouting
| Key | What it does | Feature | Version | Where |
|---|---|---|---|---|
routing | Happ routing profile of the subscription: happ://routing/…, incy://routing/…, bare base64 or off. 2.1.0 accepts only happ://routing/onadd|add/<base64> and happ://routing/off | routing | 2.1.0 2.2.0 | 3.x — Settings. In 2.7.4 and 2.8 the Happ routing field is served to Happ only: for Wrabbit use a Settings line or the rule |
routing-enable | 2.2.0, as in Happ: 1 or true — the profile is on, any other value — off. 2.1.0: only 0, false, no, off turn it off, anything else leaves it on. Do not use yes/on: 2.2.0 treats them as off | routing | 2.1.0 2.2.0 | Happ / INCY way |
autorouting | INCY profile by an https link with auto-update | routing | 2.2.0+ | Settings |
routing-geo-update-interval | How often to update the profile's geo files, hours 1–8760 | routing | 2.2.0+ | Settings |
A profile in the rule counts toward the 2 KB budget. How profiles, DNS and geo work — Provider routing, DNS and geo.
#App and network managementapp2.2.0+
| Key | What it does | Feature | Version | Where |
|---|---|---|---|---|
fallback-url | Fallback subscription address (https): the main one gets one attempt, then the same request goes to the fallback | app | 2.2.0+ | Settings only: https://<fallback-domain>/{{SHORT_UUID}} |
new-url | Moves the subscription to a new address (https). Header of the main address only | app | 2.2.0+ | Rule — only Wrabbit moves; Settings — Happ and INCY subscribers move too |
new-domain | Moves to a new domain (bare host, Punycode). Header only | app | 2.2.0+ | Same as new-url |
subscription-request-timeout | Fetch attempt timeout, 5–15 s | app | 2.2.0+ | Happ / INCY way |
wrabbit-service-checks | Your own Auto service checks instead of the default list: a JSON array or base64:, up to 8 services | app | 2.2.0+ | Rule |
subscription-autoconnect | Connect a server of the subscription when the app starts | app | 2.2.0+ | Happ / INCY way |
subscription-autoconnect-type | lastused, lowestdelay or random | app | 2.2.0+ | Happ / INCY way |
subscription-ping-onopen-enabled | Measure servers when the app opens | app | 2.2.0+ | Happ / INCY way |
ping-type | Measurement method: proxy, proxy-head, tcp, icmp | app | 2.2.0+ | Happ / INCY way |
check-url-via-proxy | Check address for measuring | app | 2.2.0+ | Happ / INCY way |
proxy-ping-timeout | Measurement timeout, 5–15 s | app | 2.2.0+ | Happ / INCY way |
subscriptions-sort-type | Server order: without, ping, alphabet | app | 2.2.0+ | Happ / INCY way |
sort-order | The same, INCY name: none, ping, name | app | 2.2.0+ | Happ / INCY way |
subscription-auto-update-open-enable | Update the subscription every time the app opens | app | 2.2.0+ | Happ / INCY way |
notification-subs-expire | Local subscription expiry reminders | app | 2.2.0+ | Happ / INCY way |
fragmentation-enable | TLS fragmentation and its parameters fragmentation-packets, -length, -interval, -maxsplit | app | 2.2.0+ | Happ / INCY way |
noises-enable | Noises together with fragmentation: noises-packet-type, noises-packet, noises-delay | app | 2.2.0+ | Happ / INCY way |
mux-enable | Xray multiplexing: mux-tcp-connections, mux-xudp-connections, mux-quic | app | 2.2.0+ | Happ / INCY way |
exclude-routes | IPs and CIDRs outside the tunnel | app | 2.2.0+ | Happ / INCY way |
include-all-networks-enable | Turns on “Kill Switch” for servers from the selected subscription and locks the mode switch where available. See availability by build. | app | 2.2.0+ | Test subscription first |
exclude-local-networks-enable | Local networks outside the tunnel for the selected server on supported builds | app | 2.2.0+ | Happ / INCY way |
exclude-apns-enable | Apple push service outside the tunnel for the selected server on supported builds | app | 2.2.0+ | Happ / INCY way |
dns-from-json-enable | Tunnel DNS from dns.servers of the full Xray JSON | app | 2.2.0+ | Happ / INCY way |
sniffing-enable | Client inbound sniffing on top of the template | app | 2.2.0+ | Happ / INCY way |
server-address-resolve-enable | Resolve the server name over DoH: -dns-domain, -dns-ip | app | 2.2.0+ | Happ / INCY way |
Values, conditions and fine points of each directive — Directives: app management. A wrabbit-service-checks example is in Remnawave recipes.
#Pushpush2.2.0+
Push has no header of its own: the push license feature allows sending through the Wrab API. Setup and sending — Push notifications.
#Service keys: set by the panel or the rule
| Key | What it does | Feature | Version | Where |
|---|---|---|---|---|
x-wrabbit-rule | Rule marker v1;rule=<open|age>;mode=<compat|strict>[;kid=…]: “Subscription check” uses it to see that the Wrabbit rule matched. Users do not see it | — | 2.2.0+ | Rule |
x-hwid-active | The panel enforces a device limit for this subscription | Free | 2.2.0+ | Set by the panel |
x-hwid-limit | The panel's device-limit response | Free | 2.2.0+ | Set by the panel |
x-hwid-max-devices-reached | Device limit reached: the new device was not accepted | Free | 2.2.0+ | Set by the panel |
x-hwid-not-supported | The request had no HWID, but the panel requires one | Free | 2.2.0+ | Set by the panel |
What the client does on each x-hwid-* response and what the subscriber sees — HWID and panel responses.
#Request headers
What Wrabbit sends with every subscription request — to any provider, for free, as Happ and INCY do. The panel uses them to pick a rule and count devices.
| Header | Value | Version |
|---|---|---|
User-Agent | Wrabbit/<version>, e.g. Wrabbit/2.2.0. 2.1.0 sends exactly Wrabbit — it does not match the ^Wrabbit/ rule | 2.1.0 2.2.0 |
x-hwid | A random install UUID: kept in the Keychain, survives reinstalling | 2.1.0 2.2.0 |
x-device-os | iOS or macOS. 2.1.0 on a Mac sends iOS | 2.1.0 2.2.0 |
x-ver-os | System version as three numbers, e.g. 26.0.0 or 18.6.2 | 2.1.0 2.2.0 |
x-device-model | Model: iPhone15,3, on a Mac — Mac14,2. 2.1.0 on a Mac sends arm64 | 2.1.0 2.2.0 |
x-wrabbit-decrypt | Which age bodies the client can decrypt. Use only CONTAINS in a rule condition | 2.2.0+ |
Cache-Control | no-cache (and Pragma: no-cache): the subscription response is never taken from a cache | 2.1.0 2.2.0 |
Body encryption and a rule keyed on x-wrabbit-decrypt — Encrypted links.
#Keys in links and hosts
These are not response headers but markers of individual servers. All are free. How to set them in Remnawave — Server zones and whitelists.
| Key | What it does | Version |
|---|---|---|
serverDescription | Caption under the server name: a #Name?serverDescription=… parameter or meta.serverDescription in Xray JSON. Remnawave puts it into JSON only with additionalExtendedClientsRegex | 2.2.0+ |
wrab-zone | Server zone in vless://: direct or wl | 2.1.0 2.2.0 |
wrabbit-tags | Host tags WL, NO_AUTO, ONLY_MOBILE, ONLY_WIFI in a link; carried by Host Mapper | 2.2.0+ |
wrabbit.tags | The same tags in Xray JSON; carried by Host Mapper | 2.2.0+ |
~ | A mark in the server name: available for manual choice, but not used by Auto | 2.1.0 2.2.0 |
only Mobile | Words in the name: the server shows only on cellular; only Wi-Fi — only on Wi-Fi | 2.2.0+ |
#Value formats
- Flag:
1,true,yes,on— yes;0,false,no,off— no; anything else is ignored. Happ-style exceptions, from 2.2.0: forrouting-enableanddont-use-filteronly1ortruemean yes (2.1.0 readsrouting-enableas a plain flag). - Text: as is or
base64:<base64 of UTF-8>. Cyrillic in a header only this way. Length: banner — 300 characters, button — 40, description — 500. - Cyrillic in Settings and squads on Remnawave 2.8 and later:
rwEncodeBase64:Text— the panel turns it intobase64:…itself. The prefix does not work in 2.7.4 or in the rule: encode by hand. - Link:
http(s)://. Banner buttons (sub-info-button-link,banner-button-url,sub-expire-button-link,expiry-banner-button-url) also accepttg:andmailto:; other branding buttons (support-url,profile-web-page-url,premium-url,announce-url) takehttp(s)://only, otherwise the button is not shown.wrabbit://deep links do not open from buttons: they would import a subscription. - Numbers and ranges: an integer within the allowed range or
N-M, otherwise the key is ignored.
#Examples by place
#Rule
The responseModifications block of the Wrabbit rule. The whole rule and where to insert it — Remnawave setup.
{
"responseModifications": {
"headers": [
{ "key": "wrab-license", "value": "<WRAB_LICENSE>" },
{ "key": "wrab-logo", "value": "https://YOUR-DOMAIN/wrabbit-logo-v1.png" },
{ "key": "hide-settings", "value": "1" },
{ "key": "wrabbit-auto-mode", "value": "on" },
{ "key": "x-wrabbit-rule", "value": "v1;rule=open;mode=compat" }
],
"applyHeadersToEnd": true,
"additionalExtendedClientsRegex": ["^Wrabbit/"]
}
}
#Settings and squad
Remnawave 3.x
wrab-license: <WRAB_LICENSE>
wrab-logo: https://YOUR-DOMAIN/wrabbit-logo-v1.png
announce: rwEncodeBase64:Your announcement
support-url: https://t.me/YOUR_SUPPORT
profile-web-page-url: https://YOUR-SITE/
wrabbit-account: {{USERNAME}}
fallback-url: https://YOUR-FALLBACK-DOMAIN/{{SHORT_UUID}}
If a squad has its own headers, repeat there whatever must differ or reach its subscribers:
{
"responseHeadersAdd": {
"wrab-license": "<WRAB_LICENSE>",
"wrab-logo": "https://YOUR-DOMAIN/wrabbit-logo-v1.png"
},
"responseHeadersRemove": []
}
Remnawave 2.x
support-url, announce and the title are set by the Support link, Happ announce and Profile title settings fields — the panel serves them to every client. Everything else goes into Custom Response Headers:
wrab-license: <WRAB_LICENSE>
wrab-logo: https://YOUR-DOMAIN/wrabbit-logo-v1.png
profile-web-page-url: https://YOUR-SITE/
wrabbit-account: {{USERNAME}}
fallback-url: https://YOUR-FALLBACK-DOMAIN/{{SHORT_UUID}}
Put a new token into every place at once: rule, Settings, squads. If the values diverge, 2.2.0 takes the token from the rule and 2.1.0 from Settings.
#Check with curl
A request as 2.2.0 makes it. The response must include x-wrabbit-rule and your keys. The request takes an HWID slot — remove the device from the test user in the panel afterwards.
curl -sS -D - -o /dev/null \
-A 'Wrabbit/2.2.0' \
-H 'x-hwid: wrabbit-test-0001' -H 'x-device-os: iOS' \
-H 'x-ver-os: 26.0.0' -H 'x-device-model: iPhone15,3' \
-H 'Cache-Control: no-cache' \
'https://YOUR-DOMAIN/<SHORT_UUID>'
What overrides what in Remnawave
- The panel's built-in headers:
content-disposition,subscription-userinfo,x-hwid-active; in 2.x also headers from settings fields. customResponseHeaderswith placeholders: they override built-ins with the same name.- Squad: in 2.x
responseHeadersreplaces the whole Settings set; in 3.x names fromresponseHeadersRemoveare removed first, thenresponseHeadersAddkeys are added and override. - The rule with
applyHeadersToEnd: truecomes last, on top of everything. Without the flag the rule's headers are set first, and same-name ones from Settings and squads overwrite them — including with an old token.
On /<shortUuid>/json and other client-type paths rules are not evaluated: the rule's headers and modifications do not apply there, only Settings and squads remain.