---
updatedAt: 2026-04-20T19:23:49.000Z
agentTools:
  projectIndex: https://devdocs.helcim.com/llms.txt
---

# Get Device Information

This operation requires the provided API key to have General permission set to 'Read' or higher, and Settings permission set to 'Read' or higher.


# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "description": "This API covers publicly accessible merchant actions",
    "version": "2.2.0",
    "title": "The Helcim API"
  },
  "servers": [
    {
      "url": "https://api.helcim.com/v2"
    },
    {
      "url": "https://api.helcim.test/v2"
    }
  ],
  "paths": {
    "/devices/{code}": {
      "get": {
        "tags": [
          "Device"
        ],
        "summary": "Get Device Information",
        "operationId": "get-device",
        "description": "This operation requires the provided API key to have General permission set to 'Read' or higher, and Settings permission set to 'Read' or higher.\n",
        "parameters": [
          {
            "name": "code",
            "in": "path",
            "required": true,
            "description": "Four Digit Alphanumeric Code",
            "schema": {
              "type": "string",
              "maxLength": 4
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Device"
                }
              }
            }
          },
          "403": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FailedResponse"
                }
              }
            }
          },
          "404": {
            "description": "Device Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FailedResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FailedResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiAccessAuth": []
          }
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "ApiAccessAuth": {
        "description": "API Token with required permissions",
        "type": "apiKey",
        "in": "header",
        "name": "api-token"
      }
    },
    "schemas": {
      "Device": {
        "title": "Device",
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "example": "ABC1",
            "description": "Code of the device."
          },
          "dateCreated": {
            "type": "string",
            "example": "2024-02-09 14:08:08",
            "description": "Date and time when the device was created in the format \"YYYY-MM-DD HH:MM:SS\""
          }
        }
      },
      "FailedResponse": {
        "type": "object",
        "properties": {
          "errors": {
            "type": "array",
            "description": "List of errors",
            "items": {
              "type": "string",
              "example": "An error occurred"
            }
          }
        }
      }
    }
  }
}
```