---
reference:
  curl:
    - key: get_factor
      id: get_factor
      url: /reference/mfa/get-factor
      title: '/auth/factors/:id'
      type: GET
      parameters:
        - (authentication_factor.id)
      returns:
        - (authentication_factor)
  js:
    - key: getFactor
      id: get_factor
      url: /reference/mfa/get-factor
      title: mfa.getFactor()
      parameters:
        - (Factor.id)
      returns:
        - (Factor)
  php:
    - key: getFactor
      id: get_factor
      url: /reference/mfa/get-factor
      title: $mfa->getFactor()
      parameters:
        - key: authenticationFactorId
          type: string
          description: (authentication_factor.id)
      returns:
        - (AuthenticationFactor)
  java:
    - key: getFactor
      id: get_factor
      url: /reference/mfa/get-factor
      title: mfa.getFactor()
      parameters:
        - key: authenticationFactorId
          type: String
          description: (authentication_factor.id)
      returns:
        - (Factor)
  ruby:
    - key: get_factor
      id: get_factor
      url: /reference/mfa/get-factor
      title: MFA.get_factor()
      parameters:
        - key: id
          type: String
          description: (authentication_factor.id)
      returns:
        - (Factor)
  python:
    - key: get_factor
      id: get_factor
      url: /reference/mfa/get-factor
      title: mfa.get_factor()
      parameters:
        - key: authentication_factor_id
          type: str
          description: (authentication_factor.id)
      returns:
        - (AuthenticationFactor)
  dotnet:
    - key: GetFactor
      id: get_factor
      url: /reference/mfa/get-factor
      title: mfaService.GetFactor()
      parameters:
        - key: id
          type: string
          description: (authentication_factor.id)
        - (cancellationToken)
      returns:
        - key: Task<Factor>
          description: (authentication_factor.self)
  go:
    - key: GetFactor
      id: get_factor
      url: /reference/mfa/get-factor
      title: mfa.GetFactor()
      parameters:
        - (ctx)
        - key: opts
          type: mfa.GetFactorOpts
          expanded: true
          properties:
            - key: ID
              type: string
              description: (authentication_factor.id)
      returns:
        - key: factor
          type: mfa.Factor
          description: (authentication_factor.self)
        - (err)
originalPath: .tmp-workos-clone/packages/docs/content/reference/mfa/factor/get.mdx
---

## Get Factor

Gets an Authentication Factor.

<CodeBlock referenceId="get_factor">
  <CodeBlockTab title="Request" file="get-factor-request" />
  <CodeBlockTab title="Response" file="get-factor-response" />
</CodeBlock>
