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

# Get a login's current authenticator code

> The current code from a saved login's authenticator secret. Only on the Dashboard, behind the Logins PIN on a Personal account: elsewhere this answers the Dashboard page that shows it.

**Authentication:** `Authorization: Bearer <token>` with Dashboard session, Pomerado MCP OAuth token, API key.

**Permission:** `logins:manage`.

**Effect:** Read: changes nothing.

**Errors:** [`invalid_request`](/errors#invalid_request) (400), [`unauthorized`](/errors#unauthorized) (401), [`reauthentication_required`](/errors#reauthentication_required) (401), [`forbidden`](/errors#forbidden) (403), [`not_found`](/errors#not_found) (404), [`authenticator_not_configured`](/errors#authenticator_not_configured) (404), [`internal_error`](/errors#internal_error) (500), [`temporarily_unavailable`](/errors#temporarily_unavailable) (503). Every error has the same [envelope](/errors).


## OpenAPI

````yaml /api-reference/openapi.json post /v1/logins/{id}/authenticator-code
openapi: 3.1.0
info:
  title: Pomerado API
  version: '1'
  description: >-
    Run and build website tools, follow their jobs, and manage logins, API keys
    and webhooks. Authenticate with a Pomerado API key (pom_…), an MCP OAuth
    token or a Dashboard session as a Bearer token.
servers:
  - url: https://api.pomerado.ai
security: []
tags:
  - name: account
    x-group: Account
  - name: api_keys
    x-group: API keys
  - name: connected_apps
    x-group: Connected apps
  - name: usage
    x-group: Usage
  - name: quota
    x-group: Quota
  - name: billing
    x-group: Billing
  - name: integrations
    x-group: Integrations
  - name: connect
    x-group: Connect
  - name: logins
    x-group: Logins
  - name: tools
    x-group: Tools
  - name: webhooks
    x-group: Webhooks
paths:
  /v1/logins/{id}/authenticator-code:
    post:
      tags:
        - logins
      summary: Get a login's current authenticator code
      description: >-
        The current code from a saved login's authenticator secret. Only on the
        Dashboard, behind the Logins PIN on a Personal account: elsewhere this
        answers the Dashboard page that shows it.
      operationId: logins.authenticator_code
      parameters:
        - name: id
          in: path
          required: true
          description: 'a saved login ID: login_ and 32 lowercase hex digits'
          schema:
            type: string
            examples:
              - login_0f8e2d1c4b3a49e8a7f6e5d4c3b2a190
      responses:
        '200':
          description: 'On the Dashboard: the code; Elsewhere: the page that shows it'
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/LoginAuthenticatorCode'
                  - $ref: '#/components/schemas/DashboardDelivery'
        '400':
          description: invalid_request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: unauthorized, reauthentication_required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: not_found, authenticator_not_configured
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: internal_error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: temporarily_unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearer: []
components:
  schemas:
    LoginAuthenticatorCode:
      type: object
      required:
        - code
      properties:
        code:
          type: string
      additionalProperties: false
    DashboardDelivery:
      type: object
      required:
        - dashboard_url
      properties:
        dashboard_url:
          type: string
          description: >-
            A signed-in Dashboard page where the person finishes this and sees
            the secret once
      additionalProperties: false
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
            - retryable
            - docs_url
          properties:
            code:
              type: string
            message:
              type: string
            retryable:
              type: boolean
            docs_url:
              type: string
            details:
              type: object
              required: []
              properties: {}
              additionalProperties:
                $id: /schemas/unknown
          additionalProperties: false
      additionalProperties: false
  securitySchemes:
    bearer:
      type: http
      scheme: bearer

````

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