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

# Get document types for the current user organization

> Returns the document types configured for the caller's own organization, resolved from the bearer token. Convenience endpoint for clients that do not have the organizationId on hand.



## OpenAPI

````yaml /api-reference/openapi.yaml get /api/organizations/document-types/user
openapi: 3.0.3
info:
  title: Tether Relay and Tether API
  version: 1.0.0
  description: >-
    Route-derived OpenAPI contract generated from tether-relay backend sources.
    Regenerate with scripts/sync-openapi-from-backend.mjs.
servers:
  - url: https://your-instance.example.com
    description: Production
  - url: http://localhost:2212
    description: Local API service
security: []
tags:
  - name: AI
  - name: Applications
  - name: Approval
  - name: Auth
  - name: Automations
  - name: Calls
  - name: Campaigns
  - name: Contact Analytics
  - name: Contact Metrics
  - name: Contact Notes
  - name: Contacts
  - name: Conversation Monitor
  - name: Conversations
  - name: Departments
  - name: Email
  - name: Escalation Dashboard
  - name: Event Logs
  - name: Google Sheets
  - name: Marketplace
  - name: Messages
  - name: Notification Sounds
  - name: Notifications
  - name: Org Snapshots
  - name: Organizations
  - name: Outreach
  - name: Outreach Metrics
  - name: Outreach Sources
  - name: Pipelines
  - name: Processes
  - name: Prompts
  - name: Reminders
  - name: Sms
  - name: Templates
  - name: Traces
  - name: Training
  - name: Upload
  - name: User Snapshots
  - name: Users
  - name: Vertical
  - name: Webchats
  - name: Webhook
paths:
  /api/organizations/document-types/user:
    get:
      tags:
        - Organizations
      summary: Get document types for the current user organization
      description: >-
        Returns the document types configured for the caller's own organization,
        resolved from the bearer token. Convenience endpoint for clients that do
        not have the organizationId on hand.
      operationId: get_organizations_document_types_user
      responses:
        '200':
          description: Document types returned
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrgDocumentTypesResponse'
        '404':
          description: Organization not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationErrorResponse'
        '500':
          description: Failed to fetch document types
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    OrgDocumentTypesResponse:
      type: object
      properties:
        documentTypes:
          type: array
          items:
            $ref: '#/components/schemas/OrgDocumentType'
      additionalProperties: true
      example:
        documentTypes:
          - name: Credit Bureau
            isRequired: true
          - name: Paystub
            isRequired: true
          - name: Bank Statement
            isRequired: false
    OrganizationErrorResponse:
      type: object
      properties:
        error:
          type: string
        details:
          type: string
      additionalProperties: true
      example:
        error: Organization not found
        details: No organization exists with the provided id
    OrgDocumentType:
      type: object
      properties:
        name:
          type: string
        isRequired:
          type: boolean
        description:
          type: string
      required:
        - name
      additionalProperties: true
      example:
        name: Paystub
        isRequired: true
        description: Most recent two paystubs
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````