Read configured linked Plan candidates

Look up configured Plan choices

GET /api/v1/admin/teams/{id}/plans

Read configured linked Plan candidates across the catalog. Configured results can span multiple publications; they describe configuration rather than options available to the team in the URL.

Use these records to inspect configured Plan links. Confirm the intended Plan, publication and team eligibility through your existing catalog and team records before selecting a choice.

Before you call

Allowed roles: readonly, manager, support, admin, partner; root is also permitted. Send the assigned token and publication key for caller context. Service accounts cannot use this route, including those with full_access. Keep privileged calls in trusted server code.

The caller must be active; their current publication relationship, when present, must not be locked or suspended. A returned candidate does not establish available seats, purchase eligibility, reader access or permission to create a team.

Request

No body is needed. Sort/order inputs are not used.

InputLocation / typeMeaning and constraints
resourceRequired header, publication public-key stringCaller’s existing publication context. Results are catalog candidates and can span publications. Not a numeric ID or private secret.
tokenRequired header, existing eligible token stringADMIN_TOKEN in examples.
idDigits-only route valueRequired numeric value in the route. The returned collection is configured Plan candidates, rather than a team-specific list.
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 scalar bracket field mapMetadata-based linking/source Plan and subscription filtering. A Plan-qualified field targets the linking/source Plan, not the returned Plan alias. Unknown/invalid filters are not uniformly rejected.

Use the filter format below, not the catalog list’s JSON-string/array Criteria behavior or nested-choice pruning. The example omits filters.

Response fields

HTTP 200 normally returns items and the common paginator. Each Plan has the following fields plus subscriptions, differing from catalog detail and its expanded nested Plan.

FieldType / meaning
idInteger returned Plan identifier, not the route team ID.
titleStored Plan display-name text, potentially null.
slugStored Plan label text, potentially null.
descriptionStored Plan description text, potentially null.
full_accessBoolean configured access-rule flag; not a reader access result.
predictive_paywallStored predictive-rule flag; not uniformly normalized to JSON boolean.
predictive_percentsStored predictive-rule percentage, potentially null; not a price.
can_own_teamsStored Plan flag, selected false by this read. Not a current caller/team permission.
priorityInteger configured priority; no sort order is implied by this field.
privateBoolean stored visibility flag; private records can be returned.
activeBoolean stored activation flag, selected true here.
created_atStored Plan creation timestamp; timezone unspecified.
updated_atStored Plan update timestamp; timezone unspecified.
subscriptionsArray of the general subscription records described below, possibly empty. The output key is subscriptions, not team_subscriptions.

No outer extra, public, taxonomy/content-type rules or extras counts are added. Its timestamps belong to the Plan; nested subscription timestamps are separate and conditional.

Each subscriptions[] entry uses general subscription fields plus users_limit: a stored numeric limit or null, not remaining seats. Its Plan stays compact. Next/downgrade choices use the nested limits and compact Plans in that definition. Subscription timestamps/country_vat require Admin context; see country VAT fields. Amount units are unspecified.

Nested references can belong to other publications. No team/profile, activated membership, credential, usage count or remaining-seat result is added. Missing related records can fail processing instead of becoming null or skipped.

Example: Read configured linked candidates

Examples use fictional IDs and illustrative 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 existing RESOURCE_KEY and ADMIN_TOKEN.

Use the known intended team 7001 when forming the route. The example illustrates configured Plan 5001 and choice 3001, rather than a team-specific selection. Outer Plan fields are shown; the nested choice and compact Plan are excerpts.

curl "${WALLKIT_API_BASE}/api/v1/admin/teams/7001/plans" \
  -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/teams/7001/plans`);
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/teams/7001/plans"
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 excerpt:

{
  "items": [
    {
      "id": 5001,
      "title": "Linked Plan candidate",
      "slug": "linked-plan",
      "description": "An illustrative configured linked Plan.",
      "full_access": false,
      "predictive_paywall": 0,
      "predictive_percents": null,
      "can_own_teams": false,
      "priority": 10,
      "private": true,
      "active": true,
      "created_at": "2026-10-01 12:00:00",
      "updated_at": "2026-11-01 12:00:00",
      "subscriptions": [
        {
          "id": 3001,
          "title": "Example subscription",
          "plan_id": 5001,
          "active": true,
          "private": true,
          "public": false,
          "users_limit": 5,
          "plan": {
            "id": 5001,
            "title": "Linked Plan candidate",
            "extra": {}
          },
          "next_subscription": null,
          "downgrade_subscription": null
        }
      ]
    }
  ],
  "paginator": {
    "current_page": 1,
    "page": 1,
    "total_pages": 1,
    "total_items": 1,
    "limit": 10
  }
}

This establishes no relationship with team 7001. The private choice and users_limit 5 are stored configuration, not eligibility or five remaining seats. Outer public/extra are absent even though nested subscription public and compact-Plan extra can appear.

No candidates are selected on the page

HTTP 200 excerpt, paginator omitted:

{
  "items": []
}

An empty result is not team-not-found, proof the team exists, or a list of its eligible choices. Query/response-format failures are not guaranteed to return empty success.

Recovery

HTTP statusAPI code / response shapeCauseNext action
200items [] with paginatorNo selected candidates on this page/query.Handle an empty configured-candidate state; check page/filter context without inferring team existence or eligibility.
200Returned Plan has subscriptions []Top-level and nested selections differ; top matching choices need not be active.Display the empty nested choice list; do not invent an available-seat or team-eligibility result.
Varies / no guaranteed JSONInvalid filter/date, query, linked-record/response-format or transport failureThe response format can vary; do not treat a failed request as an empty catalog.Omit unsupported filter shapes, retain any request reference and ask the integration operator to inspect the configured links.

See shared errors. For a known publication catalog choice, use subscription detail, which selects the outer Plan’s publication and returns different immediate-Plan fields. Confirm team eligibility separately.

How candidate selection differs from nested choices

Two selections contribute to the result:

StageMeaning and limits
Returned Plan candidatesConfigured links connect active source Plans to active returned Plans whose can_own_teams flag is false. Stored source-Plan membership relationships also contribute to candidate selection. Results describe catalog configuration, rather than a particular caller’s or team’s eligible choices. Top-level selection can include an inactive linked subscription.
Each Plan’s subscriptionsA separate selection uses active source/returned Plans and active linked subscriptions belonging to the returned Plan, with returned can_own_teams false. Nested choices can differ from the top-level match and its filters; evaluate the intended choice separately.

Private choices can appear. A Plan can have subscriptions[] empty when top-level matching used inactive choices. Different link limits can produce more than one entry per subscription. Order is unspecified.

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