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

# Add legal hold custodians

> Names users on a hold, by email or by Granola user id. Idempotent: the response carries the request's full resolved set, whether each entry was newly added or already present.



## OpenAPI

````yaml post /v1/legal-holds/{hold_id}/custodians
openapi: 3.1.0
info:
  title: Granola API
  version: 1.0.0
  description: API for accessing meeting data from Granola
servers:
  - url: https://public-api.granola.ai
    description: Production
security: []
paths:
  /v1/legal-holds/{hold_id}/custodians:
    post:
      summary: Add legal hold custodians
      description: >-
        Names users on a hold, by email or by Granola user id. Idempotent: the
        response carries the request's full resolved set, whether each entry was
        newly added or already present.
      parameters:
        - schema:
            type: string
            pattern: ^lgh_[a-zA-Z0-9]{14}$
            description: The legal hold id
            example: lgh_Abc123XyZ456De
          required: true
          name: hold_id
          in: path
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddLegalHoldCustodiansBody'
      responses:
        '200':
          description: The custodians named in the request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AddLegalHoldCustodiansOutput'
        '400':
          description: Bad request, or a custodian is not a member of this workspace
        '401':
          description: Unauthorized - Invalid API key
        '404':
          description: Not found
      security:
        - ApiKeyAuth: []
components:
  schemas:
    AddLegalHoldCustodiansBody:
      type: object
      properties:
        custodians:
          type: array
          items:
            $ref: '#/components/schemas/LegalHoldCustodianInput'
          minItems: 1
          maxItems: 100
          description: Users to name on this hold
      required:
        - custodians
    AddLegalHoldCustodiansOutput:
      type: object
      properties:
        custodians:
          type: array
          items:
            $ref: '#/components/schemas/LegalHoldCustodian'
      required:
        - custodians
    LegalHoldCustodianInput:
      type: object
      properties:
        email:
          type: string
          format: email
          description: >-
            The custodian's email address. Use this when your system knows
            employees by email rather than by Granola user id.
          example: person@example.com
        id:
          type: string
          pattern: ^usr_[a-zA-Z0-9]{14}$
          description: The custodian's Granola user id
          example: usr_9Kd2mPq7Rt4Xyz
    LegalHoldCustodian:
      type: object
      properties:
        id:
          type: string
          pattern: ^lhc_[a-zA-Z0-9]{14}$
          description: The unique identifier for the custodian entry
          example: lhc_7Yt3nBv8Wq2Lms
        object:
          type: string
          enum:
            - legal_hold_custodian
          description: The type of object
          example: legal_hold_custodian
        user:
          type: object
          properties:
            object:
              type: string
              enum:
                - user
            id:
              type: string
              pattern: ^usr_[a-zA-Z0-9]{14}$
            email:
              type:
                - string
                - 'null'
              format: email
          required:
            - object
            - id
            - email
          description: >-
            The person this custodian entry names. `email` is null once their
            Granola account has been deleted.
          example:
            object: user
            id: usr_9Kd2mPq7Rt4Xyz
            email: person@example.com
        added_at:
          type: string
          format: date-time
          description: When this person was named by the hold
          example: '2026-09-21T10:00:00Z'
        removed_at:
          type:
            - string
            - 'null'
          format: date-time
          description: >-
            When this person was removed from the hold, or null while they are
            named. Removed custodians are always returned, so the record of who
            was held survives.
          example: null
      required:
        - id
        - object
        - user
        - added_at
        - removed_at
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: apiKey

````