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

# Lister les facteurs d'authentification d'un utilisateur

> Listez les facteurs d'authentification d'un utilisateur avec Didit. Filtrez par type ou statut et utilisez leurs identifiants pour les inspecter.

Un utilisateur dispose d'un facteur qui peut être répertorié dès que vous en avez [enregistré un](https://docs.didit.me/fr/standalone-apis/phone-factor-create.md). Voir aussi [Obtenir un facteur d'authentification par téléphone](https://docs.didit.me/fr/standalone-apis/phone-factor-retrieve.md).


## OpenAPI

````yaml fr/openapi-25.json GET /v3/phone/factors/
openapi: 3.0.0
info:
  version: 3.0.0
  title: Didit Verification API
  description: Identity verification API. Authenticate with x-api-key header.
servers:
  - url: https://verification.didit.me
security: []
tags:
  - name: Bank Data
    description: >-
      Bank Link, connections, accounts, balances, transactions, institutions and
      coverage. Bank data is available for sandbox applications. A live
      application's calls answer `404` until live access is announced. Nothing
      is charged in sandbox. A call made with an API key needs a key that
      carries the Bank data permission (`bank-data`): read for reads, write for
      operations that change something. The account check is the exception: it
      needs write access to sessions, or full access, and not the Bank data
      permission. Bank data is not part of full access: a full-access key is
      refused, and the call answers `403 bank_data_access_denied` until you
      create a key that carries the permission. Raw bank data (accounts,
      balances, transactions and the change feed) also refuses a request that
      carries no API key.


      Every refusal under `/v3/bank/` except the account check's has the same
      JSON body (`code`, `message`, `request_id`, `field`, `next_action`,
      `retry_after`). A path that is not an operation, an id that is not a UUID
      or an unknown sub-resource answers `404 not_found` for every method, and
      any unexpected error answers `500 internal_error` with a `request_id`.
      Where Bank data is not available, every operation answers the platform's
      standard `404`, exactly as an unknown route does.
paths:
  /v3/phone/factors/:
    get:
      tags:
        - Standalone APIs
      summary: List a user's enrolled factors
      description: >-
        List the factors enrolled for one of your users, so your app can show
        them and let the user pick the one to check with. `user_id` is required;
        `type` and `status` narrow the list.


        The answer is a page: `count`, `next`, `previous` and `results`, each
        result a factor as Retrieve returns it.


        **Export.** `format: csv` answers every row that matches the filters as
        a CSV file.


        **Paging.** `limit` is 20 by default and 100 at most.


        **Authentication.** Send your application's API key in `x-api-key`.


        **Rate limit.** Requests count against the key's budget; over it the
        answer is `429` with `Retry-After`.
      operationId: list_phone_factors
      parameters:
        - name: user_id
          in: query
          required: true
          description: 'The user whose factors to list: required.'
          schema:
            type: string
            example: u_481
        - name: type
          in: query
          required: false
          description: Only factors of this type.
          schema:
            type: string
            enum:
              - totp
            example: totp
        - name: status
          in: query
          required: false
          description: Only factors in this state.
          schema:
            type: string
            enum:
              - unverified
              - verified
              - disabled
            example: verified
        - name: limit
          in: query
          required: false
          description: 'Page size: 20 by default, 100 at most.'
          schema:
            type: integer
            default: 20
            minimum: 1
            maximum: 100
        - name: offset
          in: query
          required: false
          description: Zero-based index of the first row. Prefer following `next`.
          schema:
            type: integer
            default: 0
            minimum: 0
        - name: format
          in: query
          required: false
          description: >-
            `json` (default) for a page, or `csv` to export every row that
            matches the filters as CSV.
          schema:
            type: string
            enum:
              - json
              - csv
            default: json
      responses:
        '200':
          description: The factors of this user.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PhoneFactorsPage'
              examples:
                Page:
                  summary: The factors of this user.
                  value:
                    count: 1
                    next: null
                    previous: null
                    results:
                      - factor_id: fa_01JCH8K2
                        type: totp
                        status: verified
                        user_id: u_481
                        friendly_name: Demo App
                        metadata:
                          device: iPhone 15
                        created_at: '2026-11-02T08:14:00Z'
                        last_used_at: '2026-11-21T09:58:00Z'
            text/csv:
              schema:
                type: string
              example: |
                factor_id,type,status,user_id,friendly_name,created_at
                fa_01JCH8K2,totp,verified,u_481,Demo App,2026-11-02T08:14:00Z
        '400':
          description: '`invalid_filter` - A filter value is not valid.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PhoneApiError'
        '401':
          description: >-
            The `x-api-key` is wrong, revoked or expired: replace the
            credential.
        '403':
          description: >-
            The `x-api-key` header is missing, or a scoped key lacks the
            permission this call needs.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PhoneApiError'
        '429':
          description: >-
            `rate_limited` - Over 600 requests a minute for the key: wait for
            Retry-After.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PhoneApiError'
      security:
        - ApiKeyAuth: []
      x-codeSamples: []
components:
  schemas:
    PhoneFactorsPage:
      type: object
      properties:
        count:
          type: integer
          minimum: 0
          description: Rows that match the filters.
          example: 1
        next:
          type: string
          format: uri
          nullable: true
          description: The next page, or `null` on the last one.
        previous:
          type: string
          format: uri
          nullable: true
          description: The previous page, or `null` on the first one.
        results:
          type: array
          items:
            $ref: '#/components/schemas/PhoneFactor'
          description: The factors of this user.
      required:
        - count
        - next
        - previous
        - results
    PhoneApiError:
      type: object
      description: >-
        An error answer. The HTTP status says the class of failure; `code` names
        the reason and `detail` says it in words.
      properties:
        code:
          type: string
          description: Machine-readable reason, as each response documents it.
          example: not_found
        detail:
          type: string
          description: What went wrong, in one sentence a user can act on.
          example: No factor with this id in your application.
      required:
        - detail
    PhoneFactor:
      type: object
      properties:
        factor_id:
          type: string
          description: The factor.
          example: fa_01JCH8K2
        type:
          type: string
          enum:
            - totp
          description: The factor.
          example: totp
        status:
          type: string
          enum:
            - unverified
            - verified
            - disabled
          description: >-
            `unverified` until the first successful check, `verified` after it,
            `disabled` while its checks are turned off.
          example: verified
        user_id:
          type: string
          description: Your id for the user it belongs to.
          example: u_481
        friendly_name:
          type: string
          description: Shown in the authenticator app and in the factor list.
          example: Demo App
        metadata:
          type: object
          description: Your keys and values, as you sent them.
          maxProperties: 10
          additionalProperties:
            type: string
            maxLength: 500
          example:
            device: iPhone 15
        created_at:
          type: string
          format: date-time
          description: When it was enrolled.
          example: '2026-11-02T08:14:00Z'
        last_used_at:
          type: string
          format: date-time
          nullable: true
          description: Its last successful check, `null` until there is one.
          example: '2026-11-21T09:58:00Z'
      required:
        - factor_id
        - type
        - status
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        Your application's API key, from Developers -> API keys in the Business
        Console. The primary key has full access. A named key can be scoped:
        none, read or write per resource, limited to some workflows or to
        approved sessions, to a list of IP addresses, and to an expiry date. 401
        means the key is wrong, revoked or expired; 403 means no key was sent,
        the key has no access to this resource or action, or the request came
        from an address outside its IP list; 404 on a session route means the
        session is outside the key's workflows or statuses. A key without media
        access receives image, video and PDF URLs as null, and a key without
        sessions write receives session links and tokens as null. See
        https://docs.didit.me/console/api-keys.

````

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