Skip to content

Subscription-less APIs

A subscription-less API is a published API proxy that is not tied to subscription plans in the Developer Portal. API consumers do not need to select a subscription plan or subscribe through the standard subscription flow to consume the API, though you may still secure the API using other mechanisms (for example, API keys or OAuth configured on the API).

Use subscription-less publishing when you want the API to be discoverable in the Developer Portal without enforcing plan-based quotas and rules that come from Subscription plans.

Before you begin

  • The API proxy is deployed to your Self-Hosted Gateway and works as expected in your environments. See Getting Started with Self-Hosted Gateway.
  • You have permission to change the API lifecycle (typically API publisher or equivalent).

Do not assign subscription plans

Subscription-less behavior applies when no subscription plans are active for the API:

  1. Sign in to the API Platform Console.
  2. Open the project and select the API proxy.
  3. In the left navigation menu, click Manage and then Monetize.
  4. Ensure Subscription Plan Status is disabled (off) for all plans. For background on plans, see Assign Subscription Plans to APIs.

    Subscription Plans page listing 3PerMin, Bronze, Gold, Silver, and Unlimited plans with all Enabled toggles turned off

If any plan is enabled for the API, consumers may be guided through subscription and plan selection for that API; that pattern is described in Subscription-based APIs.

Publish the API

  1. In the left navigation menu, click Manage and then Lifecycle.

    Lifecycle Management page showing API in Created state with Pre-release and Publish action buttons and state transition diagram

  2. When the API is ready for external consumers, click Publish.

  3. In the publish dialog, confirm the display name and click Confirm. The lifecycle state becomes Published.

    Lifecycle Management page showing API in Published state with Pre-release, Demote to Created, and Deprecate action buttons

Invoke the API

  1. Navigate to Developer Portal by clicking Developer Portal.

    API Platform Console header showing AI Workspace and Developer Portal navigation buttons

  2. Consumers can find the API in the Developer Portal by going to APIs.

    Developer Portal API card for ReadingSelfRC NoSub v1.0 REST API with no subscription plans or Subscribe button

  3. Receive the cURL to invoke the API by navigating to the Documentation.

    API documentation page for GET /books endpoint showing cURL sample without Subscription-Key header

  4. Invoke API.

    curl --request GET \
    --url <api-invocation-url> \
    --header 'Accept: application/json' -k