Flatfile subpackage_roles API

The subpackage_roles API from Flatfile — 1 operation(s) for subpackage_roles.

Operations 1

GET /roles List roles #

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/flatfile-subpackage-roles-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

flatfile-subpackage-roles-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Reference subpackage_accounts Subpackage Roles API
  version: 1.0.0
servers:
- url: https://api.x.flatfile.com/v1
tags:
- name: subpackage_roles
paths:
  /roles:
    get:
      operationId: list
      summary: List roles
      description: List all roles for an account
      tags:
      - subpackage_roles
      parameters:
      - name: Authorization
        in: header
        description: Bearer authentication
        required: true
        schema:
          type: string
      - name: X-Disable-Hooks
        in: header
        required: true
        schema:
          type: string
          enum:
          - 'true'
      responses:
        '200':
          description: Response with status 200
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/type_roles_ListRolesResponse'
components:
  schemas:
    type_commons_RoleId:
      type: string
      description: Role ID
      title: RoleId
    type_roles_ListRolesResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/type_roles_RoleResponse'
      required:
      - data
      title: ListRolesResponse
    type_commons_AccountId:
      type: string
      description: Account ID
      title: AccountId
    type_roles_RoleResponse:
      type: object
      properties:
        id:
          $ref: '#/components/schemas/type_commons_RoleId'
        name:
          type: string
        accountId:
          $ref: '#/components/schemas/type_commons_AccountId'
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
      required:
      - id
      - name
      - accountId
      - createdAt
      - updatedAt
      title: RoleResponse
  securitySchemes:
    default:
      type: http
      scheme: bearer