Flagsmith Other API

Other endpoints.

Operations 6

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

POST /api/v1/cohort-sync/amplitude/lists/ Create a cohort list for an Amplitude cohort sync · Api v1 cohort sync amplitude lists create #
Ask an LLM
“How does an Amplitude cohort sync get a list ID in Flagsmith when it is first set up?”
“What happens on the Flagsmith side when a new Amplitude cohort sync is configured?”
Tell an agent
Create a backing cohort list named {name} for the Amplitude cohort sync.
Set up a new Amplitude cohort sync list called {name} and return its list ID.
POST /api/v1/cohort-sync/amplitude/lists/{id}/add/ Add users to a synced Amplitude cohort list · Api v1 cohort sync amplitude lists add create #
Ask an LLM
“How do users get added to a cohort that is synced from Amplitude?”
“Can I push a batch of user IDs into an existing Amplitude cohort list?”
Tell an agent
Add users {user_ids} to Amplitude cohort list {id}.
Put these user IDs {user_ids} into the synced cohort {id}.
POST /api/v1/cohort-sync/amplitude/lists/{id}/remove/ Remove users from a synced Amplitude cohort list · Api v1 cohort sync amplitude lists remove create #
Ask an LLM
“How are users taken out of a cohort that is synced from Amplitude?”
“Can I drop specific user IDs from an Amplitude cohort list?”
Tell an agent
Remove users {user_ids} from Amplitude cohort list {id}.
Take these user IDs {user_ids} out of the synced cohort {id}.
POST /api/v1/gitlab-webhook/{webhook_uuid}/ Receive a GitLab webhook event · Api v1 gitlab webhook create #
Ask an LLM
“Where does GitLab send webhook events for the Flagsmith GitLab integration?”
“What URL receives incoming GitLab webhook deliveries for a configured integration?”
Tell an agent
Deliver a GitLab webhook event to the Flagsmith webhook {webhook_uuid}.
Post this GitLab event payload to webhook receiver {webhook_uuid}.
GET /api/v1/oauth/authorize/ Validate an OAuth authorisation request · Api v1 oauth authorize retrieve #
Ask an LLM
“How do I check that an OAuth authorisation request is valid before showing a consent screen?”
“Which application is asking for access in an OAuth authorisation request?”
Tell an agent
Validate the incoming OAuth authorisation request and show me the requesting application's details.
Look up the app info for the pending OAuth authorisation request.
POST /api/v1/oauth/authorize/ Submit an OAuth consent decision · Api v1 oauth authorize create #
Ask an LLM
“How do I record a user's approval or denial on the OAuth consent screen?”
“What redirect URI comes back after an OAuth consent decision is submitted?”
Tell an agent
Submit the user's OAuth consent decision and return the redirect URI.
Process the consent choice for this OAuth authorisation and give me where to redirect.

Specifications

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/flagsmith:flagsmith-other-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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

flagsmith-other-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Flagsmith Other API
  version: v1
  description: Flagsmith's Core and SDK APIs. Check out Flagsmith documentation.
  contact:
    email: support@flagsmith.com
  license:
    name: BSD License
    identifier: BSD-3-Clause
tags:
- name: Other
  description: Other endpoints.
paths:
  /api/v1/cohort-sync/amplitude/lists/:
    post:
      operationId: api_v1_cohort_sync_amplitude_lists_create
      description: Called by Amplitude once per cohort sync setup; creates the backing cohort and returns its identifier as the list ID.
      tags:
      - Other
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AmplitudeList'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/AmplitudeList'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/AmplitudeList'
        required: true
      security:
      - Cohort Sync Key: []
      - Cohort Sync Key (Basic): []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AmplitudeListResponse'
          description: ''
      x-flagsmith-minimum-plan: START_UP
      summary: Api v1 cohort sync amplitude lists create
      x-summary-source: derived
  /api/v1/cohort-sync/amplitude/lists/{id}/add/:
    post:
      operationId: api_v1_cohort_sync_amplitude_lists_add_create
      parameters:
      - in: path
        name: id
        schema:
          type: string
        required: true
      tags:
      - Other
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CohortSyncMembers'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/CohortSyncMembers'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/CohortSyncMembers'
        required: true
      security:
      - Cohort Sync Key: []
      - Cohort Sync Key (Basic): []
      responses:
        '200':
          description: No response body
      x-flagsmith-minimum-plan: START_UP
      summary: Api v1 cohort sync amplitude lists add create
      x-summary-source: derived
  /api/v1/cohort-sync/amplitude/lists/{id}/remove/:
    post:
      operationId: api_v1_cohort_sync_amplitude_lists_remove_create
      parameters:
      - in: path
        name: id
        schema:
          type: string
        required: true
      tags:
      - Other
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CohortSyncMembers'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/CohortSyncMembers'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/CohortSyncMembers'
        required: true
      security:
      - Cohort Sync Key: []
      - Cohort Sync Key (Basic): []
      responses:
        '200':
          description: No response body
      x-flagsmith-minimum-plan: START_UP
      summary: Api v1 cohort sync amplitude lists remove create
      x-summary-source: derived
  /api/v1/gitlab-webhook/{webhook_uuid}/:
    post:
      operationId: api_v1_gitlab_webhook_create
      parameters:
      - in: path
        name: webhook_uuid
        schema:
          type: string
          format: uuid
        required: true
      tags:
      - Other
      security:
      - tokenAuth: []
      - Master API Key: []
      - {}
      responses:
        '200':
          description: No response body
      summary: Api v1 gitlab webhook create
      x-summary-source: derived
  /api/v1/oauth/authorize/:
    get:
      operationId: api_v1_oauth_authorize_retrieve
      description: Validate an authorisation request and return application info.
      tags:
      - Other
      security:
      - tokenAuth: []
      - Master API Key: []
      responses:
        '200':
          description: No response body
      summary: Api v1 oauth authorize retrieve
      x-summary-source: derived
    post:
      operationId: api_v1_oauth_authorize_create
      description: Process a consent decision and return the redirect URI.
      tags:
      - Other
      security:
      - tokenAuth: []
      - Master API Key: []
      responses:
        '200':
          description: No response body
      summary: Api v1 oauth authorize create
      x-summary-source: derived
components:
  schemas:
    AmplitudeListResponse:
      type: object
      properties:
        list_id:
          type: string
          format: uuid
        response:
          $ref: '#/components/schemas/AmplitudeListResponseEnvelope'
      required:
      - list_id
      - response
    AmplitudeList:
      type: object
      properties:
        name:
          type: string
          maxLength: 2000
      required:
      - name
    CohortSyncMembers:
      type: object
      properties:
        user_ids:
          type: array
          items:
            type: string
          minItems: 1
      required:
      - user_ids
    AmplitudeListResponseEnvelope:
      type: object
      properties:
        list_id:
          type: string
          format: uuid
      required:
      - list_id
  securitySchemes:
    Cohort_Sync_Key:
      type: http
      scheme: bearer
      description: For cohort sync endpoints called by an external cohort source, such as Amplitude.
    Cohort_Sync_Key__Basic:
      type: http
      scheme: basic
      description: For cohort sync endpoints called by an external cohort source that can only send Basic credentials, such as Mixpanel. The key is the password; the username is ignored.
    Environment_API_Key:
      type: apiKey
      in: header
      name: X-Environment-Key
      description: For SDK endpoints. <a href='https://docs.flagsmith.com/clients/rest#public-api-endpoints'>Find out more</a>.
    Master_API_Key:
      type: apiKey
      in: header
      name: Authorization
      description: For Management API endpoints. <a href='https://docs.flagsmith.com/integrating-with-flagsmith/flagsmith-api-overview/management-api'>Find out more</a>.
    basicAuth:
      type: http
      scheme: basic
    tokenAuth:
      type: apiKey
      in: header
      name: Authorization
      description: Token-based authentication with required prefix "Token"
x-provenance:
  method: harvested
  publisher: Flagsmith
  source: https://api.flagsmith.com/api/v1/swagger.yaml
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)