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

# Get DIDs

> Get all DIDs for the requested organization.



## OpenAPI

````yaml /openapi.json get /did
openapi: 3.0.0
info:
  title: Trust Stack API
  description: Programmatic access to the Trust Stack API.
  version: '1.0'
  contact: {}
servers: []
security: []
tags: []
paths:
  /did:
    get:
      tags:
        - DID
      summary: Get DIDs
      description: Get all DIDs for the requested organization.
      operationId: getDids
      parameters:
        - name: page
          required: false
          in: query
          description: Page number (1-based)
          schema:
            example: 1
            type: number
        - name: limit
          required: false
          in: query
          description: Number of items per page
          schema:
            example: 10
            type: number
      responses:
        '200':
          description: DIDs fetched successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedDids'
components:
  schemas:
    PaginatedDids:
      type: object
      properties:
        items:
          description: The list of DIDs
          type: array
          items:
            $ref: '#/components/schemas/Did'
        metadata:
          description: The pagination metadata
          allOf:
            - $ref: '#/components/schemas/Paginated'
      required:
        - items
        - metadata
    Did:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier of the DID.
        did:
          type: string
          description: The DID.
        alias:
          type: string
          description: The DID alias.
        name:
          type: string
          description: The name given to the DID.
      required:
        - id
        - did
        - alias
        - name
    Paginated:
      type: object
      properties:
        total:
          type: number
        page:
          type: number
        limit:
          type: number
      required:
        - total
        - page
        - limit

````