Charthop category-sort API

The category-sort API from Charthop — 2 operation(s) for category-sort.

Operations 6

GET /v1/org/{orgId}/category-sort Return category sort order #
POST /v1/org/{orgId}/category-sort Create a category sort order if it doesn't exist #
PUT /v1/org/{orgId}/category-sort Create or update category sort order for a given org and return the sort data #
PATCH /v1/org/{orgId}/category-sort Update an existing category sort order #
DELETE /v1/org/{orgId}/category-sort Delete a category sort order #
POST /v1/org/{orgId}/category-sort/upsert Create or update category sort order for a given org and return the sort data #

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/charthop-category-sort-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 email required.

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

OpenAPI Specification

charthop-category-sort-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: REST API for ChartHop
  version: V1.0.0
  title: ChartHop access Category Sort API
  contact:
    name: ChartHop
    url: https://www.charthop.com
    email: support@charthop.com
servers:
- url: https://localhost
- url: http://localhost
tags:
- name: category-sort
paths:
  /v1/org/{orgId}/category-sort:
    get:
      tags:
      - category-sort
      summary: Return category sort order
      operationId: getCategorySort
      parameters:
      - name: orgId
        in: path
        description: Org identifier (either id or slug)
        required: true
        schema:
          type: string
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CategorySort'
        '400':
          description: bad request
        '401':
          description: not authorized
        '404':
          description: not found
        '500':
          description: Not Implemented
    post:
      tags:
      - category-sort
      summary: Create a category sort order if it doesn't exist
      operationId: createCategorySort
      parameters:
      - name: orgId
        in: path
        description: Org identifier (either id or slug)
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Category sort order created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CategorySort'
        '400':
          description: bad request
        '401':
          description: not authorized
        '404':
          description: not found
        '500':
          description: Not Implemented
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateCategorySort'
        description: Sort data to create
        required: true
    put:
      tags:
      - category-sort
      summary: Create or update category sort order for a given org and return the sort data
      operationId: updateOrCreateCategorySort
      parameters:
      - name: orgId
        in: path
        description: Org identifier (either id or slug)
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Category sort order created or updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CategorySort'
        '400':
          description: categoryIds cannot be empty
        '403':
          description: Permission denied
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateCategorySort'
        description: Category Ids in sort order
        required: true
    patch:
      tags:
      - category-sort
      summary: Update an existing category sort order
      operationId: updateCategorySort
      parameters:
      - name: orgId
        in: path
        description: Org identifier (either id or slug)
        required: true
        schema:
          type: string
      responses:
        '500':
          description: Not Implemented
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateCategorySort'
        description: Sort data to update
        required: true
    delete:
      tags:
      - category-sort
      summary: Delete a category sort order
      operationId: deleteCategorySort
      parameters:
      - name: orgId
        in: path
        description: Org identifier (either id or slug)
        required: true
        schema:
          type: string
      responses:
        '500':
          description: Not Implemented
  /v1/org/{orgId}/category-sort/upsert:
    post:
      tags:
      - category-sort
      summary: Create or update category sort order for a given org and return the sort data
      operationId: upsertCategorySort
      parameters:
      - name: orgId
        in: path
        description: Org identifier (either id or slug)
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Category sort order created or updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CategorySort'
        '400':
          description: categoryIds cannot be empty
        '403':
          description: Permission denied
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateCategorySort'
        description: Category Ids in sort order
        required: true
components:
  schemas:
    Attribution:
      type: object
      properties:
        principalUserId:
          type: string
          example: 588f7ee98f138b19220041a7
        agentUserIds:
          type: array
          items:
            type: string
            example: 588f7ee98f138b19220041a7
        eventId:
          type: string
          example: 588f7ee98f138b19220041a7
        aiChatId:
          type: string
          example: 588f7ee98f138b19220041a7
        aiToolUseId:
          type: string
        channel:
          type: string
          enum:
          - WEB
          - MOBILE
          - SLACK
          - TEAMS
          - MCP
    UpdateCategorySort:
      type: object
      properties:
        categoryIds:
          type: array
          description: ordered list of category ids of an org
          items:
            type: string
            example: 588f7ee98f138b19220041a7
    CreateCategorySort:
      type: object
      required:
      - orgId
      - categoryIds
      properties:
        orgId:
          type: string
          description: parent organization id (empty if built-in)
          example: 588f7ee98f138b19220041a7
        categoryIds:
          type: array
          description: ordered list of category ids of an org
          items:
            type: string
            example: 588f7ee98f138b19220041a7
    CategorySort:
      type: object
      required:
      - id
      properties:
        id:
          type: string
          description: globally unique id
          example: 588f7ee98f138b19220041a7
        orgId:
          type: string
          description: parent organization id (empty if built-in)
          example: 588f7ee98f138b19220041a7
        categoryIds:
          type: array
          description: ordered list of category ids of an org
          items:
            type: string
            example: 588f7ee98f138b19220041a7
        createId:
          type: string
          description: created by user id
          example: 588f7ee98f138b19220041a7
        createBehalfId:
          type: string
          description: created on behalf of user id
          example: 588f7ee98f138b19220041a7
        createAttribution:
          $ref: '#/components/schemas/Attribution'
        createAt:
          type: string
          description: created timestamp
          example: '2017-01-24T13:57:52Z'
        updateId:
          type: string
          description: last updated by user id
          example: 588f7ee98f138b19220041a7
        updateBehalfId:
          type: string
          description: last updated on behalf of user id
          example: 588f7ee98f138b19220041a7
        updateAttribution:
          $ref: '#/components/schemas/Attribution'
        updateAt:
          type: string
          description: last updated timestamp
          example: '2017-01-24T13:57:52Z'
        deleteId:
          type: string
          description: deleted by user id
          example: 588f7ee98f138b19220041a7
        deleteBehalfId:
          type: string
          description: deleted on behalf of user id
          example: 588f7ee98f138b19220041a7
        deleteAttribution:
          $ref: '#/components/schemas/Attribution'
        deleteAt:
          type: string
          description: deleted timestamp
          example: '2017-01-24T13:57:52Z'