Metricool Feature Toggle Service API

The Feature Toggle Service API from Metricool — 5 operation(s) for feature toggle service.

Business capability
Feature Flag Management BC-4210.50

Operations 8

GET /v2/features Get all feature toggles #
POST /v2/features Create new feature toggle #
GET /v2/features/check/{name} Check if feature is enabled for current user #
GET /v2/features/enabled Get all enabled features for the logged user #
GET /v2/features/strategies Get all strategies #
GET /v2/features/{id} Get feature toggle by ID #
PUT /v2/features/{id} Update feature toggle #
DELETE /v2/features/{id} Delete feature toggle #

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/metricool:metricool-feature-toggle-service-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

metricool-feature-toggle-service-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Metricool Feature Toggle Service API
  description: 'Metricool API


    The base URL for all endpoints is: https://app.metricool.com/api


    All endpoints require authentication.'
  version: 2.0.0
servers:
- url: https://app.metricool.com/api
tags:
- name: Feature Toggle Service
paths:
  /v2/features:
    get:
      tags:
      - Feature Toggle Service
      summary: Get all feature toggles
      description: Retrieves all feature toggles. Admin access required.
      operationId: getAllFeatures
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JsonOkListResponseFeatureToggleDto'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden - Admin access required
    post:
      tags:
      - Feature Toggle Service
      summary: Create new feature toggle
      description: Creates a new feature toggle. Admin access required.
      operationId: createFeature
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateFeatureToggleRequest'
        required: true
      responses:
        '200':
          description: Feature toggle created successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JsonOkResponseFeatureToggleDto'
        '400':
          description: Bad request - Invalid input
        '401':
          description: Unauthorized
        '403':
          description: Forbidden - Admin access required
        '409':
          description: Conflict - Feature name already exists
  /v2/features/check/{name}:
    get:
      tags:
      - Feature Toggle Service
      summary: Check if feature is enabled for current user
      description: Checks if a feature is enabled for the authenticated user.
      operationId: checkFeature
      parameters:
      - name: name
        in: path
        description: Feature name
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JsonOkResponseBoolean'
        '401':
          description: Unauthorized
  /v2/features/enabled:
    get:
      tags:
      - Feature Toggle Service
      summary: Get all enabled features for the logged user
      description: Returns all features that are enabled for the current user.
      operationId: getEnabledFeatures
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JsonOkListResponseFeatureToggleDto'
  /v2/features/strategies:
    get:
      tags:
      - Feature Toggle Service
      summary: Get all strategies
      description: Returns all strategies available for feature toggles.
      operationId: getStrategies
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JsonOkListResponseStrategyDto'
  /v2/features/{id}:
    get:
      tags:
      - Feature Toggle Service
      summary: Get feature toggle by ID
      description: Retrieves a specific feature toggle by ID. Admin access required.
      operationId: getFeatureById
      parameters:
      - name: id
        in: path
        description: Feature toggle ID
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JsonOkResponseFeatureToggleDto'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden - Admin access required
        '404':
          description: Feature toggle not found
    put:
      tags:
      - Feature Toggle Service
      summary: Update feature toggle
      description: Updates an existing feature toggle. Admin access required.
      operationId: updateFeature
      parameters:
      - name: id
        in: path
        description: Feature toggle ID
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateFeatureToggleRequest'
        required: true
      responses:
        '200':
          description: Feature toggle updated successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JsonOkResponseFeatureToggleDto'
        '400':
          description: Bad request - Invalid input
        '401':
          description: Unauthorized
        '403':
          description: Forbidden - Admin access required
        '404':
          description: Feature toggle not found
    delete:
      tags:
      - Feature Toggle Service
      summary: Delete feature toggle
      description: Deletes a feature toggle. Admin access required.
      operationId: deleteFeature
      parameters:
      - name: id
        in: path
        description: Feature toggle ID
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '204':
          description: Feature toggle deleted successfully
        '401':
          description: Unauthorized
        '403':
          description: Forbidden - Admin access required
        '404':
          description: Feature toggle not found
components:
  schemas:
    JsonOkResponseBoolean:
      type: object
      properties:
        metadata:
          type: object
        page:
          $ref: '#/components/schemas/JsonPaging'
        data:
          type: boolean
    JsonOkListResponseStrategyDto:
      type: object
      properties:
        metadata:
          type: object
        page:
          $ref: '#/components/schemas/JsonPaging'
        data:
          type: array
          items:
            $ref: '#/components/schemas/StrategyDto'
    CreateFeatureToggleRequest:
      required:
      - enabled
      - name
      - strategy
      type: object
      properties:
        name:
          minLength: 1
          type: string
          description: Feature name
          example: new_dashboard
        description:
          type: string
          description: Feature description
          example: New dashboard layout
        enabled:
          type: boolean
          description: Whether feature is enabled
          example: true
        strategy:
          minLength: 1
          type: string
          description: Strategy for applying feature
          example: all_users
          enum:
          - all_users
          - role_based
          - whitelist
          - beta_users
          - segmented
        segments:
          type: integer
          description: Number of segments for segmented strategy
          format: int32
          example: 2
      description: Request to create a new feature toggle
    JsonPaging:
      type: object
      properties:
        next:
          type: string
    FeatureToggleDto:
      required:
      - enabled
      - name
      - strategy
      type: object
      properties:
        id:
          type: integer
          description: Feature toggle ID
          format: int32
          example: 1
        name:
          type: string
          description: Feature name
          example: new_dashboard
        description:
          type: string
          description: Feature description
          example: New dashboard layout
        enabled:
          type: boolean
          description: Whether feature is enabled
          example: true
        strategy:
          type: string
          description: Strategy for applying feature
          example: all_users
          enum:
          - all_users
          - role_based
          - whitelist
          - beta_users
          - segmented
        segments:
          type: integer
          description: Number of segments for segmented strategy
          format: int32
          example: 2
        whitelistCount:
          type: integer
          description: Number of users in whitelist (only for WHITELIST strategy)
          format: int32
          example: 5
      description: Feature toggle configuration
    UpdateFeatureToggleRequest:
      required:
      - enabled
      type: object
      properties:
        description:
          type: string
          description: Feature description
        enabled:
          type: boolean
          description: Whether feature is enabled
        strategy:
          type: string
          description: Strategy for applying feature
      description: Request to update an existing feature toggle
    StrategyDto:
      type: object
      properties:
        id:
          type: string
          description: Strategy ID
          example: all_users
        name:
          type: string
          description: Strategy name
          example: All Users
      description: Feature toggle strategy
    JsonOkResponseFeatureToggleDto:
      type: object
      properties:
        metadata:
          type: object
        page:
          $ref: '#/components/schemas/JsonPaging'
        data:
          $ref: '#/components/schemas/FeatureToggleDto'
    JsonOkListResponseFeatureToggleDto:
      type: object
      properties:
        metadata:
          type: object
        page:
          $ref: '#/components/schemas/JsonPaging'
        data:
          type: array
          items:
            $ref: '#/components/schemas/FeatureToggleDto'