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

# Obtener URL de consentimiento de administrador

> Genera URL para que el administrador de Azure AD pre-apruebe la aplicación para toda la organización



## OpenAPI

````yaml /generated/specs/communications.json get /api/omnichannel/auth/microsoft/admin-consent
openapi: 3.0.0
info:
  title: Raul API - Comunicaciones
  description: Inbox, omnichannel, bandejas compartidas, email sync, WhatsApp, spam y tags.
  version: 2.0.0
  contact: {}
servers:
  - url: https://api.raul.ugps.io
    description: Production
security: []
tags: []
paths:
  /api/omnichannel/auth/microsoft/admin-consent:
    get:
      tags:
        - Omnichannel
      summary: Obtener URL de consentimiento de administrador
      description: >-
        Genera URL para que el administrador de Azure AD pre-apruebe la
        aplicación para toda la organización
      operationId: MicrosoftAuthController_getAdminConsentUrl
      parameters: []
      responses:
        '200':
          description: URL de consentimiento y instrucciones
          content:
            application/json:
              schema:
                type: object
                properties:
                  adminConsentUrl:
                    type: string
                  instructions:
                    type: string
                  requiredScopes:
                    type: array
                    items:
                      type: string
                  nextSteps:
                    type: string
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Bearer token authentication

````