Coperniq labels API

The labels API from Coperniq — 2 operation(s) for labels.

Operations 3

GET /labels List Labels #
POST /labels Create Label #
GET /labels/{labelId} Get Label #

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/coperniq-labels-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

coperniq-labels-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Key accounts Labels API
  version: 1.0.0
servers:
- url: https://api.coperniq.io/v1
  description: Production server
tags:
- name: labels
paths:
  /labels:
    get:
      operationId: list-labels
      summary: List Labels
      description: 'Lists active labels for your company. Labels can be applied to work orders (`WORK` type) or assets (`ASSET` type).

        The company is implied by the API key.

        '
      tags:
      - labels
      parameters:
      - name: type
        in: query
        description: Filter by label type
        required: false
        schema:
          $ref: '#/components/schemas/LabelsGetParametersType'
      - name: page
        in: query
        description: Page number (1-based)
        required: false
        schema:
          type: integer
          default: 1
      - name: page_size
        in: query
        description: Number of items per page (max 100)
        required: false
        schema:
          type: integer
          default: 20
      - name: x-api-key
        in: header
        required: true
        schema:
          type: string
      responses:
        '200':
          description: List of labels
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Label'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListLabelsRequestBadRequestError'
        '401':
          description: Authentication failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListLabelsRequestUnauthorizedError'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListLabelsRequestInternalServerError'
        '502':
          description: Bad Gateway — downstream GraphQL service returned errors
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListLabelsRequestBadGatewayError'
    post:
      operationId: create-label
      summary: Create Label
      description: 'Creates a new label for the company. Use `WORK` for work-order labels or `ASSET` for asset labels.

        '
      tags:
      - labels
      parameters:
      - name: x-api-key
        in: header
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Label created successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Label'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateLabelRequestBadRequestError'
        '401':
          description: Authentication failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateLabelRequestUnauthorizedError'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateLabelRequestInternalServerError'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateLabelRequest'
  /labels/{labelId}:
    get:
      operationId: get-label
      summary: Get Label
      description: Retrieve a single label by ID.
      tags:
      - labels
      parameters:
      - name: labelId
        in: path
        required: true
        schema:
          type: string
      - name: x-api-key
        in: header
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Label retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Label'
        '401':
          description: Authentication failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetLabelRequestUnauthorizedError'
        '404':
          description: Resource not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetLabelRequestNotFoundError'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetLabelRequestInternalServerError'
        '502':
          description: Bad Gateway — downstream GraphQL service returned errors
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetLabelRequestBadGatewayError'
components:
  schemas:
    LabelsLabelIdGetResponsesContentApplicationJsonSchemaCode:
      type: string
      enum:
      - GRAPHQL_ERROR
      title: LabelsLabelIdGetResponsesContentApplicationJsonSchemaCode
    CreateLabelRequestUnauthorizedError:
      type: object
      properties:
        message:
          type: string
        code:
          $ref: '#/components/schemas/LabelsPostResponsesContentApplicationJsonSchemaCode'
      title: CreateLabelRequestUnauthorizedError
    LabelsGetResponsesContentApplicationJsonSchemaCode:
      type: string
      enum:
      - GRAPHQL_ERROR
      title: LabelsGetResponsesContentApplicationJsonSchemaCode
    GetLabelRequestInternalServerError:
      type: object
      properties:
        message:
          type: string
        code:
          $ref: '#/components/schemas/LabelsLabelIdGetResponsesContentApplicationJsonSchemaCode'
      title: GetLabelRequestInternalServerError
    LabelsGetParametersType:
      type: string
      enum:
      - WORK
      - ASSET
      title: LabelsGetParametersType
    ListLabelsRequestBadGatewayError:
      type: object
      properties:
        message:
          type: string
        code:
          $ref: '#/components/schemas/LabelsGetResponsesContentApplicationJsonSchemaCode'
      required:
      - message
      - code
      title: ListLabelsRequestBadGatewayError
    GetLabelRequestUnauthorizedError:
      type: object
      properties:
        message:
          type: string
        code:
          $ref: '#/components/schemas/LabelsLabelIdGetResponsesContentApplicationJsonSchemaCode'
      title: GetLabelRequestUnauthorizedError
    ListLabelsRequestUnauthorizedError:
      type: object
      properties:
        message:
          type: string
        code:
          $ref: '#/components/schemas/LabelsGetResponsesContentApplicationJsonSchemaCode'
      title: ListLabelsRequestUnauthorizedError
    Label:
      type: object
      properties:
        id:
          type: integer
          description: Label identifier
        name:
          type: string
          description: Label display name
        color:
          type:
          - string
          - 'null'
          description: Label color as a hex code (e.g. "#FF5733"), or null if unset
        type:
          $ref: '#/components/schemas/LabelType'
          description: Label type — WORK for work-order labels, ASSET for asset labels
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
      required:
      - id
      - name
      - color
      - type
      - createdAt
      - updatedAt
      description: A label that can be applied to work orders or assets.
      title: Label
    CreateLabelRequest:
      type: object
      properties:
        name:
          type: string
          description: Label name
        color:
          type:
          - string
          - 'null'
          description: Label color as a hex code (e.g. "#FF5733")
        type:
          $ref: '#/components/schemas/CreateLabelRequestType'
          description: Label type — WORK for work-order labels, ASSET for asset labels
      required:
      - name
      - type
      title: CreateLabelRequest
    CreateLabelRequestInternalServerError:
      type: object
      properties:
        message:
          type: string
        code:
          $ref: '#/components/schemas/LabelsPostResponsesContentApplicationJsonSchemaCode'
      title: CreateLabelRequestInternalServerError
    GetLabelRequestBadGatewayError:
      type: object
      properties:
        code:
          $ref: '#/components/schemas/LabelsLabelIdGetResponsesContentApplicationJsonSchemaCode'
        message:
          type: string
      required:
      - code
      - message
      title: GetLabelRequestBadGatewayError
    ListLabelsRequestInternalServerError:
      type: object
      properties:
        message:
          type: string
        code:
          $ref: '#/components/schemas/LabelsGetResponsesContentApplicationJsonSchemaCode'
      title: ListLabelsRequestInternalServerError
    LabelType:
      type: string
      enum:
      - WORK
      - ASSET
      description: Label type — WORK for work-order labels, ASSET for asset labels
      title: LabelType
    ListLabelsRequestBadRequestError:
      type: object
      properties:
        message:
          type: string
        code:
          $ref: '#/components/schemas/LabelsGetResponsesContentApplicationJsonSchemaCode'
        field:
          type: string
          description: Field that caused the validation error (if applicable)
      title: ListLabelsRequestBadRequestError
    GetLabelRequestNotFoundError:
      type: object
      properties:
        message:
          type: string
        code:
          $ref: '#/components/schemas/LabelsLabelIdGetResponsesContentApplicationJsonSchemaCode'
      title: GetLabelRequestNotFoundError
    CreateLabelRequestType:
      type: string
      enum:
      - WORK
      - ASSET
      description: Label type — WORK for work-order labels, ASSET for asset labels
      title: CreateLabelRequestType
    CreateLabelRequestBadRequestError:
      type: object
      properties:
        message:
          type: string
        code:
          $ref: '#/components/schemas/LabelsPostResponsesContentApplicationJsonSchemaCode'
        field:
          type: string
          description: Field that caused the validation error (if applicable)
      title: CreateLabelRequestBadRequestError
    LabelsPostResponsesContentApplicationJsonSchemaCode:
      type: string
      enum:
      - INTERNAL_SERVER_ERROR
      title: LabelsPostResponsesContentApplicationJsonSchemaCode
  securitySchemes:
    BasicAuth:
      type: http
      scheme: basic