> ## Documentation Index
> Fetch the complete documentation index at: https://docs.authsignal.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Register a reader

> Register a reader using the 10-minute code it shows, in the reader's region. Requires an unrestricted secret key. The reader starts as `CLAIMED` and becomes `REGISTERED` when staff confirm on the reader within 10 minutes. To check progress, resend the same request. See the [POS integration guide](/terminals/pos-integration).



## OpenAPI

````yaml terminal-api POST /terminal/readers
openapi: 3.0.0
info:
  description: Authsignal's Terminal API.
  version: 1.0.0
  title: Terminal API
  termsOfService: https://www.authsignal.com/legal/terms-of-service
  contact:
    email: hello@authsignal.com
servers:
  - url: https://api.authsignal.com/v1
  - url: https://au.api.authsignal.com/v1
  - url: https://eu.api.authsignal.com/v1
  - url: https://ca.api.authsignal.com/v1
  - url: https://uk.api.authsignal.com/v1
security:
  - terminalAuth: []
tags:
  - name: reader
    description: ''
    externalDocs:
      description: Find out more
      url: https://docs.authsignal.com
  - name: controller
    description: ''
    externalDocs:
      description: Find out more
      url: https://docs.authsignal.com
  - name: in-person-verification
    description: ''
    externalDocs:
      description: Find out more
      url: https://docs.authsignal.com
  - name: payment-session
    description: ''
    externalDocs:
      description: Find out more
      url: https://docs.authsignal.com
externalDocs:
  description: Find out more about Authsignal
  url: https://docs.authsignal.com
paths:
  /terminal/readers:
    post:
      tags:
        - reader
      summary: Register a reader
      description: >-
        Register a reader using the 10-minute code it shows, in the reader's
        region. Requires an unrestricted secret key. The reader starts as
        `CLAIMED` and becomes `REGISTERED` when staff confirm on the reader
        within 10 minutes. To check progress, resend the same request. See the
        [POS integration guide](/terminals/pos-integration).
      operationId: createReader
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                registrationCode:
                  type: string
                  maxLength: 20
                  description: 8-character reader code (case and dashes do not matter).
                label:
                  type: string
                  minLength: 1
                  maxLength: 100
                  description: Reader name shown during confirmation and in the Portal.
                terminalLocationId:
                  type: string
                  minLength: 1
                  maxLength: 100
                  description: Portal location ID; the reader runs its action.
                registrationId:
                  type: string
                  maxLength: 100
                  description: Optional ID binding redemption to one registration session.
              required:
                - registrationCode
                - label
                - terminalLocationId
              additionalProperties: false
            example:
              registrationCode: K7QF-3M9X
              label: Bar 2
              terminalLocationId: 3f6c2a9e-1b7d-4e8a-9c52-7a1d0e4b8f13
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Reader'
        '400':
          description: >-
            `invalid_request` (bad body, missing location, or unsupported
            action) or `invalid_configuration` (terminals disabled).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid secret key, or disallowed IP.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Restricted secret key; use an unrestricted key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: >-
            Code not found, expired, in another region, or mismatched with
            `registrationId`.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: >-
            `conflict`: code already used by another tenant or location, or
            declined on the reader.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - secretKeyAuth: []
components:
  schemas:
    Reader:
      type: object
      properties:
        terminalId:
          type: string
          description: Reader ID used to start verifications.
        label:
          type: string
          description: Reader label.
        status:
          type: string
          enum:
            - CLAIMED
            - REGISTERED
          description: >-
            `CLAIMED` until staff confirm, then `REGISTERED` (required for
            verifications).
        deviceType:
          type: string
          description: Hardware type, such as `hcctg_z80`.
        device:
          type: object
          description: Metadata reported by the reader.
          properties:
            model:
              type: string
            serial:
              type: string
            appVersion:
              type: string
      required:
        - terminalId
        - label
        - status
        - deviceType
        - device
      example:
        terminalId: 5b0f3c1e-8d2a-4c4e-9a51-2f7d6c1b9e40
        label: Bar 2
        status: CLAIMED
        deviceType: hcctg_z80
        device:
          model: Z80
          serial: Z80A1234567
          appVersion: 1.4.0
    Error:
      type: object
      properties:
        error:
          type: string
        errorCode:
          type: string
        errorDescription:
          type: string
      example:
        error: verification_in_progress
        errorCode: verification_in_progress
        errorDescription: ''
  securitySchemes:
    terminalAuth:
      type: apiKey
      in: header
      name: x-authsignal-terminal
      description: On-boarded device terminal ID for payment session endpoints.
    secretKeyAuth:
      type: http
      scheme: basic
      description: >-
        Unrestricted secret key as Basic username, empty password (backend
        only).

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.