Fusio Grant API

The grant API from Fusio — 2 operation(s) for grant.

Operations 2

DELETE /consumer/grant/{grant_id} Consumer grant delete #
GET /consumer/grant Consumer grant get all #

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/fusio-grant-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

fusio-grant-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Fusio Grant API
  description: Self-Hosted API Management for Builders.
  version: '1'
servers:
- url: https://demo.fusio-project.org
tags:
- name: Grant
paths:
  /consumer/grant/{grant_id}:
    parameters:
    - name: grant_id
      in: path
      required: true
      schema:
        type: string
    delete:
      tags:
      - Grant
      description: Deletes an existing grant for an app which was created by the authenticated user
      operationId: consumer.grant.delete
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Common_Message'
        4XX:
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Common_Message'
        5XX:
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Common_Message'
      security:
      - app:
        - consumer.grant
      summary: Consumer grant delete
      x-summary-source: derived
  /consumer/grant:
    get:
      tags:
      - Grant
      description: Returns a paginated list of grants which are assigned to the authenticated user
      operationId: consumer.grant.getAll
      parameters:
      - name: startIndex
        in: query
        required: false
        schema:
          type: integer
      - name: count
        in: query
        required: false
        schema:
          type: integer
      - name: search
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Consumer_GrantCollection'
        4XX:
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Common_Message'
        5XX:
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Common_Message'
      security:
      - app:
        - consumer.grant
      summary: Consumer grant get all
      x-summary-source: derived
components:
  schemas:
    Consumer_Grant:
      type: object
      properties:
        id:
          type: integer
        app:
          $ref: '#/components/schemas/Consumer_App'
        createDate:
          type: string
          format: date-time
    Consumer_GrantCollection:
      description: Base collection
      type: object
      properties:
        totalResults:
          type: integer
        startIndex:
          type: integer
        itemsPerPage:
          type: integer
        entry:
          type: array
          items:
            $ref: '#/components/schemas/Consumer_Grant'
    Common_Metadata:
      type: object
      additionalProperties:
        type: string
    Consumer_App:
      type: object
      properties:
        id:
          type: integer
        userId:
          type: integer
        status:
          type: integer
        name:
          type: string
        url:
          type: string
        appKey:
          type: string
        appSecret:
          type: string
        date:
          type: string
        scopes:
          type: array
          items:
            type: string
        metadata:
          $ref: '#/components/schemas/Common_Metadata'
    Common_Message:
      description: Common error message
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        id:
          type: string
  securitySchemes:
    app:
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: https://demo.fusio-project.org/authorization/token
          refreshUrl: https://demo.fusio-project.org/authorization/token
          scopes:
            consumer: ''
            consumer.account: ''
            consumer.agent: ''
            consumer.app: ''
            consumer.event: ''
            consumer.form: ''
            consumer.grant: ''
            consumer.identity: ''
            consumer.log: ''
            consumer.page: ''
            consumer.payment: ''
            consumer.plan: ''
            consumer.scope: ''
            consumer.token: ''
            consumer.transaction: ''
            consumer.webhook: ''
        authorizationCode:
          authorizationUrl: https://demo.fusio-project.org/authorization/authorize
          tokenUrl: https://demo.fusio-project.org/authorization/token
          refreshUrl: https://demo.fusio-project.org/authorization/token
          scopes:
            consumer: ''
            consumer.account: ''
            consumer.agent: ''
            consumer.app: ''
            consumer.event: ''
            consumer.form: ''
            consumer.grant: ''
            consumer.identity: ''
            consumer.log: ''
            consumer.page: ''
            consumer.payment: ''
            consumer.plan: ''
            consumer.scope: ''
            consumer.token: ''
            consumer.transaction: ''
            consumer.webhook: ''