Quotewise Tokens API

The tokens API from Quotewise — 3 operation(s) for tokens.

GitHub OpenAPI

Operations 7

GET /v1/tokens/ List user's API tokens #
POST /v1/tokens/ Create new API token #
GET /v1/tokens/{id}/ Get token details #
PUT /v1/tokens/{id}/ Tokens update #
PATCH /v1/tokens/{id}/ Tokens partial update #
DELETE /v1/tokens/{id}/ Revoke API token #
POST /v1/tokens/{id}/regenerate/ Regenerate API token #

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/quotewise-io:quotewise-io-tokens-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

quotewise-io-tokens-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Quotewise Tokens API
  version: 1.0.0
  description: 'Semantic quote search API with 799K curated quotes.


    ## Authentication


    All API requests require a Bearer token:


    ```http

    Authorization: Bearer qw_your_api_key

    ```


    Create your API key at the Developer Dashboard.


    ## Credits


    Operations cost 1-2 credits from your monthly quota. See Credits & Usage for details.


    ## Rate Limits


    | Tier | Per Minute | Per Hour |

    |------|------------|----------|

    | Free | 15 | 100 |

    | Premium | 600 | 10,000 |

    | Enterprise | 6,000 | 100,000 |


    **Response headers:** `X-RateLimit-Limit`, `X-RateLimit-Remaining`, `X-RateLimit-Reset`'
  contact:
    name: Quotewise API Support
    url: https://quotewise.io/contact/
  license:
    name: Quotewise API License
    url: https://quotewise.io/terms/
  termsOfService: https://quotewise.io/terms/
  x-logo:
    url: https://d204c3srckk4j3.cloudfront.net/brand/web/logo-wide.782c298e5f6d.png
    altText: Quotewise Logo
  x-apisguru-categories:
  - tools
  - quotes
  - content
servers:
- url: https://api.quotewise.io
  description: Production API
tags:
- name: Tokens
paths:
  /v1/tokens/:
    get:
      operationId: tokens_list
      description: Manage API tokens for authenticated users.
      summary: List user's API tokens
      parameters:
      - name: page
        required: false
        in: query
        description: A page number within the paginated result set.
        schema:
          type: integer
      - name: page_size
        required: false
        in: query
        description: Number of results to return per page.
        schema:
          type: integer
      tags:
      - Tokens
      security:
      - cookieAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedTokenListList'
          description: ''
    post:
      operationId: tokens_create
      description: Create new token - returns full key ONCE.
      summary: Create new API token
      tags:
      - Tokens
      security:
      - cookieAuth: []
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TokenList'
          description: ''
  /v1/tokens/{id}/:
    get:
      operationId: tokens_retrieve
      description: Manage API tokens for authenticated users.
      summary: Get token details
      parameters:
      - in: path
        name: id
        schema:
          type: integer
        description: A unique integer value identifying this API Token.
        required: true
      tags:
      - Tokens
      security:
      - cookieAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TokenList'
          description: ''
    put:
      operationId: tokens_update
      description: Manage API tokens for authenticated users.
      parameters:
      - in: path
        name: id
        schema:
          type: integer
        description: A unique integer value identifying this API Token.
        required: true
      tags:
      - Tokens
      security:
      - cookieAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TokenList'
          description: ''
      summary: Tokens update
      x-summary-source: derived
    patch:
      operationId: tokens_partial_update
      description: Manage API tokens for authenticated users.
      parameters:
      - in: path
        name: id
        schema:
          type: integer
        description: A unique integer value identifying this API Token.
        required: true
      tags:
      - Tokens
      security:
      - cookieAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TokenList'
          description: ''
      summary: Tokens partial update
      x-summary-source: derived
    delete:
      operationId: tokens_destroy
      description: Revoke token (soft-delete).
      summary: Revoke API token
      parameters:
      - in: path
        name: id
        schema:
          type: integer
        description: A unique integer value identifying this API Token.
        required: true
      tags:
      - Tokens
      security:
      - cookieAuth: []
      responses:
        '204':
          description: No response body
  /v1/tokens/{id}/regenerate/:
    post:
      operationId: tokens_regenerate_create
      description: Create new key with same settings, revoke old key.
      summary: Regenerate API token
      parameters:
      - in: path
        name: id
        schema:
          type: integer
        description: A unique integer value identifying this API Token.
        required: true
      tags:
      - Tokens
      security:
      - cookieAuth: []
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TokenCreateResponse'
          description: ''
components:
  schemas:
    TokenList:
      type: object
      description: For listing tokens - never includes full key.
      properties:
        id:
          type: integer
          readOnly: true
        key_prefix:
          type: string
          readOnly: true
          description: First 11 chars of key for identification (e.g., qw_abc123d)
        name:
          type: string
          readOnly: true
          description: User-provided name for this token
        token_type:
          enum:
          - long_lived
          - session
          - on_demand
          type: string
          x-spec-enum-id: a01e4e32761a22f7
          readOnly: true
          description: 'Type of token: long_lived, session, or on_demand


            * `long_lived` - Long-lived API Key

            * `session` - Session Token

            * `on_demand` - On-demand Token'
        created_at:
          type: string
          format: date-time
          readOnly: true
          description: When this token was created
        expires_at:
          type:
          - string
          - 'null'
          format: date-time
          readOnly: true
          description: When this token expires (null = never)
        last_used_at:
          type:
          - string
          - 'null'
          format: date-time
          readOnly: true
          description: When this token was last used for authentication
        usage_count:
          type: integer
          readOnly: true
          description: Number of times this token has been used
        is_active:
          type: boolean
          readOnly: true
          description: Whether this token can be used for authentication
      required:
      - created_at
      - expires_at
      - id
      - is_active
      - key_prefix
      - last_used_at
      - name
      - token_type
      - usage_count
    TokenCreateResponse:
      type: object
      description: Response with full key - only used at creation.
      properties:
        id:
          type: integer
          readOnly: true
        key:
          type: string
          readOnly: true
          description: Full API key - ONLY shown once at creation!
        key_prefix:
          type: string
          readOnly: true
          description: First 11 chars of key for identification (e.g., qw_abc123d)
        name:
          type: string
          readOnly: true
          description: User-provided name for this token
        token_type:
          enum:
          - long_lived
          - session
          - on_demand
          type: string
          x-spec-enum-id: a01e4e32761a22f7
          readOnly: true
          description: 'Type of token: long_lived, session, or on_demand


            * `long_lived` - Long-lived API Key

            * `session` - Session Token

            * `on_demand` - On-demand Token'
        created_at:
          type: string
          format: date-time
          readOnly: true
          description: When this token was created
        expires_at:
          type:
          - string
          - 'null'
          format: date-time
          readOnly: true
          description: When this token expires (null = never)
        is_active:
          type: boolean
          readOnly: true
          description: Whether this token can be used for authentication
      required:
      - created_at
      - expires_at
      - id
      - is_active
      - key
      - key_prefix
      - name
      - token_type
    PaginatedTokenListList:
      type: object
      required:
      - data
      - meta
      - links
      description: Free-tier responses cap deep pagination at 1000 results, cap reported count with count_is_capped when needed, and omit agent_hints/batch_info. Premium responses include exact counts and agent metadata.
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/TokenList'
        meta:
          type: object
          required:
          - pagination
          - api_version
          - request_id
          properties:
            pagination:
              type: object
              required:
              - count
              - page_size
              - current_page
              - total_pages
              - has_next
              - has_previous
              - start_index
              - end_index
              properties:
                count:
                  type: integer
                  example: 120
                page_size:
                  type: integer
                  example: 25
                current_page:
                  type: integer
                  example: 2
                total_pages:
                  type: integer
                  example: 5
                has_next:
                  type: boolean
                  example: true
                has_previous:
                  type: boolean
                  example: true
                start_index:
                  type: integer
                  example: 26
                end_index:
                  type: integer
                  example: 50
                count_is_capped:
                  type: boolean
                  example: false
            api_version:
              type: string
              example: v2
            request_id:
              type:
              - string
              - 'null'
              example: null
            agent_hints:
              type: array
              example: []
              items:
                type: string
            batch_info:
              type: object
              example: {}
              additionalProperties: true
        links:
          type: object
          required:
          - next
          - previous
          properties:
            next:
              type:
              - string
              - 'null'
              example: https://api.quotewise.io/v1/quotes/?page=3
              format: uri
            previous:
              type:
              - string
              - 'null'
              example: https://api.quotewise.io/v1/quotes/?page=1
              format: uri
  securitySchemes:
    cookieAuth:
      type: apiKey
      in: cookie
      name: sessionid
    APITokenAuthentication:
      type: http
      scheme: bearer
      description: API Token authentication. Generate tokens at /account/tokens/ or via device flow at /oauth/device/. Tokens are prefixed with 'qw_'.
      bearerFormat: APIToken
    SessionAuthentication:
      type: apiKey
      in: cookie
      name: sessionid
      description: Session-based authentication for web interface
externalDocs:
  description: Developer Quickstart Guide
  url: https://quotewise.io/developers/quickstart/