Browse tag slugs and inspect bundles

Browse reader tags by slug or see which content and subscriptions a bundle includes. Reader tags label accounts. Content taxonomies classify articles.

TaskOperationReturned records
Browse tag slugsGET /api/v1/admin/tagsTag slugs across publication contexts
Browse bundlesGET /api/v1/admin/bundlesBundles for the caller’s eligible partners, potentially across publications
Inspect one bundleGET /api/v1/admin/bundles/{id}One bundle in the caller’s eligible partner context

Context and examples

Allowed roles: readonly, manager, support, admin, partner; root is also permitted. Send the assigned token. Service accounts cannot use these routes, including those with full_access. Keep privileged calls in trusted server code.

InputLocation / typeMeaning
tokenRequired header, existing eligible token stringADMIN_TOKEN in examples.
resourcePublication public-key header; required for bundle callsSupplies current publication context. Returned records can span publications. The tag call does not require publication context.
idBundle-detail path, digit stringKnown numeric bundle record ID, not a content key or subscription ID.

The caller must be active; their current publication relationship, when present, must not be locked or suspended. Session checks can reject revoked, expired or compromised tokens. Bundles require publication context; tags do not. No target reader is selected.

Examples use fictional slug newsletter, bundle 8101, key example-article, subscription 3001 and Plan 5001, with existing eligible partner context. Responses are excerpts. Requests use cURL, Node.js 18+ fetch in an ES module (.mjs), and Python 3 urllib. Set WALLKIT_API_BASE to scheme and host only, plus ADMIN_TOKEN and RESOURCE_KEY. Tag results can span publication contexts. example.com is stored metadata. See shared errors.

Browse tag slugs

GET /api/v1/admin/tags

Read tag slugs, not article taxonomies or one reader’s attached tags.

Before you call

Tag slugs can come from multiple publication contexts. Origin is not returned, and repeated slugs may appear. Use the reader tag read to inspect labels for an intended reader and publication.

Send an allowed Admin token. Publication context, reader ID and group key are not required.

Request

No body is needed.

Query inputType / requirementMeaning and constraints
pageOptional integer; send 1 explicitlySend a positive page, such as 1; the omitted-page default is unspecified.
limitOptional integer; default 10Send a positive page size, such as 10. No maximum is specified here.
filterOptional bracket map or JSON-string field mapMetadata-derived tag fields. A slug text filter uses case-insensitive substring matching, not a unique lookup. Use a known slug filter and inspect returned text; slugs alone do not identify their publication or reader.

by/sort/order are not used; order is unspecified. Some invalid filters can fail while unknown fields may be ignored.

Response fields

HTTP 200 returns items and the common paginator. Items contain only slug.

FieldType / presenceMeaning
items[].slugStored text / nullable model field; selected in each rowTag slug. No universal decoding/normalization or null-coercion guarantee for this response.

items is an object array, not strings or a key map. No tag ID, resource_id, reader link, timestamps, classification or origin flag is added.

Example: Read one tag page

curl "${WALLKIT_API_BASE}/api/v1/admin/tags" \
  -X GET \
  -H "resource: ${RESOURCE_KEY}" \
  -H "token: ${ADMIN_TOKEN}" \
  --get \
  --data-urlencode 'page=1' \
  --data-urlencode 'limit=10'
const url = new URL(`${process.env.WALLKIT_API_BASE}/api/v1/admin/tags`);
url.search = new URLSearchParams({"page": "1", "limit": "10"}).toString();
const response = await fetch(url, {
  method: "GET",
  headers: {"resource": process.env.RESOURCE_KEY, "token": process.env.ADMIN_TOKEN}
});
console.log(response.status, await response.json());
import os, json
from urllib.request import Request, urlopen
from urllib.error import HTTPError
from urllib.parse import urlencode

url = os.environ["WALLKIT_API_BASE"] + "/api/v1/admin/tags"
url += "?" + urlencode({'page': '1', 'limit': '10'})
request = Request(
    url,
    headers={"resource": os.environ["RESOURCE_KEY"], "token": os.environ["ADMIN_TOKEN"]},
    method="GET"
)
try:
    with urlopen(request) as response:
        print(response.status, json.load(response))
except HTTPError as error:
    print(error.code, json.load(error))

HTTP 200 response:

{
  "items": [
    {
      "slug": "newsletter"
    }
  ],
  "paginator": {
    "current_page": 1,
    "page": 1,
    "total_pages": 1,
    "total_items": 1,
    "limit": 10
  }
}

The slug does not identify a publication, global origin or attached reader.

Alternative: No selected tag rows

HTTP 200 excerpt, paginator omitted:

{
  "items": []
}

No rows matched this page/query. It says nothing about one publication’s or reader’s tags.

Recovery

HTTP statusAPI code / shapeCauseNext action
200items[] empty, with paginatorNo rows selected for the page/query.Check page and intended fields; display an empty result without inferring publication/reader state.
409invalid_{field}, with validation messageThe filter's first reported validation/build error. Exact suffix/message depends on the failure.Correct the reported input; do not assume all unknown fields produce this branch.
Varies / no guaranteed JSONQuery/response-format/transport failureNot every failure is converted into a validation error or empty success.Keep any request reference and ask the integration operator to inspect the failure.

See shared errors. Browse taxonomies for article classification.

Browse bundles

GET /api/v1/admin/bundles

List bundles for the caller’s eligible partners.

Before you call

Selection is by caller-eligible partners, not the header publication alone. It uses qualifying administrator relationships with active publications/partners and caches the selection for 180 seconds. Root still uses this check; it does not automatically select every partner.

Send the token and publication context for an already eligible partner. Linked records can belong to other publications. Subscriptions and Plans can be inactive or private; content shows stored metadata and its publication timestamp. These are configured links, rather than purchase availability or reader access.

Request

No body is needed. The primary example omits filters.

Query inputType / requirementMeaning and constraints
pageOptional integer; send 1 explicitlySend a positive page, such as 1; the omitted-page default is unspecified.
limitOptional integer; default 10Send a positive page size, such as 10. No maximum is specified here.
byOptional known field string; default idSort field; no order alias or stable tie order is promised.
sortOptional direction string; default DESCUse ASC or DESC.
filterOptional bracket map or JSON-string field mapMetadata-derived bundle fields; unknown/invalid fields are not uniformly rejected. Caller partner eligibility remains part of selection.

Response

HTTP 200 returns items and the common paginator. Each uses bundle fields, content fields and subscription/Plan fields. Bundle items.content and items.subscriptions differ from the outer items array.

Example: Read configured bundles

Assume bundle 8101 has an eligible partner and valid links. Bundle/content and immediate Plan/child fields are complete; the subscription is an excerpt. Inactive subscription/Plan settings do not prevent this configuration read.

curl "${WALLKIT_API_BASE}/api/v1/admin/bundles" \
  -X GET \
  -H "resource: ${RESOURCE_KEY}" \
  -H "token: ${ADMIN_TOKEN}" \
  --get \
  --data-urlencode 'page=1' \
  --data-urlencode 'limit=10' \
  --data-urlencode 'by=id' \
  --data-urlencode 'sort=ASC'
const url = new URL(`${process.env.WALLKIT_API_BASE}/api/v1/admin/bundles`);
url.search = new URLSearchParams({"page": "1", "limit": "10", "by": "id", "sort": "ASC"}).toString();
const response = await fetch(url, {
  method: "GET",
  headers: {"resource": process.env.RESOURCE_KEY, "token": process.env.ADMIN_TOKEN}
});
console.log(response.status, await response.json());
import os, json
from urllib.request import Request, urlopen
from urllib.error import HTTPError
from urllib.parse import urlencode

url = os.environ["WALLKIT_API_BASE"] + "/api/v1/admin/bundles"
url += "?" + urlencode({'page': '1', 'limit': '10', 'by': 'id', 'sort': 'ASC'})
request = Request(
    url,
    headers={"resource": os.environ["RESOURCE_KEY"], "token": os.environ["ADMIN_TOKEN"]},
    method="GET"
)
try:
    with urlopen(request) as response:
        print(response.status, json.load(response))
except HTTPError as error:
    print(error.code, json.load(error))

HTTP 200 response excerpt:

{
  "items": [
    {
      "id": 8101,
      "title": "Example bundle",
      "price": 500,
      "currency": "USD",
      "created_at": "2026-10-01 12:00:00",
      "items": {
        "content": [
          {
            "key": "example-article",
            "title": "Example article",
            "description": "An illustrative description.",
            "price": 0,
            "currency": "USD",
            "extra": {},
            "link": "https://example.com/articles/example-article",
            "created_at": "2026-10-01 12:00:00",
            "updated_at": "2026-11-01 12:00:00",
            "published_at": null,
            "images": [],
            "is_payable_content": false
          }
        ],
        "subscriptions": [
          {
            "id": 3001,
            "title": "Example subscription",
            "plan_id": 5001,
            "price": 500,
            "currency": "USD",
            "active": false,
            "private": false,
            "public": true,
            "next_subscription": null,
            "downgrade_subscription": null,
            "plan": {
              "id": 5001,
              "title": "Example Plan",
              "slug": "example-plan",
              "description": "Illustrative configuration.",
              "full_access": false,
              "predictive_paywall": false,
              "predictive_percents": null,
              "can_own_teams": false,
              "priority": 1,
              "private": false,
              "active": false,
              "extra": {},
              "public": true,
              "subscriptions": [
                {
                  "id": 3001,
                  "title": "Example subscription",
                  "price": 500,
                  "currency": "USD",
                  "period": "1 month"
                }
              ]
            }
          }
        ]
      }
    }
  ],
  "paginator": {
    "current_page": 1,
    "page": 1,
    "total_pages": 1,
    "total_items": 1,
    "limit": 10
  }
}

Alternative: No selected bundle rows

HTTP 200 excerpt, paginator omitted:

{
  "items": []
}

This is the ordinary empty selection. Failed queries or invalid links may return differently. Existing bundles can also have empty content/subscription arrays.

Recovery

HTTP statusAPI code / shapeCauseNext action
200outer items[] empty, with paginatorNo selected bundle rows.Check page and intended configuration with the integration operator; display an empty list.
Varies / no guaranteed JSONEligibility-query/filter/query/linked-data/transport failureNo universal failure-to-empty conversion, including empty helper selections.Keep any request reference and ask the integration operator to inspect the failure.

See shared errors. Read a bundle ID for detail.

Inspect a bundle by ID

GET /api/v1/admin/bundles/{id}

Read a bundle with its configured articles and subscriptions.

Before you call

Choose a known bundle ID from the caller’s cached eligible partner selection. Root uses the same eligibility rules. Missing or ineligible records share 404. Linked records can belong to other publications. Subscriptions and Plans can be inactive or private; content shows stored metadata and its publication timestamp.

Send the token, publication context and known numeric bundle ID from the list. Digit IDs are converted to integers; nondigit paths do not guarantee this JSON error.

Request

Body, filters, pagination, sorting and expansion options are ignored. Use bundle ID 8101, not a content key or catalog ID.

Response

HTTP 200 returns a bundle with 12-field content and subscriptions/expanded Plans, without outer items/paginator. Its own items object always contains content/subscriptions arrays, including empty ones. No sum, discount, checkout or access decision is added.

Example: Read bundle 8101

This uses the list’s fictional configuration and excerpt rules: full bundle/content and immediate Plan/child, partial general subscription.

curl "${WALLKIT_API_BASE}/api/v1/admin/bundles/8101" \
  -X GET \
  -H "resource: ${RESOURCE_KEY}" \
  -H "token: ${ADMIN_TOKEN}"
const url = new URL(`${process.env.WALLKIT_API_BASE}/api/v1/admin/bundles/8101`);
const response = await fetch(url, {
  method: "GET",
  headers: {"resource": process.env.RESOURCE_KEY, "token": process.env.ADMIN_TOKEN}
});
console.log(response.status, await response.json());
import os, json
from urllib.request import Request, urlopen
from urllib.error import HTTPError

url = os.environ["WALLKIT_API_BASE"] + "/api/v1/admin/bundles/8101"
request = Request(
    url,
    headers={"resource": os.environ["RESOURCE_KEY"], "token": os.environ["ADMIN_TOKEN"]},
    method="GET"
)
try:
    with urlopen(request) as response:
        print(response.status, json.load(response))
except HTTPError as error:
    print(error.code, json.load(error))

HTTP 200 response excerpt:

{
  "id": 8101,
  "title": "Example bundle",
  "price": 500,
  "currency": "USD",
  "created_at": "2026-10-01 12:00:00",
  "items": {
    "content": [
      {
        "key": "example-article",
        "title": "Example article",
        "description": "An illustrative description.",
        "price": 0,
        "currency": "USD",
        "extra": {},
        "link": "https://example.com/articles/example-article",
        "created_at": "2026-10-01 12:00:00",
        "updated_at": "2026-11-01 12:00:00",
        "published_at": null,
        "images": [],
        "is_payable_content": false
      }
    ],
    "subscriptions": [
      {
        "id": 3001,
        "title": "Example subscription",
        "plan_id": 5001,
        "price": 500,
        "currency": "USD",
        "active": false,
        "private": false,
        "public": true,
        "next_subscription": null,
        "downgrade_subscription": null,
        "plan": {
          "id": 5001,
          "title": "Example Plan",
          "slug": "example-plan",
          "description": "Illustrative configuration.",
          "full_access": false,
          "predictive_paywall": false,
          "predictive_percents": null,
          "can_own_teams": false,
          "priority": 1,
          "private": false,
          "active": false,
          "extra": {},
          "public": true,
          "subscriptions": [
            {
              "id": 3001,
              "title": "Example subscription",
              "price": 500,
              "currency": "USD",
              "period": "1 month"
            }
          ]
        }
      }
    ]
  }
}

Alternative: Missing or ineligible bundle

HTTP 404 response:

{
  "error": "bundle_not_found",
  "error_description": "Bundle not found",
  "req_guid": "synthetic-request-reference"
}

This response does not distinguish absent from partner-ineligible bundles or establish global absence.

Recovery

HTTP statusAPI code / shapeCauseNext action
404bundle_not_found / Bundle not foundBundle missing or its partner not eligible for the caller.Check the known ID and expected configuration with the integration operator; retain the error reference.
200items.content[] and/or items.subscriptions[] emptyNo selected joined records in that group.Display the bundle's recorded groups; do not label the bundle missing.
Routing-dependentNo guaranteed action-level JSONNondigit ID path does not match the registered route.Use the known numeric ID from the list.
Varies / no guaranteed JSONEligibility-query/linked-data/query/transport failureErrors can use different formats; missing linked records may cause failure.Keep any request reference and ask the integration operator to inspect the failure.

See shared errors. Read content detail for richer metadata when you know its publication/key. Bundle children do not supply a publication ID or access grant.

Bundle fields and linked records

Both bundle routes return these fields. The outer list’s items is an array; each bundle’s own items groups its linked records.

FieldType / presenceMeaning
idInteger; presentBundle ID.
titleStored text / nullable; presentBundle display name.
priceInteger; presentStored bundle amount, currency units unspecified. No sum/discount calculation or price reconciliation is performed.
currencyStored string / nullable; presentCurrency code; no conversion.
created_atStored timestamp string; presentBundle creation time; timezone unspecified.
itemsObject; presentExactly content and subscriptions arrays, each empty when no selected linked records exist.
items.content[]Content object defined belowLinked content, potentially unpublished or from other publications.
items.subscriptions[]Subscription object defined belowLinked subscriptions, potentially from other publications or with inactive/private settings.

Bundle description, updated_at, partner_id, resource_id and VAT are absent. Links can span publications. Order and uniqueness are unspecified; missing links or malformed stored values may fail the response rather than be skipped.

Bundle content fields

Content children contain these 12 keys, without numeric content ID, taxonomy, VAT or content_type:

FieldType / presenceMeaning
keyStored string; selectedContent key, not numeric record ID.
titleHTML-entity-decoded text; selectedDisplay title; exact null coercion not promised.
descriptionHTML-entity-decoded text; selectedMetadata description, not proof of protected article delivery.
priceInteger; selectedStored amount, currency units unspecified.
currencyStored string / nullable; selectedCurrency code, without conversion.
extraDecoded array-object; selectedContent-defined data, empty-object fallback; malformed/scalar stored JSON has no usable-schema guarantee.
linkStored text / nullable; selectedMetadata link, not a tested reachable page or access credential.
created_atStored timestamp; selectedRecord creation time, timezone unspecified.
updated_atStored timestamp; selectedRecord update time, timezone unspecified.
published_atStored timestamp / nullable; selectedPublication metadata, not current visibility or an access grant.
images[]Array; always presentEach image has exactly url,width,height,created_at. Empty if none; no ID/title/hash expansion or fetched-image availability claim.
is_payable_contentBoolean; presentWhether stored price exceeds zero; not a reader-access result.

Image url is stored text/null. width/height are integer/null stored dimensions without a unit conversion. created_at is the image-row timestamp with unspecified timezone. None confirms file availability.

Bundle subscription fields

Use general subscription fields, including conditional Admin timestamps/country_vat and next/downgrade objects. Its immediate plan uses the expanded fields below. Next/downgrade Plans stay compact.

The immediate Plan has these 14 fields, matching catalog field meanings:

FieldType / presenceMeaning
idInteger; presentPlan ID.
title, slug, descriptionStored text / nullable; presentPlan name, label and description.
full_accessBoolean; presentConfigured rule flag; reading it grants no access.
predictive_paywallStored flag; presentPredictive-rule setting, not uniformly normalized to boolean.
predictive_percentsStored numeric / nullable; presentPredictive-rule percentage, not price.
can_own_teamsStored flag; presentConfigured team support, not caller privilege.
priorityInteger; presentConfigured ranking, not a universal result order.
private, activeBoolean; presentVisibility/activation configuration; linked inactive/private records can be returned.
extraDecoded JSON / nullable stored value; presentApplication-defined Plan data, no closed schema.
publicBoolean; presentInverse of private, independent of active.
subscriptions[]Array; presentLightweight child subscriptions of the returned Plan, exactly id,title,price,currency,period. These catalog choices can be inactive or private.

Lightweight child id/price are integers; title/currency/period are stored text or null. Plan timestamps, resource_id and settings are absent. Missing Plan data can fail the response rather than fall back. Next subscription keeps its defined general fields; downgrade keeps its public fields, with compact Plans and nested limits.

Full diagram

Use the arrow keys to scroll. Escape closes this view.

Search documentation

Enter at least 2 characters.

    ↑ ↓ move through results · Enter opens · Escape closes