Superwall

by superwalla64b7d1b6392No license30 starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated 2 days ago

Provides Superwall REST API access, documentation lookup, SDK integration triage, dashboard linking, and SDK source cloning. Use when the user asks about Superwall paywalls, campaigns, subscriptions, API usage, SDK integration, webhook events, or debugging SDK behavior.

AI-generated overview

Provides Superwall REST API access, documentation lookup, SDK integration triage, dashboard links, and SDK source cloning.

What it does
Wraps the Superwall REST API V2 through a bundled bash helper script, supporting project and application discovery, creation, and updates with cursor-based pagination. It also guides fetching live Superwall documentation, dashboard URL patterns, webhook and integration catalogs, and cloning SDK repositories for debugging. Reference files cover SDK integration and SDK source workflows.
When to use it
Use when a user asks about Superwall paywalls, campaigns, subscriptions, API usage, SDK integration, webhook events, or debugging SDK behavior. It suits both read-only analysis and full API operations against an organization's projects and applications.
Requirements
Requires the SUPERWALL_API_KEY environment variable (org-scoped bearer token) for REST calls, jq for the --help flag, curl for documentation and webhook fetches, and network access. Ships an executable script at scripts/sw-api.sh plus reference documents.

Superwall

API Access

A bash helper is included at {baseDir}/scripts/sw-api.sh. It wraps the Superwall REST API V2.

Requires: SUPERWALL_API_KEY environment variable (org-scoped bearer token).

bash
# List all routes with methods (fetches live OpenAPI spec, no API key needed){baseDir}/scripts/sw-api.sh --help
# Show full spec for a specific route (params, request body, responses){baseDir}/scripts/sw-api.sh --help /v2/projects
# List all projects (start here to discover the org structure){baseDir}/scripts/sw-api.sh /v2/projects
# Get a specific project (includes its applications){baseDir}/scripts/sw-api.sh /v2/projects/{id}
# Create a project{baseDir}/scripts/sw-api.sh -m POST -d '{"name":"My Project"}' /v2/projects
# Update a project{baseDir}/scripts/sw-api.sh -m PATCH -d '{"name":"Renamed"}' /v2/projects/{id}

The --help flag requires jq.

Data hierarchy

Organization → Projects → Applications. Each application has a platform (ios, android, flutter, react_native, web), a bundle_id, and a public_api_key (used for SDK initialization — distinct from the org API key used for REST calls).

Bootstrap workflow

  1. Call GET /v2/projects to list all projects
  2. Find the project matching the user's context
  3. Inspect its applications array to find the right platform
  4. Use the application's public_api_key for SDK init, the org SUPERWALL_API_KEY for REST API calls

Pagination

Cursor-based. Responses include has_more. Pass limit (1-100), starting_after, or ending_before as query params.


API Key Setup

API keys are org-scoped — one key grants access to all projects and applications in the organization.

  • Get an API key: https://superwall.com/select-application?pathname=/applications/:app/settings/api-keys
  • Store the key as SUPERWALL_API_KEY in the environment.

Required scopes

For full use of this skill, the API key requires all scopes. However, you may also provision just read access if you'll just be doing analysis.


Documentation

All Superwall documentation is available in machine-readable formats. Do not hardcode doc content — always fetch live.

ResourceURLUse when
Doc indexhttps://superwall.com/docs/llms.txtFinding the right doc page for a topic
Full docshttps://superwall.com/docs/llms-full.txtNeed comprehensive context across many topics
Single pagecurl -sL https://superwall.com/docs/{path}.mdReading a specific doc page

Platform doc prefixes

  • iOS: /docs/ios/
  • Android: /docs/android/
  • Flutter: /docs/flutter/
  • Expo: /docs/expo/
  • React Native: /docs/react-native/
  • Dashboard: /docs/dashboard/
  • Web Checkout: /docs/web-checkout/
  • Integrations: /docs/integrations/

Tip: Fetch llms.txt first to find the exact path, then fetch that page with curl -sL.


SDK Integration

For SDK integration, use the platform-specific quickstart skills when available:

PlatformSkill
iOS (Swift/ObjC)superwall-ios-quickstart
Android (Kotlin/Java)superwall-android-quickstart
Fluttersuperwall-flutter-quickstart
Exposuperwall-expo-quickstart

For platforms without a dedicated skill (React Native), or when the quickstart skills are not installed, follow the live-doc workflow in references/sdk-integration.md [blocked].


Dashboard Links

URL patterns for linking users to Superwall dashboard pages. See references/dashboard-links.md [blocked].


SDK Source (for debugging)

Clone SDK repos locally to trace internal behavior. See references/sdk-source.md [blocked].


Webhooks & Integrations

Live integration catalog (same source the Superwall dashboard pulls from):

bash
curl -s https://webhooks.superwall.me/integrations

Always fetch live — do not cache.

For general webhook and event documentation, fetch from the docs:

  • Webhook setup: curl -sL https://superwall.com/docs/integrations/webhooks.md
  • Event catalog: Fetch https://superwall.com/docs/llms.txt and search for "events" or "analytics" to find the full event type reference

Source and attribution

Source:superwall/skillsintmp/.agents/skills/superwallat commita64b7d1

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal