# Create Discord Integration

POST https://fai.buildwithfern.com/discord/install

Reference: https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/discord/create-discord-integration

## OpenAPI Specification

```yaml
openapi: 3.1.1
info:
  title: Create Discord Integration
  version: endpoint_discord.create_discord_integration
paths:
  /discord/install:
    post:
      operationId: create-discord-integration
      summary: Create Discord Integration
      tags:
        - - subpackage_discord
      parameters:
        - name: domain
          in: query
          required: true
          schema:
            type: string
        - name: Authorization
          in: header
          description: >-
            Bearer authentication of the form `Bearer <token>`, where token is
            your auth token.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DiscordIntegrationResponse'
        '422':
          description: Validation Error
          content: {}
components:
  schemas:
    DiscordIntegrationResponse:
      type: object
      properties:
        integration_url:
          type: string
      required:
        - integration_url

```