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

# Initiate user reconcile export (async)



## OpenAPI

````yaml /tango_common/integrations/guides/user-roles-reconcile-nonbu.yaml get /v1/usermgmt/batch/users
openapi: 3.1.0
info:
  title: Tango User Roles Reconcile API (non-BU)
  version: '0.7'
  description: |
    Async outbound REST API: client retrieves Tango user accounts with their
    provisioning state for reconciliation. Same endpoint as the BU variant
    (`/v1/usermgmt/batch/users` GET). Filter via `user_name` or `status`.

    Differences from the BU variant:
      - No BU layer (no `default_bu`, no `bu[]` array).
      - Country access lives directly inside the user record under
        `countries[].country` / `regions` / `roles` / `entity_security[]`.
      - Page size 5000 (BU variant uses 1000).

    Same once-per-day batch-refresh constraint as the BU variant.
  x-direction: outbound
  x-source: Tango
  x-destination: Client System
servers:
  - url: https://api.tangoanalytics.com
    description: Production
  - url: https://testapi.tangoanalytics.com
    description: Test (SIT/UAT)
security:
  - xClientHeader: []
    xApiKeyHeader: []
tags:
  - name: User Reconcile
  - name: Status
paths:
  /v1/usermgmt/batch/users:
    get:
      tags:
        - User Reconcile
      summary: Initiate user reconcile export (async)
      operationId: getUsersReconcileNonBU
      parameters:
        - $ref: '#/components/parameters/XClient'
        - $ref: '#/components/parameters/XApiKey'
        - in: query
          name: status
          required: false
          schema:
            type: string
            enum:
              - A
              - 'N'
        - in: query
          name: user_name
          required: false
          schema:
            type: string
      responses:
        '200':
          description: Async ack with gu_id.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AcceptedResponse'
components:
  parameters:
    XClient:
      name: x-client
      in: header
      required: true
      schema:
        type: string
    XApiKey:
      name: x-api-key
      in: header
      required: true
      schema:
        type: string
  schemas:
    AcceptedResponse:
      type: object
      required:
        - status
      properties:
        status:
          type: string
          enum:
            - OK
            - Error
        status_message:
          type: string
        gu_id:
          type: string
          format: uuid
  securitySchemes:
    xClientHeader:
      type: apiKey
      in: header
      name: x-client
    xApiKeyHeader:
      type: apiKey
      in: header
      name: x-api-key

````