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

# Get Slack integration status

> Returns whether a Slack workspace is connected for your organization, and the connected team name. No secrets are returned.



## OpenAPI

````yaml /api-reference/v1/slack-v1.yaml get /integrations/slack
openapi: 3.0.3
info:
  title: Coval Slack Integration API
  version: 1.0.0
  description: >

    Connect, disconnect, and read the status of your organization's Slack
    integration.

    Connecting exchanges a Slack OAuth authorization code for a workspace
    connection.
  contact:
    name: Coval API Support
    email: support@coval.dev
    url: https://docs.coval.ai
  license:
    name: Proprietary
    url: https://coval.dev/terms
servers:
  - url: https://api.coval.dev/v1
    description: Production API
security:
  - ApiKeyAuth: []
tags:
  - name: Integrations
    description: Third-party integration status
paths:
  /integrations/slack:
    get:
      tags:
        - Integrations
      summary: Get Slack integration status
      description: >-
        Returns whether a Slack workspace is connected for your organization,
        and the connected team name. No secrets are returned.
      operationId: getSlackStatus
      responses:
        '200':
          description: Slack connection status
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SlackStatusResponse'
              examples:
                connected:
                  summary: Workspace connected
                  value:
                    connected: true
                    team_name: Acme Corp
                notConnected:
                  summary: No workspace connected
                  value:
                    connected: false
                    team_name: null
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/PermissionDenied'
        '500':
          $ref: '#/components/responses/InternalError'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    SlackStatusResponse:
      type: object
      description: Product-facing Slack connection status. No secrets are returned.
      required:
        - connected
      properties:
        connected:
          type: boolean
          description: Whether a Slack workspace is connected for this organization
          example: true
        team_name:
          type: string
          nullable: true
          description: Connected Slack workspace/team name, or null when not connected
          example: Acme Corp
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
            - details
          properties:
            code:
              type: string
              enum:
                - INVALID_ARGUMENT
                - UNAUTHENTICATED
                - PERMISSION_DENIED
                - NOT_FOUND
                - ALREADY_EXISTS
                - INTERNAL
              example: UNAUTHENTICATED
            message:
              type: string
              example: Authentication failed
            details:
              type: array
              items:
                type: object
                properties:
                  field:
                    type: string
                    nullable: true
                  description:
                    type: string
  responses:
    Unauthorized:
      description: Authentication failed
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error:
              code: UNAUTHENTICATED
              message: Authentication failed
              details:
                - field: X-API-Key
                  description: Invalid or missing API key
    PermissionDenied:
      description: API key lacks required permission scope
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error:
              code: PERMISSION_DENIED
              message: Insufficient permissions
              details:
                - field: permissions
                  description: 'API key does not have required permission: integrations:read'
    InternalError:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error:
              code: INTERNAL
              message: Internal server error
              details:
                - description: An unexpected error occurred
    ServiceUnavailable:
      description: >-
        Service temporarily unavailable (transient organization DB routing
        outage; retryable)
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error:
              code: INTERNAL
              message: Service temporarily unavailable
              details:
                - description: Database routing is temporarily unavailable. Please retry.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: API key for authentication

````