Solo.io Subscriptions API

Subscription management endpoints

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).
Business capability
API Consumption Governance BC-4270.50

Operations 8

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /apps/{appID}/subscriptions List a single application's subscriptions · List app subscriptions #
Ask an LLM
“Which API products has a particular application subscribed to?”
“Can I see all subscriptions for one app?”
Tell an agent
List the subscriptions for application {appID}.
Show every API product app {appID} is subscribed to.
POST /apps/{appID}/subscriptions Subscribe an application to an API product · Create app subscription #
Ask an LLM
“How do I give an application access to a new API product?”
“Are new app subscriptions created in pending status?”
Tell an agent
Subscribe application {appID} to API product {apiProductId}.
Create a new subscription for app {appID} on product {apiProductId}.
DELETE /apps/{appID}/subscriptions/{subscriptionID} Remove an application's subscription to a product · Delete app subscription #
Ask an LLM
“Can I revoke an application's access to one API product by deleting its subscription?”
“What happens to the app's access when I delete a product subscription?”
Tell an agent destructive · confirm first
Delete subscription {subscriptionID} from application {appID}.
Revoke app {appID}'s subscription {subscriptionID} to its API product.
GET /subscriptions List all subscriptions across apps · List all subscriptions #
Ask an LLM
“Which subscriptions across all applications are still pending?”
“Can I filter every subscription by status?”
Tell an agent
List all subscriptions.
Show subscriptions with status {status}.
DELETE /subscriptions/{subscriptionID} Delete a subscription by ID · Delete subscription #
Ask an LLM
“Can I delete a subscription by its ID without knowing which app it belongs to?”
“What's the way to remove a subscription when I only have its ID?”
Tell an agent destructive · confirm first
Delete subscription {subscriptionID}.
Remove the subscription with ID {subscriptionID}.
POST /subscriptions/{subscriptionID}/metadata Set rate limits and metadata on a subscription · Set subscription metadata (Admin) #
Ask an LLM
“Can I cap how many requests a subscription is allowed?”
“How do I attach custom metadata to a subscription?”
Tell an agent
Set rate limit {rateLimit} on subscription {subscriptionID}.
Add custom metadata {customMetadata} to subscription {subscriptionID}.
POST /subscriptions/{subscriptionID}/{action} Approve or reject a pending subscription · Approve or reject subscription (Admin) #
Ask an LLM
“How do I approve a pending subscription so the app can start using the API?”
“Can an admin reject a subscription that's still pending?”
Tell an agent
Apply action {action} to subscription {subscriptionID}.
Approve pending subscription {subscriptionID} with {action}.
DELETE /subscriptions/{subscriptionId} Revoke an application's access to an API product · Delete subscription #
Ask an LLM
“How do I cut off an application's access to an API product in the portal?”
“What happens to an app's access once its product subscription is deleted?”
Tell an agent destructive · confirm first
Revoke access by deleting portal subscription {subscriptionId}.
Terminate the application's API product access tied to subscription {subscriptionId}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/solo-io:solo-io-subscriptions-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

solo-io-subscriptions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Solo Io Subscriptions API
  version: 1.0.0
  description: 'Operations tagged subscriptions across 2 of this provider''s published API definitions: solo-io-portal-backend-openapi.yml, solo-io-portal-server-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: /v1
  description: API v1 base path
- url: http://portal.example.com/v1
tags:
- name: Subscriptions
  description: Subscription management endpoints
paths:
  /apps/{appID}/subscriptions:
    get:
      summary: List app subscriptions
      description: Returns all subscriptions for an application
      operationId: ListAppSubscriptions
      tags:
      - Subscriptions
      security:
      - bearerAuth: []
      - identityToken: []
      - accessToken: []
      parameters:
      - name: appID
        in: path
        description: Application ID
        required: true
        schema:
          type: string
      responses:
        '200':
          description: List of subscriptions
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Subscription'
        '401':
          description: Authentication required
        '404':
          description: App not found
        '500':
          description: Internal server error
    post:
      summary: Create app subscription
      description: Creates a new subscription for an application to an API product. The subscription starts in pending status.
      operationId: CreateAppSubscription
      tags:
      - Subscriptions
      security:
      - bearerAuth: []
      - identityToken: []
      - accessToken: []
      parameters:
      - name: appID
        in: path
        description: Application ID
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateSubscriptionRequest'
      responses:
        '201':
          description: Subscription created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Subscription'
        '400':
          description: Invalid request - apiProductId required
        '401':
          description: Authentication required
        '404':
          description: App not found
        '409':
          description: Subscription already exists
        '500':
          description: Internal server error
    servers:
    - url: /v1
      description: API v1 base path
  /apps/{appID}/subscriptions/{subscriptionID}:
    delete:
      summary: Delete app subscription
      description: Deletes a subscription from an application
      operationId: DeleteAppSubscription
      tags:
      - Subscriptions
      security:
      - bearerAuth: []
      - identityToken: []
      - accessToken: []
      parameters:
      - name: appID
        in: path
        description: Application ID
        required: true
        schema:
          type: string
      - name: subscriptionID
        in: path
        description: Subscription ID
        required: true
        schema:
          type: string
      responses:
        '204':
          description: Subscription deleted
        '401':
          description: Authentication required
        '500':
          description: Internal server error
    servers:
    - url: /v1
      description: API v1 base path
  /subscriptions:
    get:
      summary: List all subscriptions
      description: Returns all subscriptions across all apps. Optionally filtered by status.
      operationId: ListSubscriptions
      tags:
      - Subscriptions
      security:
      - bearerAuth: []
      - identityToken: []
      - accessToken: []
      parameters:
      - name: status
        in: query
        description: Filter subscriptions by status
        schema:
          $ref: '#/components/schemas/SubscriptionStatus'
      responses:
        '200':
          description: List of subscriptions
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Subscription'
        '401':
          description: Authentication required
        '500':
          description: Internal server error
    servers:
    - url: /v1
      description: API v1 base path
  /subscriptions/{subscriptionID}:
    delete:
      summary: Delete subscription
      description: Deletes a subscription by ID
      operationId: DeleteSubscription
      tags:
      - Subscriptions
      security:
      - bearerAuth: []
      - identityToken: []
      - accessToken: []
      parameters:
      - name: subscriptionID
        in: path
        description: Subscription ID
        required: true
        schema:
          type: string
      responses:
        '204':
          description: Subscription deleted
        '401':
          description: Authentication required
        '500':
          description: Internal server error
    servers:
    - url: /v1
      description: API v1 base path
  /subscriptions/{subscriptionID}/metadata:
    post:
      summary: Set subscription metadata (Admin)
      description: Sets rate limit and custom metadata on a subscription. Requires admin privileges.
      operationId: SetSubscriptionMetadata
      tags:
      - Subscriptions
      security:
      - bearerAuth: []
      - identityToken: []
      - accessToken: []
      parameters:
      - name: subscriptionID
        in: path
        description: Subscription ID
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SetMetadataRequest'
      responses:
        '200':
          description: Subscription metadata updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Subscription'
        '400':
          description: Invalid request or rate limit unit
        '401':
          description: Authentication required
        '403':
          description: Admin access required
        '404':
          description: Subscription not found
        '500':
          description: Internal server error
    servers:
    - url: /v1
      description: API v1 base path
  /subscriptions/{subscriptionID}/{action}:
    post:
      summary: Approve or reject subscription (Admin)
      description: Approves or rejects a pending subscription. Requires admin privileges.
      operationId: SubscriptionAction
      tags:
      - Subscriptions
      security:
      - bearerAuth: []
      - identityToken: []
      - accessToken: []
      parameters:
      - name: subscriptionID
        in: path
        description: Subscription ID
        required: true
        schema:
          type: string
      - name: action
        in: path
        description: Action to perform on the subscription
        required: true
        schema:
          type: string
          enum:
          - approve
          - reject
      responses:
        '200':
          description: Subscription updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Subscription'
        '400':
          description: Invalid action
        '401':
          description: Authentication required
        '403':
          description: Admin access required
        '404':
          description: Subscription not found
        '500':
          description: Internal server error
    servers:
    - url: /v1
      description: API v1 base path
  /subscriptions/{subscriptionId}:
    delete:
      description: Deletes a subscription, revoking the associated application's access to the specified API product.
      operationId: DeleteApplicationProductSubscription
      parameters:
      - description: The unique identifier of the subscription to delete.
        in: path
        name: subscriptionId
        required: true
        schema:
          type: string
      responses:
        '204':
          description: Subscription successfully deleted.
        '400':
          description: Invalid request parameters.
        '403':
          description: Unauthorized to delete subscription.
        '404':
          description: Subscription not found.
        '500':
          description: Internal server error.
      summary: Delete subscription
      tags:
      - Subscriptions
    servers:
    - url: http://portal.example.com/v1
components:
  schemas:
    CreateSubscriptionRequest:
      type: object
      description: Request body for creating a subscription
      required:
      - apiProductId
      properties:
        apiProductId:
          type: string
          description: ID of the API product to subscribe to
    SubscriptionStatus:
      type: string
      description: Subscription status
      enum:
      - pending
      - approved
      - rejected
    RateLimit:
      type: object
      description: Rate limit configuration
      required:
      - requestsPerUnit
      - unit
      properties:
        requestsPerUnit:
          type: string
          description: Number of requests allowed per unit
        unit:
          type: string
          description: Time unit for rate limiting
          enum:
          - SECOND
          - MINUTE
          - HOUR
          - DAY
          - MONTH
          - YEAR
    Subscription:
      description: Subscription to an API product
      allOf:
      - $ref: '#/components/schemas/BaseEntity'
      - type: object
        required:
        - applicationId
        - apiProductId
        - approved
        - rejected
        properties:
          applicationId:
            type: string
            description: ID of the subscribing application
          apiProductId:
            type: string
            description: ID of the subscribed API product
          approved:
            type: boolean
            description: Whether the subscription is approved
          rejected:
            type: boolean
            description: Whether the subscription is rejected
          requestedAt:
            type: string
            format: date-time
            description: Timestamp when the subscription was requested
          metadata:
            $ref: '#/components/schemas/ResourceMetadata'
    BaseEntity:
      type: object
      description: Base entity with common fields
      required:
      - id
      - createdAt
      properties:
        id:
          type: string
          description: Unique identifier
        createdAt:
          type: string
          format: date-time
          description: Timestamp when the entity was created
        updatedAt:
          type: string
          format: date-time
          description: Timestamp when the entity was last updated
    ResourceMetadata:
      type: object
      description: Metadata attached to a resource (app or subscription) including rate limits and custom key-value pairs
      required:
      - id
      properties:
        id:
          type: string
          description: Metadata record ID (resource ID + "-metadata" suffix)
        customMetadata:
          type: object
          description: Custom metadata key-value pairs
          additionalProperties:
            type: string
        rateLimit:
          $ref: '#/components/schemas/RateLimit'
        createdAt:
          type: string
          format: date-time
          description: Timestamp when the parent resource was created
        updatedAt:
          type: string
          format: date-time
          description: Timestamp when the parent resource was last updated
    SetMetadataRequest:
      type: object
      description: Request body for setting metadata (rate limit and/or custom metadata) on a resource
      properties:
        rateLimit:
          $ref: '#/components/schemas/RateLimit'
        customMetadata:
          type: object
          description: Custom metadata key-value pairs
          additionalProperties:
            type: string
    RateLimit_2:
      properties:
        requestsPerUnit:
          example: 5
          type: string
        unit:
          enum:
          - SECOND
          - MINUTE
          - HOUR
          - DAY
          - MONTH
          - YEAR
          example: SECOND
          type: string
    SubscriptionMetadata:
      allOf:
      - $ref: '#/components/schemas/BaseEntity_2'
      - properties:
          customMetadata:
            example:
              key: value
            type: object
          rateLimit:
            $ref: '#/components/schemas/RateLimit_2'
        type: object
    BaseEntity_2:
      properties:
        createdAt:
          example: '2021-08-25T20:00:00Z'
          format: date-time
          readOnly: true
          type: string
        deletedAt:
          example: '2021-08-25T20:00:00Z'
          format: date-time
          readOnly: true
          type: string
        id:
          example: uuid
          readOnly: true
          type: string
        updatedAt:
          example: '2021-08-25T20:00:00Z'
          format: date-time
          readOnly: true
          type: string
    Subscription_2:
      allOf:
      - $ref: '#/components/schemas/BaseEntity_2'
      - properties:
          apiProductId:
            description: The ID of the API product associated with the subscription.
            type: string
          applicationId:
            description: The ID of the application to which the subscription is associated.
            readOnly: true
            type: string
          approved:
            description: Indicates whether the subscription has been approved.
            readOnly: true
            type: boolean
          approvedAt:
            description: The timestamp when the subscription was approved.
            format: date-time
            readOnly: true
            type: string
          metadata:
            $ref: '#/components/schemas/SubscriptionMetadata'
          rejected:
            description: Indicates whether the subscription has been rejected.
            readOnly: true
            type: boolean
          rejectedAt:
            description: The timestamp when the subscription was rejected.
            format: date-time
            readOnly: true
            type: string
          requestedAt:
            description: The timestamp when the subscription was requested.
            format: date-time
            readOnly: true
            type: string
        type: object
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Bearer token passed in the Authorization header
    identityToken:
      type: apiKey
      in: cookie
      name: id_token
      description: id_token cookie set by the identity provider after OIDC login
    accessToken:
      type: apiKey
      in: cookie
      name: access_token
      description: access_token cookie set by the identity provider after OIDC login
x-refined-from:
- solo-io-portal-backend-openapi.yml
- solo-io-portal-server-openapi.yml