Kiteworks Devices API

The devices API from Kiteworks — 6 operation(s) for devices.

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

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /rest/devices List devices that have authenticated · List devices #
Ask an LLM
“Which devices have logged in to Kiteworks recently?”
“Can I find the device a user logged in from by install tag ID?”
Tell an agent
List devices for user {userId}.
Find the device with install tag {installTagId}.
POST /rest/devices Register a new device · Register a device #
Ask an LLM
“How do I register a device when a user logs in?”
“Can I set the install name and mobile key store when registering a device?”
Tell an agent
Register device {installName} for user {userId} with install tag {installTagId}.
Register a new device for client {clientId} using key store {mobileKeyStore}.
PATCH /rest/devices/me/actions/wipe Report a remote wipe as completed · Report wipe completed #
Ask an LLM
“How do I tell the server a remote wipe finished?”
“What happens to the wipe flag after I report completion?”
Tell an agent
Report that the current device's remote wipe is completed.
Mark the remote wipe as done on this device.
GET /rest/devices/{id} Get a registered device · Get a device #
Ask an LLM
“What are the details of a specific registered device?”
“Can I see a device's name and install tag ID by its ID?”
Tell an agent
Get device {id}.
Show the details of registered device {id}.
PUT /rest/devices/{id} Update a registered device · Update a device #
Ask an LLM
“How do I change the messaging registration token on a device?”
“Can I rotate the mobile key store for a registered device?”
Tell an agent
Set the messaging registration token of device {id} to {registrationToken}.
Rotate the mobile key store of device {id} to {mobileKeyStore}.
DELETE /rest/devices/{id} Delete a registered device · Delete a device #
Ask an LLM
“How do I remove a device from Kiteworks?”
“Can I delete a registered device by ID?”
Tell an agent destructive · confirm first
Delete device {id}.
Remove registered device {id} from the server.
GET /rest/devices/{install_tag_id}/wipe Check a device's remote wipe status · Get the wipe status #
Ask an LLM
“Has the remote wipe been completed on a device?”
“Can I check the wipe status by install tag ID?”
Tell an agent
Get the remote wipe status of device {install_tag_id}.
Check whether install tag {install_tag_id} has been wiped.
GET /rest/users/{id}/devices List devices registered to a user · List devices for a user #
Ask an LLM
“Which devices has a particular user registered?”
“Can I see all devices for one user?”
Tell an agent
List devices registered to user {id}.
Show every device user {id} has logged in from.
DELETE /rest/devices/me/actions/logout Log out the current user · Log out the current user #
Ask an LLM
“How do I log out the user on the device I'm on?”
“What happens to my session when I log out?”
Tell an agent destructive · confirm first
Log out the current user and invalidate my session.
End the active session on this device.

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/kiteworks:kiteworks-devices-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

kiteworks-devices-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: '28'
  title: Kiteworks API Documentation Devices API
tags:
- name: Devices
paths:
  /rest/devices:
    get:
      tags:
      - Devices
      summary: List devices
      description: Returns a list of devices per user that have authenticated on this server. Each record includes the device name (e.g. iPad, iPhone), install tag ID, client ID, and remote wipe flag.
      responses:
        '200':
          description: Returns a paginated list of device records.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Device'
                  metadata:
                    $ref: '#/components/schemas/MetaData'
              examples:
                Device list:
                  summary: Two registered devices for a user
                  value:
                    data:
                    - id: 101
                      client_id: mobile_app_ios
                      user_id: 5
                      install_tag_id: ABC123DEF456
                      install_name: Work iPhone
                      wipe_flag: 0
                      mobile_key_store: null
                    - id: 102
                      client_id: mobile_app_ios
                      user_id: 5
                      install_tag_id: DEF456GHI789
                      install_name: Work iPad
                      wipe_flag: 0
                      mobile_key_store: null
                    total: 2
                    page: 1
                    pageSize: 20
        '490':
          description: Request blocked by WAF
      deprecated: false
      parameters:
      - in: query
        name: installTagId
        description: Unique identifier of install tag for this Device
        schema:
          type: string
      - in: query
        name: installTagId:contains
        description: Unique identifier of install tag for this Device. Search for results that contain the specified characters in this parameter.
        schema:
          type: string
      - in: query
        name: userId
        description: Unique identifier of user for this Device
        schema:
          type: string
      - in: query
        name: userId:in
        description: Unique identifier of user for this Device. Search for results that match any of the specified values for this parameter.
        schema:
          type: string
      - in: query
        name: clientId
        description: Unique identifier of client for this Device
        schema:
          type: string
      - in: query
        name: clientId:contains
        description: Unique identifier of client for this Device. Search for results that contain the specified characters in this parameter.
        schema:
          type: string
      - in: query
        name: orderBy
        description: Sorting options
        schema:
          type: array
          items:
            type: string
          enum:
          - id:asc
          - id:desc
          - installTagId:asc
          - installTagId:desc
          - userId:asc
          - userId:desc
          - clientId:asc
          - clientId:desc
      - in: query
        name: offset
        description: Offset
        schema:
          type: integer
      - in: query
        name: limit
        description: Limit
        schema:
          type: integer
      - in: query
        name: with
        description: With parameters
        schema:
          type: string
      - in: query
        name: mode
        description: Determines the detail level of the response body.
        schema:
          type: string
          enum:
          - full_with_links
          - full
          - compact
      operationId: getRestDevices
      x-operation-id-source: derived
    post:
      tags:
      - Devices
      summary: Register a device
      description: Registers a new device for a user. Called when a user logs in to Kiteworks to track the device they are using.
      responses:
        '200':
          description: Returns the newly registered device record.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Device'
              examples:
                Device registered:
                  summary: A newly registered device
                  value:
                    id: 103
                    client_id: mobile_app_ios
                    user_id: 5
                    install_tag_id: GHI789JKL012
                    install_name: Work MacBook
                    wipe_flag: 0
                    mobile_key_store: null
        '403':
          description: 'Forbidden<br /><br /><i>Possible error codes: </i>ERR_ACCESS_USER'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
              examples:
                ERR_ACCESS_USER:
                  summary: Insufficient access permissions
                  description: Insufficient access permissions
                  value:
                    errors:
                      code: ERR_ACCESS_USER
                      message: Insufficient access permissions
        '409':
          description: 'Conflict<br /><br /><i>Possible error codes: </i>ERR_ENTITY_EXISTS'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
              examples:
                ERR_ENTITY_EXISTS:
                  summary: Entity exists
                  description: Entity exists
                  value:
                    errors:
                      code: ERR_ENTITY_EXISTS
                      message: Entity exists
        '422':
          description: 'Unprocessable Content<br /><br /><i>Possible error codes: </i>ERR_INPUT_REQUIRED'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
              examples:
                ERR_INPUT_REQUIRED:
                  summary: Field is required
                  description: Field is required
                  value:
                    errors:
                      code: ERR_INPUT_REQUIRED
                      message: Field is required
        '490':
          description: Request blocked by WAF
      deprecated: false
      parameters:
      - in: query
        name: returnEntity
        description: If set to `true`, returns information about the newly created entity.
        schema:
          type: boolean
      - in: query
        name: mode
        description: Determines the detail level of the response body.
        schema:
          type: string
          enum:
          - full_with_links
          - full
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Device.Post'
      operationId: postRestDevices
      x-operation-id-source: derived
  /rest/devices/me/actions/wipe:
    patch:
      tags:
      - Devices
      summary: Report wipe completed
      description: Notifies the server that the current device has completed a requested remote wipe. Updates the wipe flag to completed.
      responses:
        '200':
          description: Wipe completion acknowledged. Returns no content.
        '490':
          description: Request blocked by WAF
      deprecated: false
      operationId: patchRestDevicesMeActionsWipe
      x-operation-id-source: derived
  /rest/devices/{id}:
    get:
      tags:
      - Devices
      summary: Get a device
      description: Returns the details of the specified device, including device name, install tag ID, client ID, and remote wipe flag.
      responses:
        '200':
          description: Returns the device record.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Device'
              examples:
                Device:
                  summary: A single device record
                  value:
                    id: 101
                    client_id: mobile_app_ios
                    user_id: 5
                    install_tag_id: ABC123DEF456
                    install_name: Work iPhone
                    wipe_flag: 0
                    mobile_key_store: null
        '490':
          description: Request blocked by WAF
      deprecated: false
      parameters:
      - in: path
        name: id
        description: The unique identifier of the device.
        required: true
        schema:
          type: integer
      operationId: getRestDevicesById
      x-operation-id-source: derived
    put:
      tags:
      - Devices
      summary: Update a device
      description: Updates the details of the specified device. Supports updating the mobile key store and messaging registration token.
      responses:
        '200':
          description: Returns the updated device record.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Device'
              examples:
                Device updated:
                  summary: Device with updated mobile key store
                  value:
                    id: 101
                    client_id: mobile_app_ios
                    user_id: 5
                    install_tag_id: ABC123DEF456
                    install_name: Work iPhone
                    wipe_flag: 0
                    mobile_key_store: base64encodedkey==
        '403':
          description: 'Forbidden<br /><br /><i>Possible error codes: </i>ERR_ACCESS_USER'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
              examples:
                ERR_ACCESS_USER:
                  summary: Insufficient access permissions
                  description: Insufficient access permissions
                  value:
                    errors:
                      code: ERR_ACCESS_USER
                      message: Insufficient access permissions
        '422':
          description: 'Unprocessable Content<br /><br /><i>Possible error codes: </i>ERR_INPUT_REQUIRED'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
              examples:
                ERR_INPUT_REQUIRED:
                  summary: Field is required
                  description: Field is required
                  value:
                    errors:
                      code: ERR_INPUT_REQUIRED
                      message: Field is required
        '490':
          description: Request blocked by WAF
      deprecated: false
      parameters:
      - in: path
        name: id
        description: The unique identifier of the device.
        required: true
        schema:
          type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Device.Put'
      operationId: putRestDevicesById
      x-operation-id-source: derived
    delete:
      tags:
      - Devices
      summary: Delete a device
      description: Deletes the specified device.
      responses:
        '204':
          description: The device was successfully deleted. Returns no content.
        '403':
          description: 'Forbidden<br /><br /><i>Possible error codes: </i>ERR_ACCESS_USER'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
              examples:
                ERR_ACCESS_USER:
                  summary: Insufficient access permissions
                  description: Insufficient access permissions
                  value:
                    errors:
                      code: ERR_ACCESS_USER
                      message: Insufficient access permissions
        '490':
          description: Request blocked by WAF
      deprecated: false
      parameters:
      - in: path
        name: id
        description: The unique identifier of the device.
        required: true
        schema:
          type: string
      operationId: deleteRestDevicesById
      x-operation-id-source: derived
  /rest/devices/{install_tag_id}/wipe:
    get:
      tags:
      - Devices
      summary: Get the wipe status
      description: Returns the remote wipe status of the specified device, identified by its install tag ID (usually the device serial number).
      responses:
        '200':
          description: Returns an object containing the wipe status flag for the device.
          content:
            application/json:
              schema:
                type: integer
              examples:
                Wipe status:
                  summary: Wipe status for a device
                  value:
                    status: 0
        '490':
          description: Request blocked by WAF
      deprecated: false
      parameters:
      - in: path
        name: install_tag_id
        description: The unique install tag identifier for the device, usually the device serial number.
        required: true
        schema:
          type: string
      operationId: getRestDevicesByInstallTagIdWipe
      x-operation-id-source: derived
  /rest/users/{id}/devices:
    get:
      tags:
      - Devices
      summary: List devices for a user
      description: Returns a list of devices registered to the specified user.
      responses:
        '200':
          description: Returns a paginated list of device records for the specified user.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Device'
                  metadata:
                    $ref: '#/components/schemas/MetaData'
              examples:
                User device list:
                  summary: Devices registered to a user
                  value:
                    data:
                    - id: 101
                      client_id: mobile_app_ios
                      user_id: 5
                      install_tag_id: ABC123DEF456
                      install_name: Work iPhone
                      wipe_flag: 0
                      mobile_key_store: null
                    total: 1
                    page: 1
                    pageSize: 20
        '490':
          description: Request blocked by WAF
      deprecated: false
      parameters:
      - in: path
        name: id
        description: ID of the user whose devices to be retrieved
        required: true
        schema:
          type: string
      operationId: getRestUsersByIdDevices
      x-operation-id-source: derived
  /rest/devices/me/actions/logout:
    delete:
      summary: Log out the current user
      description: '### Description:

        Logs out the current user and invalidates the active session.

        ### Precondition:

        User must have an active session.

        ### Response:

        Returns logout confirmation details.'
      tags:
      - Devices
      responses:
        '200':
          description: The user has been successfully logged out.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Logout'
        '401':
          description: 'Unauthorized<br /><br /><i>Possible error codes: </i>ERR_AUTH_INVALID_CSRF, ERR_AUTH_UNAUTHORIZED'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
              examples:
                ERR_AUTH_INVALID_CSRF:
                  summary: Invalid CSRF Authentication
                  description: Invalid CSRF Authentication
                  value:
                    errors:
                    - code: ERR_AUTH_INVALID_CSRF
                      message: Invalid CSRF Authentication
                ERR_AUTH_UNAUTHORIZED:
                  summary: Unauthorized
                  description: Unauthorized
                  value:
                    errors:
                    - code: ERR_AUTH_UNAUTHORIZED
                      message: Unauthorized
        '490':
          description: Request blocked by WAF
      operationId: deleteRestDevicesMeActionsLogout
      x-operation-id-source: derived
components:
  schemas:
    Errors:
      type: object
      properties:
        error:
          type: array
          items:
            $ref: '#/components/schemas/Error'
    Device.Post:
      description: Class Device
      properties:
        clientId:
          description: Unique identifier of client for this Device
          type: string
        userId:
          description: Unique identifier of user for this Device
          type: string
        installTagId:
          description: Unique identifier of the install tag for this device. Usually the serial number of the device
          type: string
        installName:
          description: Install Tag name for this Device. e.g. Someone's IPhone
          type: string
        mobileKeyStore:
          description: Key to encrypt files on this device
          type: string
        addLinks:
          description: Indicates whether HATEOAS links should be included in the response
          type: boolean
    Device.Put:
      description: Class Device
      properties:
        mobileKeyStore:
          description: Key to encrypt files on this device
          type: string
        registrationToken:
          description: Set the token for messaging registration
          type: string
        addLinks:
          description: Indicates whether HATEOAS links should be included in the response
          type: boolean
    Device:
      description: Class Device
      required:
      - clientId
      - id
      - installName
      - userId
      properties:
        id:
          description: Unique identifier of Device
          type: integer
        clientId:
          description: Unique identifier of client for this Device
          type: string
        userId:
          description: Unique identifier of user for this Device
          type: string
        installTagId:
          description: Unique identifier of the install tag for this device. Usually the serial number of the device
          type: string
        installName:
          description: Install Tag name for this Device. e.g. Someone's IPhone
          type: string
        wipeFlag:
          description: "Flag that tells the device to remote wipe itself.\n     *                   0 = not set, 1 = set, 2 = device has been notified, 3 = wipe is completed"
          type: string
        mobileKeyStore:
          description: Key to encrypt files on this device
          type: string
        links:
          description: HATEOAS links associated with the entity
          type: array
          items:
            type: string
    Logout:
      type: object
      properties:
        redirectUri:
          type: string
          description: URL to redirect to after logout.
    Error:
      type: object
      properties:
        code:
          type: string
          description: Error code
        message:
          type: string
          description: Error message
    MetaData:
      type: object
      properties:
        total:
          type: integer
          description: Total number of items available.
        limit:
          type: integer
          description: Maximum number of items returned per page.
        offset:
          type: integer
          description: Number of items skipped before the current page.