Skip to content
On this page
On this page

Subscription headers and body lines

For providers2.2.02.1.0Updated

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: value body line (#name=value also 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-settings and a routing link. 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.

Places for headers
PlaceWho gets it{{…}} placeholdersRemnawave versions
Rule — responseModifications.headers of the Wrabbit ruleOnly requests matching ^Wrabbit/, that is 2.2.0No: the value is sent as is2.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.0Yes: {{USERNAME}}, {{SHORT_UUID}}, {{SUBSCRIPTION_URL}} and othersAll. 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 headersThe squad's subscribersYes2.x: responseHeaders replaces the settings entirely. 3.x: responseHeadersAdd adds, responseHeadersRemove removes
Happ / INCY way — wherever the key is already set for Happ or INCYSame 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

Free keys
KeyWhat it doesFeatureVersionWhere
profile-titleSubscription title: text or base64:<…>. A hidden subscription without a title is called “Subscription”Free2.1.0 2.2.0Happ / INCY way: in 2.x the Profile title field, in 3.x Settings
subscription-nameSubscription title, INCY name. profile-title winsFree2.2.0+Settings
content-dispositionFallback title from filename= when there is no profile-title. Header onlyFree2.1.0 2.2.0Set by the panel
subscription-userinfoTraffic and expiry: upload=…; download=…; total=…; expire=…Free2.1.0 2.2.0Set by the panel
profile-update-intervalAuto-update interval in hours: at least 1, 24 by defaultFree2.2.0+Happ / INCY way
wrabbit-accountSubscriber login under the subscription title, in the add dialog and in the post-import message; up to 64 charactersFree2.2.0+Settings or squad only: {{USERNAME}}. Do not use {{EMAIL}} — anyone with the link sees the header
wrabbit-auto-modeAuto mode: on — Auto plus manual choice (default), only — Auto only, no server list, off — no Auto rowFree2.2.0+Rule
wrab-modeThe old mode name: auto-only = only, anything else — normal mode. wrabbit-auto-mode winsFree2.1.0 2.2.0Settings — for 2.1.0
dont-use-filter1 turns off the only Mobile / only Wi-Fi filter: all servers are visible on any networkFree2.2.0+Rule or Settings

#License

License keys
KeyWhat it doesFeatureVersionWhere
wrab-licenseA 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.0Rule + Settings (for 2.1.0), same values
wrab-license-altTokens for other domains — CDN, mirror, fallback: comma- or space-separated, up to 4. Do not repeat wrab-license here—2.2.0+Rule
wrabbit-revocationsSigned 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

Branding keys
KeyWhat it doesFeatureVersionWhere
wrab-logoLogo 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 renderbrand2.1.0 2.2.0Rule + Settings
announceAnnouncement in the subscription card: text or base64:, shown in full. In Remnawave 2.x the Happ announce field holds up to 200 charactersbrand2.1.0 2.2.0Settings; in 2.x the Happ announce field. Not in the rule
support-url“Support” button, “Telegram” for t.mebrand2.1.0 2.2.0Happ / INCY way
profile-web-page-url“Website” button; for an inactive subscription — “Renew access”brand2.1.0 2.2.0Settings. The 2.x flag points to the subscription page; your own site goes as a Settings line
homepageINCY name for profile-web-page-urlbrand2.2.0+Settings
premium-url“Account” button; “Renew” from 3 days before expire onwardsbrand2.2.0+Happ / INCY way
announce-url“Learn more” link under the announcementbrand2.2.0+Happ / INCY way
support-email“Email” button (mailto:)brand2.2.0+Happ / INCY way
profile-descriptionDescription under the subscription title: three lines, full text on tap; up to 500 charactersbrand2.2.0+Happ / INCY way
sub-info-textHapp info banner and its button: sub-info-button-text, sub-info-button-link, sub-info-colorbrand2.2.0+Happ / INCY way
banner-textINCY info banner: banner-button-text, banner-button-url, colors banner-bg-color, banner-button-colorbrand2.2.0+Happ / INCY way
sub-expire1 — Happ expiry banner from 3 days before expire onwards; button — sub-expire-button-linkbrand2.2.0+Happ / INCY way
expiry-banner-textINCY expiry banner, its button and colors: expiry-banner-button-text, -button-url, -bg-color, -text-color and othersbrand2.2.0+Happ / INCY way

#Hidinghide

Hiding keys
KeyWhat it doesFeatureVersionWhere
hide-settingsHides server details: address, SNI, UUID, keys, transport; no copying, QR, sharing or editing. Lifted only by an explicit 0 with a valid licensehide2.1.0 2.2.0Rule. In Settings only if you accept hiding in Happ as well: it reads the same key
hide-urlThe subscription link cannot be viewed, copied or exported. Lifted only by an explicit 0hide2.2.0+Rule
hide-checkHides the “Subscription check” screen for this subscription. Do not set it while testinghide2.2.0+Rule

#Routingrouting

Routing keys
KeyWhat it doesFeatureVersionWhere
routingHapp 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/offrouting2.1.0 2.2.03.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-enable2.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 offrouting2.1.0 2.2.0Happ / INCY way
autoroutingINCY profile by an https link with auto-updaterouting2.2.0+Settings
routing-geo-update-intervalHow often to update the profile's geo files, hours 1–8760routing2.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+

App management keys
KeyWhat it doesFeatureVersionWhere
fallback-urlFallback subscription address (https): the main one gets one attempt, then the same request goes to the fallbackapp2.2.0+Settings only: https://<fallback-domain>/{{SHORT_UUID}}
new-urlMoves the subscription to a new address (https). Header of the main address onlyapp2.2.0+Rule — only Wrabbit moves; Settings — Happ and INCY subscribers move too
new-domainMoves to a new domain (bare host, Punycode). Header onlyapp2.2.0+Same as new-url
subscription-request-timeoutFetch attempt timeout, 5–15 sapp2.2.0+Happ / INCY way
wrabbit-service-checksYour own Auto service checks instead of the default list: a JSON array or base64:, up to 8 servicesapp2.2.0+Rule
subscription-autoconnectConnect a server of the subscription when the app startsapp2.2.0+Happ / INCY way
subscription-autoconnect-typelastused, lowestdelay or randomapp2.2.0+Happ / INCY way
subscription-ping-onopen-enabledMeasure servers when the app opensapp2.2.0+Happ / INCY way
ping-typeMeasurement method: proxy, proxy-head, tcp, icmpapp2.2.0+Happ / INCY way
check-url-via-proxyCheck address for measuringapp2.2.0+Happ / INCY way
proxy-ping-timeoutMeasurement timeout, 5–15 sapp2.2.0+Happ / INCY way
subscriptions-sort-typeServer order: without, ping, alphabetapp2.2.0+Happ / INCY way
sort-orderThe same, INCY name: none, ping, nameapp2.2.0+Happ / INCY way
subscription-auto-update-open-enableUpdate the subscription every time the app opensapp2.2.0+Happ / INCY way
notification-subs-expireLocal subscription expiry remindersapp2.2.0+Happ / INCY way
fragmentation-enableTLS fragmentation and its parameters fragmentation-packets, -length, -interval, -maxsplitapp2.2.0+Happ / INCY way
noises-enableNoises together with fragmentation: noises-packet-type, noises-packet, noises-delayapp2.2.0+Happ / INCY way
mux-enableXray multiplexing: mux-tcp-connections, mux-xudp-connections, mux-quicapp2.2.0+Happ / INCY way
exclude-routesIPs and CIDRs outside the tunnelapp2.2.0+Happ / INCY way
include-all-networks-enableTurns on “Kill Switch” for servers from the selected subscription and locks the mode switch where available. See availability by build.app2.2.0+Test subscription first
exclude-local-networks-enableLocal networks outside the tunnel for the selected server on supported buildsapp2.2.0+Happ / INCY way
exclude-apns-enableApple push service outside the tunnel for the selected server on supported buildsapp2.2.0+Happ / INCY way
dns-from-json-enableTunnel DNS from dns.servers of the full Xray JSONapp2.2.0+Happ / INCY way
sniffing-enableClient inbound sniffing on top of the templateapp2.2.0+Happ / INCY way
server-address-resolve-enableResolve the server name over DoH: -dns-domain, -dns-ipapp2.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

Service response keys
KeyWhat it doesFeatureVersionWhere
x-wrabbit-ruleRule 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-activeThe panel enforces a device limit for this subscriptionFree2.2.0+Set by the panel
x-hwid-limitThe panel's device-limit responseFree2.2.0+Set by the panel
x-hwid-max-devices-reachedDevice limit reached: the new device was not acceptedFree2.2.0+Set by the panel
x-hwid-not-supportedThe request had no HWID, but the panel requires oneFree2.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.

Subscription request headers
HeaderValueVersion
User-AgentWrabbit/<version>, e.g. Wrabbit/2.2.0. 2.1.0 sends exactly Wrabbit — it does not match the ^Wrabbit/ rule2.1.0 2.2.0
x-hwidA random install UUID: kept in the Keychain, survives reinstalling2.1.0 2.2.0
x-device-osiOS or macOS. 2.1.0 on a Mac sends iOS2.1.0 2.2.0
x-ver-osSystem version as three numbers, e.g. 26.0.0 or 18.6.22.1.0 2.2.0
x-device-modelModel: iPhone15,3, on a Mac — Mac14,2. 2.1.0 on a Mac sends arm642.1.0 2.2.0
x-wrabbit-decryptWhich age bodies the client can decrypt. Use only CONTAINS in a rule condition2.2.0+
Cache-Controlno-cache (and Pragma: no-cache): the subscription response is never taken from a cache2.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.

Server keys
KeyWhat it doesVersion
serverDescriptionCaption under the server name: a #Name?serverDescription=… parameter or meta.serverDescription in Xray JSON. Remnawave puts it into JSON only with additionalExtendedClientsRegex2.2.0+
wrab-zoneServer zone in vless://: direct or wl2.1.0 2.2.0
wrabbit-tagsHost tags WL, NO_AUTO, ONLY_MOBILE, ONLY_WIFI in a link; carried by Host Mapper2.2.0+
wrabbit.tagsThe same tags in Xray JSON; carried by Host Mapper2.2.0+
~A mark in the server name: available for manual choice, but not used by Auto2.1.0 2.2.0
only MobileWords in the name: the server shows only on cellular; only Wi-Fi — only on Wi-Fi2.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: for routing-enable and dont-use-filter only 1 or true mean yes (2.1.0 reads routing-enable as 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 into base64:… 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 accept tg: and mailto:; other branding buttons (support-url, profile-web-page-url, premium-url, announce-url) take http(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.

Remnawave → Response Rules → Wrabbit ruleJSON
{
  "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

Subscription Settings → Custom Response Headerstext
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:

External Squad → response headersJSON
{
  "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:

Subscription Settings → Custom Response Headerstext
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.

Terminalbash
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
  1. The panel's built-in headers: content-disposition, subscription-userinfo, x-hwid-active; in 2.x also headers from settings fields.
  2. customResponseHeaders with placeholders: they override built-ins with the same name.
  3. Squad: in 2.x responseHeaders replaces the whole Settings set; in 3.x names from responseHeadersRemove are removed first, then responseHeadersAdd keys are added and override.
  4. The rule with applyHeadersToEnd: true comes 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.

Updated November 27, 2026 · Found a mistake? →