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

# Get Auth Url

> Generate the Microsoft OAuth consent URL for Outlook Mail access.



## OpenAPI

````yaml /api-reference/openapi.json get /api/emailing/microsoft/auth-url
openapi: 3.1.0
info:
  title: apowerb API
  description: REST API of the apowerb agentic framework (open-source edition).
  version: 0.1.2
  license:
    name: MIT
    url: https://github.com/apowerb/apowerb/blob/main/LICENSE
servers:
  - url: https://api.example.com
    description: Your apowerb instance
  - url: http://localhost:8000
    description: Local stack
security: []
paths:
  /api/emailing/microsoft/auth-url:
    get:
      tags:
        - emailing
      summary: Get Auth Url
      description: Generate the Microsoft OAuth consent URL for Outlook Mail access.
      operationId: get_auth_url_api_emailing_microsoft_auth_url_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
        - HTTPBearer: []
components:
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````

## Related topics

- [JavaScript SDK](/guides/sdk.md)
- [Configuration](/configuration.md)
- [Google Connect](/api-reference/integrations/google-connect.md)
- [Introduction](/index.md)
- [Gmail webhooks](/guides/webhooks-gmail.md)
