Invendor FlagTypes API
The FlagTypes API from Invendor — 2 operation(s) for flagtypes.
The FlagTypes API from Invendor — 2 operation(s) for flagtypes.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/invendor-flagtypes-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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: 3.2.0
info:
title: IO.Common Accounts Flag Types API
version: '1.0'
servers:
- url: https://api.invendor.com
description: Base URL declared by the provider in apis.yml (roadmap#122).
security:
- OAuth2: []
tags:
- name: FlagTypes
paths:
/v1/FlagTypes:
get:
tags:
- FlagTypes
summary: 'Get a paged list of flag types visible to the current account: global rows plus
the caller''s own. Tenant-primary / admin callers (no account context) see all rows.'
operationId: Get flag types
parameters:
- name: Filter
in: query
schema:
type: string
- name: Page
in: query
schema:
type: integer
format: int32
- name: PageSize
in: query
schema:
type: integer
format: int32
- name: SortColumn
in: query
schema:
type: string
- name: SortOrder
in: query
schema:
type: string
- name: filterAccountId
in: query
description: 'Optional additional filter: restrict results to rows with this exact `AccountId`. Applied on top of the visibility rule; never exposes rows outside the caller''s visibility.'
schema:
type: integer
format: int32
- name: severity
in: query
description: Optional severity filter.
schema:
$ref: '#/components/schemas/FlagSeverity'
- name: Account
in: query
description: Account
schema:
title: Account
type: int
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/FlagTypeResponsePagedResult'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
'401':
description: Unauthorized
'403':
description: Forbidden
security:
- OAuth2:
- io.common
post:
tags:
- FlagTypes
summary: Create a new flag type.
operationId: Create flag type
parameters:
- name: Account
in: query
description: Account
schema:
title: Account
type: int
requestBody:
description: Create request.
content:
application/json-patch+json; x-api-version=1.0:
schema:
$ref: '#/components/schemas/CreateFlagTypeRequest'
application/json; x-api-version=1.0:
schema:
$ref: '#/components/schemas/CreateFlagTypeRequest'
text/json; x-api-version=1.0:
schema:
$ref: '#/components/schemas/CreateFlagTypeRequest'
application/*+json; x-api-version=1.0:
schema:
$ref: '#/components/schemas/CreateFlagTypeRequest'
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/Int32ResourceCreatedResponse'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
'409':
description: Conflict
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
'401':
description: Unauthorized
'403':
description: Forbidden
security:
- OAuth2:
- io.common
/v1/FlagTypes/{id}:
get:
tags:
- FlagTypes
summary: Get a single flag type by id.
operationId: Get flag type
parameters:
- name: id
in: path
description: Flag type id.
required: true
schema:
type: integer
format: int32
- name: Account
in: query
description: Account
schema:
title: Account
type: int
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/FlagTypeResponse'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
'401':
description: Unauthorized
'403':
description: Forbidden
security:
- OAuth2:
- io.common
put:
tags:
- FlagTypes
summary: Update an existing flag type. `AccountId` is immutable.
operationId: Update flag type
parameters:
- name: id
in: path
description: Flag type id.
required: true
schema:
type: integer
format: int32
- name: Account
in: query
description: Account
schema:
title: Account
type: int
requestBody:
description: Update request.
content:
application/json-patch+json; x-api-version=1.0:
schema:
$ref: '#/components/schemas/UpdateFlagTypeRequest'
application/json; x-api-version=1.0:
schema:
$ref: '#/components/schemas/UpdateFlagTypeRequest'
text/json; x-api-version=1.0:
schema:
$ref: '#/components/schemas/UpdateFlagTypeRequest'
application/*+json; x-api-version=1.0:
schema:
$ref: '#/components/schemas/UpdateFlagTypeRequest'
responses:
'204':
description: No Content
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
'409':
description: Conflict
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
'401':
description: Unauthorized
'403':
description: Forbidden
security:
- OAuth2:
- io.common
delete:
tags:
- FlagTypes
summary: 'Soft-delete a flag type. Blocked if any active `ItemFlag` or any
`OperationFlag` config row references it.'
operationId: Delete flag type
parameters:
- name: id
in: path
description: Flag type id.
required: true
schema:
type: integer
format: int32
- name: Account
in: query
description: Account
schema:
title: Account
type: int
responses:
'204':
description: No Content
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
'404':
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
'401':
description: Unauthorized
'403':
description: Forbidden
security:
- OAuth2:
- io.common
components:
schemas:
FlagSeverity:
enum:
- 0
- 1
- 2
type: integer
format: int32
UpdateFlagTypeRequest:
type: object
properties:
name:
type:
- string
- 'null'
color:
type:
- string
- 'null'
severity:
$ref: '#/components/schemas/FlagSeverity'
description:
type:
- string
- 'null'
additionalProperties: false
ApiErrorResponse:
type: object
properties:
errors:
type:
- array
- 'null'
items:
$ref: '#/components/schemas/Error'
additionalProperties: false
FlagTypeResponsePagedResult:
type: object
properties:
pageSize:
type: integer
format: int32
readOnly: true
page:
type: integer
format: int32
readOnly: true
totalCount:
type: integer
format: int32
readOnly: true
filteredCount:
type: integer
format: int32
readOnly: true
data:
type:
- array
- 'null'
items:
$ref: '#/components/schemas/FlagTypeResponse'
readOnly: true
additionalProperties: false
CreateFlagTypeRequest:
type: object
properties:
name:
type:
- string
- 'null'
color:
type:
- string
- 'null'
severity:
$ref: '#/components/schemas/FlagSeverity'
description:
type:
- string
- 'null'
accountId:
type:
- integer
- 'null'
format: int32
additionalProperties: false
Error:
type: object
properties:
code:
type:
- string
- 'null'
message:
type:
- string
- 'null'
additionalProperties: false
Int32ResourceCreatedResponse:
type: object
properties:
id:
type: integer
format: int32
additionalProperties: false
FlagTypeResponse:
type: object
properties:
id:
type: integer
format: int32
name:
type:
- string
- 'null'
color:
type:
- string
- 'null'
severity:
$ref: '#/components/schemas/FlagSeverity'
description:
type:
- string
- 'null'
accountId:
type:
- integer
- 'null'
format: int32
createdOn:
type:
- string
- 'null'
format: date-time
modifiedOn:
type:
- string
- 'null'
format: date-time
additionalProperties: false
securitySchemes:
OAuth2:
type: oauth2
flows:
authorizationCode:
authorizationUrl: https://identity.scanbro.com/connect/authorize
tokenUrl: https://identity.scanbro.com/connect/token
scopes:
io.common: default scope