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

# Get user provisioning settings

> Retrieve the account's user-provisioning configuration (mode, auto-disable, filters). Owner only.



## OpenAPI

````yaml /openapi.json get /v1/account/provisioning
openapi: 3.0.3
info:
  title: Doozy Public API
  version: 1.0.0
  description: >-
    The Doozy Public API allows you to programmatically access your
    organization's data.


    ## Authentication


    All API requests require an API key passed in the `x-api-key` header.


    ```

    x-api-key: dzy_xxxxxxxx_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

    ```


    API keys can be generated and managed through the Doozy dashboard. Each key
    is associated with a user account and inherits that user's permissions.


    ## Rate Limiting


    API requests are rate limited. Rate limiting is handled by Cloudflare. If
    you exceed the rate limit, you'll receive a 429 Too Many Requests response.


    ## Pagination


    List endpoints support cursor-based pagination using `limit` and
    `starting_after` query parameters.
  contact:
    name: Doozy Support
    email: support@doozy.live
    url: https://help.doozy.live/api
servers:
  - url: https://api.doozy.live
    description: Production
security:
  - apiKey: []
tags:
  - name: Quizzes
    description: Quiz analytics and reporting endpoints
  - name: Tracks
    description: Track management and analytics endpoints
  - name: Surveys
    description: Survey and poll analytics endpoints
  - name: Introductions
    description: Doozy Roulette and Matchmaking introduction endpoints
  - name: Account
    description: 'Owner-only workspace settings: user provisioning and feature permissions'
paths:
  /v1/account/provisioning:
    get:
      tags:
        - Account
      summary: Get user provisioning settings
      description: >-
        Retrieve the account's user-provisioning configuration (mode,
        auto-disable, filters). Owner only.
      responses:
        '200':
          description: The account's provisioning settings
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountProvisioningResponse'
        '401':
          description: Authentication required - missing API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Insufficient permissions - requires owner role
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - apiKey: []
components:
  schemas:
    AccountProvisioningResponse:
      type: object
      properties:
        object:
          type: string
          enum:
            - account_provisioning
          description: Object type
          example: account_provisioning
        application:
          type: object
          nullable: true
          properties:
            id:
              type: string
            status:
              type: string
              enum:
                - pending
                - applying
                - completed
                - failed
            total_count:
              type: integer
            completed_count:
              type: integer
            failed_count:
              type: integer
            updated_at:
              type: string
              nullable: true
              format: date-time
            retry_allowed:
              type: boolean
          required:
            - id
            - status
            - total_count
            - completed_count
            - failed_count
            - updated_at
            - retry_allowed
        provisioning_mode:
          type: string
          enum:
            - automatic
            - manual
          description: >-
            automatic: the workspace enforces the rules and auto
            enables/disables members. manual: no automatic provisioning.
          example: automatic
        auto_disable_users:
          type: boolean
        filters:
          type: object
          properties:
            require_groups:
              type: array
              items:
                type: string
            require_hris_connection:
              type: boolean
          required:
            - require_groups
            - require_hris_connection
      required:
        - object
        - application
        - provisioning_mode
        - auto_disable_users
        - filters
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            type:
              type: string
              enum:
                - api_error
                - authentication_error
                - invalid_request_error
                - rate_limit_error
              description: The type of error returned
              example: invalid_request_error
            code:
              type: string
              nullable: true
              description: Machine-readable error code for specific error conditions
              example: resource_not_found
            message:
              type: string
              description: Human-readable error message
              example: 'No such quiz: quiz_abc123'
            param:
              type: string
              nullable: true
              description: The parameter related to the error, if applicable
              example: id
            doc_url:
              type: string
              format: uri
              description: URL to documentation about this error
              example: https://docs.doozy.live/api/errors#resource_not_found
          required:
            - type
            - code
            - message
      required:
        - error
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: API key for authentication. Generate keys in the Doozy dashboard.

````

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