Rulebase Customer Issues API

The Customer Issues API from Rulebase — 4 operation(s) for customer issues.

Operations 7

GET /customer-issues Get customer issues #
POST /customer-issues Create customer issues #
GET /customer-issues/{id} Get customer issues by id #
PATCH /customer-issues/{id} Update customer issues by id #
DELETE /customer-issues/{id} Delete customer issues by id #
POST /customer-issues/description/generate Create customer issues description generate #
GET /customer_issues/{id}/statistics Get customer issue statistics #

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/rulebase:rulebase-customer-issues-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

rulebase-customer-issues-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Rulebase API2 Customer Issues API
  version: 0.0.1
tags:
- name: Customer Issues
paths:
  /customer-issues:
    get:
      parameters:
      - schema:
          type: integer
          minimum: 0
          exclusiveMinimum: true
          default: 1
        required: false
        name: page
        in: query
      - schema:
          type: integer
          description: Values above 100 are clamped to 100
          minimum: 1
        required: false
        name: limit
        in: query
      responses:
        '200':
          description: List customer issues
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        name:
                          type: string
                          nullable: true
                        description:
                          type: string
                          nullable: true
                        type:
                          type: string
                          enum:
                          - product
                          - service
                      required:
                      - id
                      - name
                      - description
                      - type
                  meta:
                    type: object
                    properties:
                      page:
                        type: object
                        properties:
                          next:
                            type: string
                            nullable: true
                          limit:
                            type: integer
                          total:
                            type: integer
                        required:
                        - next
                        - limit
                        - total
                    required:
                    - page
                required:
                - data
                - meta
        '503':
          description: Rails organization unavailable
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
      tags:
      - Customer Issues
      summary: Get customer issues
      x-summary-source: derived
      operationId: getCustomerIssues
      x-operation-id-source: derived
    post:
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  minLength: 1
                description:
                  type: string
                  minLength: 1
                type:
                  type: string
                  enum:
                  - product
                  - service
                  default: service
              required:
              - name
              - description
      responses:
        '201':
          description: Customer issue created
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                      name:
                        type: string
                        nullable: true
                      description:
                        type: string
                        nullable: true
                      type:
                        type: string
                        enum:
                        - product
                        - service
                    required:
                    - id
                    - name
                    - description
                    - type
                required:
                - data
        '403':
          description: Missing permission
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '503':
          description: Rails organization unavailable
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
      tags:
      - Customer Issues
      summary: Create customer issues
      x-summary-source: derived
      operationId: postCustomerIssues
      x-operation-id-source: derived
  /customer-issues/{id}:
    get:
      parameters:
      - schema:
          type: string
        required: true
        name: id
        in: path
      responses:
        '200':
          description: Customer issue
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                      name:
                        type: string
                        nullable: true
                      description:
                        type: string
                        nullable: true
                      type:
                        type: string
                        enum:
                        - product
                        - service
                    required:
                    - id
                    - name
                    - description
                    - type
                required:
                - data
        '404':
          description: Customer issue not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '503':
          description: Rails organization unavailable
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
      tags:
      - Customer Issues
      summary: Get customer issues by id
      x-summary-source: derived
      operationId: getCustomerIssuesById
      x-operation-id-source: derived
    patch:
      parameters:
      - schema:
          type: string
        required: true
        name: id
        in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  minLength: 1
                description:
                  type: string
                  minLength: 1
                type:
                  type: string
                  enum:
                  - product
                  - service
                  default: service
              required:
              - name
              - description
      responses:
        '200':
          description: Customer issue updated
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                      name:
                        type: string
                        nullable: true
                      description:
                        type: string
                        nullable: true
                      type:
                        type: string
                        enum:
                        - product
                        - service
                    required:
                    - id
                    - name
                    - description
                    - type
                required:
                - data
        '403':
          description: Missing permission
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '404':
          description: Customer issue not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '503':
          description: Rails organization unavailable
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
      tags:
      - Customer Issues
      summary: Update customer issues by id
      x-summary-source: derived
      operationId: patchCustomerIssuesById
      x-operation-id-source: derived
    delete:
      parameters:
      - schema:
          type: string
        required: true
        name: id
        in: path
      responses:
        '204':
          description: Customer issue deleted
        '403':
          description: Missing permission
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '404':
          description: Customer issue not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '503':
          description: Rails organization unavailable
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
      tags:
      - Customer Issues
      summary: Delete customer issues by id
      x-summary-source: derived
      operationId: deleteCustomerIssuesById
      x-operation-id-source: derived
  /customer-issues/description/generate:
    post:
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  maxLength: 255
                type:
                  type: string
                  enum:
                  - product
                  - service
                currentDescription:
                  type: string
                  nullable: true
                  maxLength: 10000
                prompt:
                  type: string
                  minLength: 1
                  maxLength: 4000
              required:
              - name
              - type
              - prompt
      responses:
        '200':
          description: Generated customer issue description
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      description:
                        type: string
                        minLength: 1
                        description: Short theme-summary customer issue description matching existing taxonomy style.
                    required:
                    - description
                    additionalProperties: false
                required:
                - data
        '400':
          description: Invalid generation input
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '403':
          description: Missing permission
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '502':
          description: Description generation failed
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
      tags:
      - Customer Issues
      summary: Create customer issues description generate
      x-summary-source: derived
      operationId: postCustomerIssuesDescriptionGenerate
      x-operation-id-source: derived
  /customer_issues/{id}/statistics:
    get:
      summary: Get customer issue statistics
      tags:
      - Customer Issues
      parameters:
      - schema:
          type: string
        required: true
        name: id
        in: path
      - schema:
          type: string
          format: date
        required: false
        name: start_date
        in: query
      - schema:
          type: string
          format: date
        required: false
        name: end_date
        in: query
      responses:
        '200':
          description: Customer issue statistics
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      conversation_count_by_date:
                        type: array
                        items:
                          type: object
                          properties:
                            date:
                              type: string
                            conversation_count:
                              type: integer
                          required:
                          - date
                          - conversation_count
                      fcr_by_date:
                        type: array
                        items:
                          type: object
                          properties:
                            date:
                              type: string
                            root_conversations_count:
                              type: integer
                            fcr_conversations_count:
                              type: integer
                            fcr_rate:
                              type: number
                            adjusted_fcr_rate:
                              type: number
                          required:
                          - date
                          - root_conversations_count
                          - fcr_conversations_count
                          - fcr_rate
                          - adjusted_fcr_rate
                      conversations_count:
                        type: integer
                      average_handling_time:
                        type: number
                        nullable: true
                    required:
                    - conversation_count_by_date
                    - fcr_by_date
                    - conversations_count
                    - average_handling_time
                required:
                - data
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '404':
          description: Not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
      operationId: getCustomerIssuesByIdStatistics
      x-operation-id-source: derived
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Rulebase organization API key