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

# Summarize the authenticated user's authentication factors.

> Returns credential type membership only (type, count, newest createdAt). The subject is always the access token subject; a user id cannot be supplied.



## OpenAPI

````yaml products/didx-me/api-reference/v1/consumer-onboarding.json get /self/credentials
openapi: 3.0.0
info:
  version: 1.0.0
  title: Consumer Onboarding API
  description: |2-

          
    OpenAPI documentation for Consumer Onboarding API

          
          
     - [JSON - OpenAPI Specification](/consumer-onboarding/api/openapi.json)
servers:
  - url: https://test.didxtech.com/consumer-onboarding/api
security:
  - bearerAuth: []
paths:
  /self/credentials:
    get:
      tags:
        - self
      summary: Summarize the authenticated user's authentication factors.
      description: >-
        Returns credential type membership only (type, count, newest createdAt).
        The subject is always the access token subject; a user id cannot be
        supplied.
      operationId: getSelfCredentials
      responses:
        '200':
          description: Credential status for the authenticated user.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CredentialStatusApiResponse'
        '401':
          description: Missing or invalid access token.
      security:
        - bearerAuth: []
components:
  schemas:
    CredentialStatusApiResponse:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/CredentialStatus'
        links:
          $ref: '#/components/schemas/ApiLinks'
        meta:
          $ref: '#/components/schemas/ApiMeta'
        errors:
          type: array
          items:
            $ref: '#/components/schemas/ApiError'
      required:
        - data
    CredentialStatus:
      type: object
      properties:
        credentials:
          type: array
          items:
            $ref: '#/components/schemas/CredentialSummary'
      required:
        - credentials
      description: >-
        Summary of the authenticated user's authentication factors, one entry
        per credential type the user has.
    ApiLinks:
      type: object
      properties:
        self:
          type: string
          format: uri
        first:
          type: string
          format: uri
        last:
          type: string
          format: uri
        prev:
          type: string
          format: uri
        next:
          type: string
          format: uri
        related:
          type: string
          format: uri
    ApiMeta:
      type: object
      additionalProperties:
        nullable: true
    ApiError:
      type: object
      properties:
        id:
          type: string
        status:
          type: string
        code:
          type: string
        title:
          type: string
        detail:
          type: string
        source:
          type: object
          properties:
            pointer:
              type: string
            parameter:
              type: string
        meta:
          type: object
          additionalProperties:
            nullable: true
      required:
        - detail
    CredentialSummary:
      type: object
      properties:
        type:
          type: string
        count:
          type: integer
          minimum: 0
          exclusiveMinimum: true
        createdAt:
          type: string
          format: date-time
      required:
        - type
        - count
      example:
        type: webauthn-passwordless
        count: 1
        createdAt: '2026-07-06T09:00:00.000Z'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````