Cephable Device Command API

The DeviceCommand API from Cephable — 9 operation(s) for devicecommand.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 9

POST /api/DeviceCommand/{userDeviceId}/command Create api device command by user device id command #
POST /api/DeviceCommand/{userDeviceId}/type Create api device command by user device id type #
POST /api/DeviceCommand/{userDeviceId}/work Create api device command by user device id work #
POST /api/DeviceCommand/{userDeviceId}/work/stop Create api device command by user device id work stop #
POST /api/DeviceCommand/{userDeviceId}/work/respond Create api device command by user device id work respond #
POST /api/DeviceCommand/{userDeviceId}/work/status/request Create api device command by user device id work status request #
POST /api/DeviceCommand/{userDeviceId}/Listen/Start Create api device command by user device id listen start #
POST /api/DeviceCommand/{userDeviceId}/Listen/Stop Create api device command by user device id listen stop #
POST /api/DeviceCommand/{userDeviceId}/Firmware/Update Create api device command by user device id firmware update #

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/cephable:cephable-devicecommand-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

cephable-devicecommand-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cephable Device Command API
  version: v1
security:
- Bearer: []
- X-API-KEY: []
- X-Device-Token: []
- {}
tags:
- name: DeviceCommand
paths:
  /api/DeviceCommand/{userDeviceId}/command:
    post:
      tags:
      - DeviceCommand
      parameters:
      - name: userDeviceId
        in: path
        required: true
        schema:
          type: string
      - name: X-COMMAND-TOKEN
        in: header
        schema:
          type: string
      - name: command
        in: query
        schema:
          type: string
      requestBody:
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/MacroModel'
          application/json:
            schema:
              $ref: '#/components/schemas/MacroModel'
          text/json:
            schema:
              $ref: '#/components/schemas/MacroModel'
          application/*+json:
            schema:
              $ref: '#/components/schemas/MacroModel'
      responses:
        '400':
          description: Bad Request
          content:
            text/plain:
              schema:
                type: array
                items:
                  type: string
            application/json:
              schema:
                type: array
                items:
                  type: string
            text/json:
              schema:
                type: array
                items:
                  type: string
        '403':
          description: Forbidden
          content:
            text/plain:
              schema:
                type: array
                items:
                  type: string
            application/json:
              schema:
                type: array
                items:
                  type: string
            text/json:
              schema:
                type: array
                items:
                  type: string
        '200':
          description: OK
      security:
      - Bearer: []
        X-Device-Token: []
        X-API-KEY: []
        OAuth2: []
      summary: Create api device command by user device id command
      x-summary-source: derived
      operationId: postApiDeviceCommandByUserDeviceIdCommand
      x-operation-id-source: derived
  /api/DeviceCommand/{userDeviceId}/type:
    post:
      tags:
      - DeviceCommand
      parameters:
      - name: userDeviceId
        in: path
        required: true
        schema:
          type: string
      - name: phrase
        in: query
        schema:
          type: string
      - name: X-COMMAND-TOKEN
        in: header
        schema:
          type: string
      responses:
        '400':
          description: Bad Request
          content:
            text/plain:
              schema:
                type: array
                items:
                  type: string
            application/json:
              schema:
                type: array
                items:
                  type: string
            text/json:
              schema:
                type: array
                items:
                  type: string
        '403':
          description: Forbidden
          content:
            text/plain:
              schema:
                type: array
                items:
                  type: string
            application/json:
              schema:
                type: array
                items:
                  type: string
            text/json:
              schema:
                type: array
                items:
                  type: string
        '200':
          description: OK
      security:
      - Bearer: []
        X-Device-Token: []
        X-API-KEY: []
        OAuth2: []
      summary: Create api device command by user device id type
      x-summary-source: derived
      operationId: postApiDeviceCommandByUserDeviceIdType
      x-operation-id-source: derived
  /api/DeviceCommand/{userDeviceId}/work:
    post:
      tags:
      - DeviceCommand
      parameters:
      - name: userDeviceId
        in: path
        required: true
        schema:
          type: string
      - name: X-COMMAND-TOKEN
        in: header
        schema:
          type: string
      requestBody:
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/DeviceRunWorkflowRequest'
          application/json:
            schema:
              $ref: '#/components/schemas/DeviceRunWorkflowRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/DeviceRunWorkflowRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/DeviceRunWorkflowRequest'
      responses:
        '400':
          description: Bad Request
          content:
            text/plain:
              schema:
                type: array
                items:
                  type: string
            application/json:
              schema:
                type: array
                items:
                  type: string
            text/json:
              schema:
                type: array
                items:
                  type: string
        '403':
          description: Forbidden
          content:
            text/plain:
              schema:
                type: array
                items:
                  type: string
            application/json:
              schema:
                type: array
                items:
                  type: string
            text/json:
              schema:
                type: array
                items:
                  type: string
      security:
      - Bearer: []
        X-Device-Token: []
        X-API-KEY: []
        OAuth2: []
      summary: Create api device command by user device id work
      x-summary-source: derived
      operationId: postApiDeviceCommandByUserDeviceIdWork
      x-operation-id-source: derived
  /api/DeviceCommand/{userDeviceId}/work/stop:
    post:
      tags:
      - DeviceCommand
      parameters:
      - name: userDeviceId
        in: path
        required: true
        schema:
          type: string
      - name: X-COMMAND-TOKEN
        in: header
        schema:
          type: string
      responses:
        '400':
          description: Bad Request
          content:
            text/plain:
              schema:
                type: array
                items:
                  type: string
            application/json:
              schema:
                type: array
                items:
                  type: string
            text/json:
              schema:
                type: array
                items:
                  type: string
        '403':
          description: Forbidden
          content:
            text/plain:
              schema:
                type: array
                items:
                  type: string
            application/json:
              schema:
                type: array
                items:
                  type: string
            text/json:
              schema:
                type: array
                items:
                  type: string
      security:
      - Bearer: []
        X-Device-Token: []
        X-API-KEY: []
        OAuth2: []
      summary: Create api device command by user device id work stop
      x-summary-source: derived
      operationId: postApiDeviceCommandByUserDeviceIdWorkStop
      x-operation-id-source: derived
  /api/DeviceCommand/{userDeviceId}/work/respond:
    post:
      tags:
      - DeviceCommand
      parameters:
      - name: userDeviceId
        in: path
        required: true
        schema:
          type: string
      - name: X-COMMAND-TOKEN
        in: header
        schema:
          type: string
      requestBody:
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/UserDeviceWorkflowInputResponse'
          application/json:
            schema:
              $ref: '#/components/schemas/UserDeviceWorkflowInputResponse'
          text/json:
            schema:
              $ref: '#/components/schemas/UserDeviceWorkflowInputResponse'
          application/*+json:
            schema:
              $ref: '#/components/schemas/UserDeviceWorkflowInputResponse'
      responses:
        '400':
          description: Bad Request
          content:
            text/plain:
              schema:
                type: array
                items:
                  type: string
            application/json:
              schema:
                type: array
                items:
                  type: string
            text/json:
              schema:
                type: array
                items:
                  type: string
        '403':
          description: Forbidden
          content:
            text/plain:
              schema:
                type: array
                items:
                  type: string
            application/json:
              schema:
                type: array
                items:
                  type: string
            text/json:
              schema:
                type: array
                items:
                  type: string
        '200':
          description: OK
      security:
      - Bearer: []
        X-Device-Token: []
        X-API-KEY: []
        OAuth2: []
      summary: Create api device command by user device id work respond
      x-summary-source: derived
      operationId: postApiDeviceCommandByUserDeviceIdWorkRespond
      x-operation-id-source: derived
  /api/DeviceCommand/{userDeviceId}/work/status/request:
    post:
      tags:
      - DeviceCommand
      parameters:
      - name: userDeviceId
        in: path
        required: true
        schema:
          type: string
      - name: X-COMMAND-TOKEN
        in: header
        schema:
          type: string
      responses:
        '400':
          description: Bad Request
          content:
            text/plain:
              schema:
                type: array
                items:
                  type: string
            application/json:
              schema:
                type: array
                items:
                  type: string
            text/json:
              schema:
                type: array
                items:
                  type: string
        '403':
          description: Forbidden
          content:
            text/plain:
              schema:
                type: array
                items:
                  type: string
            application/json:
              schema:
                type: array
                items:
                  type: string
            text/json:
              schema:
                type: array
                items:
                  type: string
      security:
      - Bearer: []
        X-Device-Token: []
        X-API-KEY: []
        OAuth2: []
      summary: Create api device command by user device id work status request
      x-summary-source: derived
      operationId: postApiDeviceCommandByUserDeviceIdWorkStatusRequest
      x-operation-id-source: derived
  /api/DeviceCommand/{userDeviceId}/Listen/Start:
    post:
      tags:
      - DeviceCommand
      parameters:
      - name: userDeviceId
        in: path
        required: true
        schema:
          type: string
      - name: X-COMMAND-TOKEN
        in: header
        schema:
          type: string
      responses:
        '400':
          description: Bad Request
          content:
            text/plain:
              schema:
                type: array
                items:
                  type: string
            application/json:
              schema:
                type: array
                items:
                  type: string
            text/json:
              schema:
                type: array
                items:
                  type: string
        '403':
          description: Forbidden
          content:
            text/plain:
              schema:
                type: array
                items:
                  type: string
            application/json:
              schema:
                type: array
                items:
                  type: string
            text/json:
              schema:
                type: array
                items:
                  type: string
        '200':
          description: OK
      security:
      - Bearer: []
        X-Device-Token: []
        X-API-KEY: []
        OAuth2: []
      summary: Create api device command by user device id listen start
      x-summary-source: derived
      operationId: postApiDeviceCommandByUserDeviceIdListenStart
      x-operation-id-source: derived
  /api/DeviceCommand/{userDeviceId}/Listen/Stop:
    post:
      tags:
      - DeviceCommand
      parameters:
      - name: userDeviceId
        in: path
        required: true
        schema:
          type: string
      - name: X-COMMAND-TOKEN
        in: header
        schema:
          type: string
      responses:
        '400':
          description: Bad Request
          content:
            text/plain:
              schema:
                type: array
                items:
                  type: string
            application/json:
              schema:
                type: array
                items:
                  type: string
            text/json:
              schema:
                type: array
                items:
                  type: string
        '403':
          description: Forbidden
          content:
            text/plain:
              schema:
                type: array
                items:
                  type: string
            application/json:
              schema:
                type: array
                items:
                  type: string
            text/json:
              schema:
                type: array
                items:
                  type: string
        '200':
          description: OK
      security:
      - Bearer: []
        X-Device-Token: []
        X-API-KEY: []
        OAuth2: []
      summary: Create api device command by user device id listen stop
      x-summary-source: derived
      operationId: postApiDeviceCommandByUserDeviceIdListenStop
      x-operation-id-source: derived
  /api/DeviceCommand/{userDeviceId}/Firmware/Update:
    post:
      tags:
      - DeviceCommand
      parameters:
      - name: userDeviceId
        in: path
        required: true
        schema:
          type: string
      - name: X-COMMAND-TOKEN
        in: header
        schema:
          type: string
      responses:
        '400':
          description: Bad Request
          content:
            text/plain:
              schema:
                type: array
                items:
                  type: string
            application/json:
              schema:
                type: array
                items:
                  type: string
            text/json:
              schema:
                type: array
                items:
                  type: string
        '403':
          description: Forbidden
          content:
            text/plain:
              schema:
                type: array
                items:
                  type: string
            application/json:
              schema:
                type: array
                items:
                  type: string
            text/json:
              schema:
                type: array
                items:
                  type: string
        '200':
          description: OK
      security:
      - Bearer: []
        X-Device-Token: []
        X-API-KEY: []
        OAuth2: []
      summary: Create api device command by user device id firmware update
      x-summary-source: derived
      operationId: postApiDeviceCommandByUserDeviceIdFirmwareUpdate
      x-operation-id-source: derived
components:
  schemas:
    DeviceRunWorkflowRequest:
      type: object
      properties:
        prompt:
          type:
          - string
          - 'null'
      additionalProperties: false
    MacroModel:
      type: object
      properties:
        id:
          type:
          - string
          - 'null'
        name:
          type:
          - string
          - 'null'
        issuedAt:
          type:
          - string
          - 'null'
          format: date-time
        commands:
          type:
          - array
          - 'null'
          items:
            type: string
        events:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/MacroEvent'
        isFavorite:
          type: boolean
      additionalProperties: false
    MacroEvent:
      type: object
      properties:
        eventType:
          $ref: '#/components/schemas/MacroEventType'
        keys:
          type:
          - array
          - 'null'
          items:
            type: string
        holdTimeMilliseconds:
          type: integer
          format: int32
        isKeyLatch:
          type: boolean
        typedPhrase:
          type:
          - string
          - 'null'
        mouseMoveX:
          type:
          - integer
          - 'null'
          format: int32
        mouseMoveY:
          type:
          - integer
          - 'null'
          format: int32
        mouseMoveScroll:
          type:
          - integer
          - 'null'
          format: int32
        joystickLeftMoveX:
          type:
          - integer
          - 'null'
          format: int32
        joystickLeftMoveY:
          type:
          - integer
          - 'null'
          format: int32
        joystickRightMoveX:
          type:
          - integer
          - 'null'
          format: int32
        joystickRightMoveY:
          type:
          - integer
          - 'null'
          format: int32
        outputSpeech:
          type:
          - string
          - 'null'
        audioFileUrl:
          type:
          - string
          - 'null'
        deviceTypeCustomActionId:
          type:
          - string
          - 'null'
        deviceTypeId:
          type:
          - string
          - 'null'
        additionalInputContent:
          type:
          - string
          - 'null'
        isCustomToggle:
          type: boolean
        isCustomRelease:
          type: boolean
      additionalProperties: false
    UserDeviceWorkflowInputResponse:
      type: object
      properties:
        requestId:
          type:
          - string
          - 'null'
        answers:
          type:
          - object
          - 'null'
          additionalProperties:
            type:
            - array
            - 'null'
            items:
              type: string
      additionalProperties: false
    MacroEventType:
      enum:
      - 0
      - 1
      - 2
      - 3
      - 4
      - 5
      - 6
      - 7
      - 8
      - 9
      type: integer
      format: int32
  securitySchemes:
    Bearer:
      type: apiKey
      description: 'Enter ''Bearer'' [space] and then your valid token in the text input below.


        Example: "Bearer abc123"'
      name: Authorization
      in: header
    X-API-KEY:
      type: apiKey
      description: Paste your API Key below
      name: X-API-KEY
      in: header
    X-Device-Token:
      type: apiKey
      description: Paste your device token below
      name: X-Device-Token
      in: header
    OAuth2:
      type: oauth2
      description: Password based login
      flows:
        authorizationCode:
          authorizationUrl: https://services.cephable.com/signin
          tokenUrl: https://services.cephable.com/signin/token
          refreshUrl: https://services.cephable.com/signin/token
          scopes: {}