Reqbeat Keys API

The Keys API from Reqbeat — 3 operation(s) for keys.

GitHub OpenAPI

Operations 4

GET /v1/keys List your API keys #
POST /v1/keys Issue a new API key #
DELETE /v1/keys/{key_id} Revoke an API key #
POST /v1/keys/{key_id}/rotate Rotate an API key #

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/reqbeat-com:reqbeat-com-keys-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

reqbeat-com-keys-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Reqbeat Com Keys API
  version: 0.1.0
  contact:
    name: Reqbeat support
    url: https://reqbeat.com/
    email: support@reqbeat.com
  termsOfService: https://reqbeat.com/terms
  x-logo:
    url: https://reqbeat.com/assets/mcp/logo-400.png
    altText: Reqbeat
  description: 'Operations tagged Keys across 2 of this provider''s published API definitions: openapi.json, reqbeat-com-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.reqbeat.com
tags:
- name: Keys
paths:
  /v1/keys:
    get:
      summary: List your API keys
      description: 'Account-scoped key listing -- every key (active and revoked) for the

        caller''s own customer, with `last_used_at` from the usage ledger.


        Requires the `account` scope.'
      operationId: list_keys_route_v1_keys_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KeyListResponse'
        '401':
          description: No API key was sent.
          content:
            application/json:
              schema:
                type: object
                required:
                - detail
                properties:
                  detail:
                    type: string
        '403':
          description: The presented key is invalid or revoked, or (see `x-required-scope` on this operation) it does not carry the scope this operation requires.
          content:
            application/json:
              schema:
                type: object
                required:
                - detail
                properties:
                  detail:
                    anyOf:
                    - type: string
                    - type: object
                      required:
                      - reason
                      - required_scope
                      - endpoint
                      properties:
                        reason:
                          type: string
                          enum:
                          - scope_required
                        required_scope:
                          type: string
                        endpoint:
                          type: string
      security:
      - APIKeyHeader: []
      - HTTPBearer: []
      x-required-scope: account
      tags:
      - Keys
    post:
      summary: Issue a new API key
      description: 'Self-serve key issuance: a developer who already holds one key can mint

        another for their OWN account -- no operator step. `scopes` is the only

        field the request body carries.


        The new key''s customer AND its tier are both taken from the AUTHENTICATED

        caller''s own key, never from the request, so a key can never be issued for

        another tenant nor carry more entitlement than the key that authorized it.

        Sending a `tier` is rejected with a 422 rather than ignored. To change your

        tier, change your plan -- the new tier then applies to every key on the

        account.


        The mint also inherits the parent key''s acquisition surface, exactly as

        rotation carries it forward: an additional self-serve mint is the same

        acquisition, and the same entitlement, as the key that authorized it.


        `scopes`, omitted, inherits the presenting key''s own scopes; sent

        explicitly, it must be a subset of them -- a scoped-down key can never

        mint itself a wider replacement. 403 names the excess when it isn''t.


        Requires the `account` scope.'
      operationId: create_key_v1_keys_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IssueKeyRequest'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IssueKeyResponse'
        '403':
          description: The presented key is invalid or revoked, or (see `x-required-scope` on this operation) it does not carry the scope this operation requires.
          content:
            application/json:
              schema:
                type: object
                required:
                - detail
                properties:
                  detail:
                    anyOf:
                    - type: string
                    - type: object
                      required:
                      - reason
                      - required_scope
                      - endpoint
                      properties:
                        reason:
                          type: string
                          enum:
                          - scope_required
                        required_scope:
                          type: string
                        endpoint:
                          type: string
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '401':
          description: No API key was sent.
          content:
            application/json:
              schema:
                type: object
                required:
                - detail
                properties:
                  detail:
                    type: string
      security:
      - APIKeyHeader: []
      - HTTPBearer: []
      x-required-scope: account
      tags:
      - Keys
    servers:
    - url: https://api.reqbeat.com
  /v1/keys/{key_id}:
    delete:
      summary: Revoke an API key
      description: 'Self-serve key revocation, scoped to the caller''s own customer --

        revoking another tenant''s key id 404s, identical to revoking one that

        doesn''t exist at all (fail-fast, no cross-tenant leak).


        Requires the `account` scope.'
      operationId: delete_key_v1_keys__key_id__delete
      security:
      - APIKeyHeader: []
      - HTTPBearer: []
      parameters:
      - name: key_id
        in: path
        required: true
        schema:
          type: integer
          description: The API key's id, as returned by GET /v1/keys.
          title: Key Id
        description: The API key's id, as returned by GET /v1/keys.
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '401':
          description: No API key was sent.
          content:
            application/json:
              schema:
                type: object
                required:
                - detail
                properties:
                  detail:
                    type: string
        '403':
          description: The presented key is invalid or revoked, or (see `x-required-scope` on this operation) it does not carry the scope this operation requires.
          content:
            application/json:
              schema:
                type: object
                required:
                - detail
                properties:
                  detail:
                    anyOf:
                    - type: string
                    - type: object
                      required:
                      - reason
                      - required_scope
                      - endpoint
                      properties:
                        reason:
                          type: string
                          enum:
                          - scope_required
                        required_scope:
                          type: string
                        endpoint:
                          type: string
      x-required-scope: account
      tags:
      - Keys
    servers:
    - url: https://api.reqbeat.com
  /v1/keys/{key_id}/rotate:
    post:
      summary: Rotate an API key
      description: 'Agent-driven key rotation: mints a replacement key bound to the SAME

        account and revokes `key_id` in one call -- an autonomous agent rotates

        its own credential without an operator or a human seat in the loop, so

        usage keeps billing to the account. Scoped to the caller''s own

        customer; `key_id` need not be the presented key. 404 for an id that

        doesn''t exist, belongs to another tenant, or is already revoked --

        indistinguishable, same as `delete_key`.


        `scopes`, omitted, keeps `key_id`''s own scopes -- rotation replaces a

        credential, it never widens a narrowed one. Requested or kept, they must

        be a subset of the PRESENTING key''s scopes (`key_id` need not be the

        presenting key), else 403 naming the excess.


        Requires the `account` scope.'
      operationId: rotate_key_route_v1_keys__key_id__rotate_post
      security:
      - APIKeyHeader: []
      - HTTPBearer: []
      parameters:
      - name: key_id
        in: path
        required: true
        schema:
          type: integer
          description: The API key's id, as returned by GET /v1/keys.
          title: Key Id
        description: The API key's id, as returned by GET /v1/keys.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RotateKeyRequest'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IssueKeyResponse'
        '403':
          description: The presented key is invalid or revoked, or (see `x-required-scope` on this operation) it does not carry the scope this operation requires.
          content:
            application/json:
              schema:
                type: object
                required:
                - detail
                properties:
                  detail:
                    anyOf:
                    - type: string
                    - type: object
                      required:
                      - reason
                      - required_scope
                      - endpoint
                      properties:
                        reason:
                          type: string
                          enum:
                          - scope_required
                        required_scope:
                          type: string
                        endpoint:
                          type: string
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '401':
          description: No API key was sent.
          content:
            application/json:
              schema:
                type: object
                required:
                - detail
                properties:
                  detail:
                    type: string
      x-required-scope: account
      tags:
      - Keys
    servers:
    - url: https://api.reqbeat.com
components:
  schemas:
    KeyListItem:
      properties:
        id:
          type: integer
          title: Id
        account_id:
          type: integer
          title: Account Id
        tier:
          type: string
          title: Tier
        scopes:
          items:
            type: string
            enum:
            - read
            - write
            - webhooks
            - account
          type: array
          title: Scopes
        created_at:
          type: string
          format: date-time
          title: Created At
        revoked_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Revoked At
        last_used_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Last Used At
      type: object
      required:
      - id
      - account_id
      - tier
      - scopes
      - created_at
      - revoked_at
      - last_used_at
      title: KeyListItem
    RotateKeyRequest:
      properties:
        scopes:
          anyOf:
          - items:
              type: string
              enum:
              - read
              - write
              - webhooks
              - account
            type: array
          - type: 'null'
          title: Scopes
      type: object
      title: RotateKeyRequest
    IssueKeyResponse:
      properties:
        id:
          type: integer
          title: Id
        key:
          type: string
          title: Key
        customer_id:
          type: string
          title: Customer Id
        account_id:
          type: integer
          title: Account Id
        tier:
          type: string
          title: Tier
        scopes:
          items:
            type: string
            enum:
            - read
            - write
            - webhooks
            - account
          type: array
          title: Scopes
      type: object
      required:
      - id
      - key
      - customer_id
      - account_id
      - tier
      - scopes
      title: IssueKeyResponse
    KeyListResponse:
      properties:
        keys:
          items:
            $ref: '#/components/schemas/KeyListItem'
          type: array
          title: Keys
      type: object
      required:
      - keys
      title: KeyListResponse
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    IssueKeyRequest:
      properties:
        scopes:
          anyOf:
          - items:
              type: string
              enum:
              - read
              - write
              - webhooks
              - account
            type: array
          - type: 'null'
          title: Scopes
      additionalProperties: false
      type: object
      title: IssueKeyRequest
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key
    HTTPBearer:
      type: http
      scheme: bearer
x-refined-from:
- openapi.json
- reqbeat-com-openapi.json