> ## 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.

# Get controller

> Return the controller's metadata, location, and registered readers (requires a controller token).



## OpenAPI

````yaml terminal-api GET /terminal/controller
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/controller:
    get:
      tags:
        - controller
      summary: Get controller
      description: >-
        Return the controller's metadata, location, and registered readers
        (requires a controller token).
      operationId: getController
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ControllerInfo'
        '400':
          description: '`invalid_configuration` (terminals disabled).'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: >-
            Missing, invalid, or expired token, or deleted controller or
            location.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - controllerAuth: []
components:
  schemas:
    ControllerInfo:
      type: object
      properties:
        controllerId:
          type: string
          description: Paired controller ID.
        name:
          type: string
          description: Controller display name.
        location:
          $ref: '#/components/schemas/ControllerLocation'
        terminals:
          type: array
          description: Registered readers at this location.
          items:
            type: object
            properties:
              terminalId:
                type: string
                description: Reader `terminalId`.
              name:
                type: string
                description: Reader label.
            required:
              - terminalId
      required:
        - controllerId
        - name
        - location
        - terminals
      example:
        controllerId: 2d8e4b90-7c1a-4f3b-9e6d-5a4c3b2f1e0d
        name: Front Bar iPad
        location:
          terminalLocationId: 3f6c2a9e-1b7d-4e8a-9c52-7a1d0e4b8f13
          name: Auckland
        terminals:
          - terminalId: 5b0f3c1e-8d2a-4c4e-9a51-2f7d6c1b9e40
            name: Bar 2
    Error:
      type: object
      properties:
        error:
          type: string
        errorCode:
          type: string
        errorDescription:
          type: string
      example:
        error: verification_in_progress
        errorCode: verification_in_progress
        errorDescription: ''
    ControllerLocation:
      type: object
      properties:
        terminalLocationId:
          type: string
          description: Location ID.
        name:
          type: string
          description: Location display name.
      required:
        - terminalLocationId
        - name
  securitySchemes:
    terminalAuth:
      type: apiKey
      in: header
      name: x-authsignal-terminal
      description: On-boarded device terminal ID for payment session endpoints.
    controllerAuth:
      type: http
      scheme: bearer
      description: Location-scoped `actl_` bearer token from Create a controller token.

````

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