AnomalyArmor Slack Integration API

The Slack Integration API from AnomalyArmor — 10 operation(s) for slack integration.

Operations 10

GET /api/v1/integrations/slack/oauth/authorize Slack Oauth Authorize #
GET /api/v1/integrations/slack/oauth/get-url Slack Oauth Get Url #
GET /api/v1/integrations/slack/oauth/callback Slack Oauth Callback #
GET /api/v1/integrations/slack/oauth/connections Get Slack Oauth Connections #
DELETE /api/v1/integrations/slack/oauth/connections/{connection_id} Disconnect Slack Oauth #
GET /api/v1/integrations/slack/oauth/connections/{connection_id}/channels List Slack Channels #
POST /api/v1/integrations/slack/oauth/connections/{connection_id}/destinations Create Slack Destination From Oauth #
POST /api/v1/integrations/slack/oauth/connections/{connection_id}/validate Validate Slack Connection #
POST /api/v1/integrations/slack/oauth/connections/{connection_id}/test Test Slack Connection #
POST /api/v1/integrations/slack/interactions Slack Interactions #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/anomalyarmor-ai:anomalyarmor-ai-slack-integration-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

anomalyarmor-ai-slack-integration-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Anomalyarmor Ai Slack Integration API
  version: 1.0.0
  contact:
    name: AnomalyArmor Support
    url: https://anomalyarmor.ai/support
  license:
    name: Proprietary
  description: 'Operations tagged Slack Integration across 3 of this provider''s published API definitions: anomalyarmor.ai-openapi.json, app.anomalyarmor.ai-openapi.json, docs.anomalyarmor.ai-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: http://localhost:8000
  description: Development server
- url: https://api.anomalyarmor.ai
  description: Production server
tags:
- name: Slack Integration
paths:
  /api/v1/integrations/slack/oauth/authorize:
    get:
      tags:
      - Slack Integration
      summary: Slack Oauth Authorize
      description: 'Initiate Slack OAuth authorization flow.


        Redirects user to Slack authorization page to install the app

        in their workspace.'
      operationId: slack_oauth_authorize_api_v1_integrations_slack_oauth_authorize_get
      parameters:
      - name: Authorization
        in: header
        required: false
        schema:
          type: string
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    servers:
    - url: http://localhost:8000
      description: Development server
    - url: https://api.anomalyarmor.ai
      description: Production server
  /api/v1/integrations/slack/oauth/get-url:
    get:
      tags:
      - Slack Integration
      summary: Slack Oauth Get Url
      description: 'Get Slack OAuth authorization URL.


        Returns the OAuth URL for the frontend to redirect to.

        This endpoint requires authentication to associate the OAuth flow

        with the current user and company.'
      operationId: slack_oauth_get_url_api_v1_integrations_slack_oauth_get_url_get
      parameters:
      - name: Authorization
        in: header
        required: false
        schema:
          type: string
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    servers:
    - url: http://localhost:8000
      description: Development server
    - url: https://api.anomalyarmor.ai
      description: Production server
  /api/v1/integrations/slack/oauth/callback:
    get:
      tags:
      - Slack Integration
      summary: Slack Oauth Callback
      description: 'Handle Slack OAuth callback.


        Called by Slack after user authorizes the app. Exchanges the code

        for a bot token and stores it.


        Note: This endpoint is publicly accessible (called by Slack redirect),

        so it uses the CSRF state for validation instead of AppContext.'
      operationId: slack_oauth_callback_api_v1_integrations_slack_oauth_callback_get
      parameters:
      - name: code
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: OAuth authorization code
          title: Code
        description: OAuth authorization code
      - name: state
        in: query
        required: true
        schema:
          type: string
          description: CSRF state token
          title: State
        description: CSRF state token
      - name: error
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Error code if user denied authorization
          title: Error
        description: Error code if user denied authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    servers:
    - url: http://localhost:8000
      description: Development server
    - url: https://api.anomalyarmor.ai
      description: Production server
  /api/v1/integrations/slack/oauth/connections:
    get:
      tags:
      - Slack Integration
      summary: Get Slack Oauth Connections
      description: 'Get Slack OAuth connections for the current company.


        Returns a list of connected Slack workspaces.'
      operationId: get_slack_oauth_connections_api_v1_integrations_slack_oauth_connections_get
      parameters:
      - name: Authorization
        in: header
        required: false
        schema:
          type: string
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    servers:
    - url: http://localhost:8000
      description: Development server
    - url: https://api.anomalyarmor.ai
      description: Production server
  /api/v1/integrations/slack/oauth/connections/{connection_id}:
    delete:
      tags:
      - Slack Integration
      summary: Disconnect Slack Oauth
      description: 'Disconnect a Slack OAuth connection.


        Removes the stored credentials and any associated destinations.

        Destinations using this OAuth connection will be deleted to prevent

        orphaned destinations that would fail when sending alerts.'
      operationId: disconnect_slack_oauth_api_v1_integrations_slack_oauth_connections__connection_id__delete
      parameters:
      - name: connection_id
        in: path
        required: true
        schema:
          type: integer
          title: Connection Id
      - name: Authorization
        in: header
        required: false
        schema:
          type: string
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    servers:
    - url: http://localhost:8000
      description: Development server
    - url: https://api.anomalyarmor.ai
      description: Production server
  /api/v1/integrations/slack/oauth/connections/{connection_id}/channels:
    get:
      tags:
      - Slack Integration
      summary: List Slack Channels
      description: 'List available Slack channels for an OAuth connection.


        Uses the stored bot token to fetch public channels from the workspace.'
      operationId: list_slack_channels_api_v1_integrations_slack_oauth_connections__connection_id__channels_get
      parameters:
      - name: connection_id
        in: path
        required: true
        schema:
          type: integer
          title: Connection Id
      - name: Authorization
        in: header
        required: false
        schema:
          type: string
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    servers:
    - url: http://localhost:8000
      description: Development server
    - url: https://api.anomalyarmor.ai
      description: Production server
  /api/v1/integrations/slack/oauth/connections/{connection_id}/destinations:
    post:
      tags:
      - Slack Integration
      summary: Create Slack Destination From Oauth
      description: 'Create an alert destination from a Slack OAuth connection.


        Creates a new alert destination that uses the OAuth bot token

        to send messages to the specified channel.'
      operationId: create_slack_destination_from_oauth_api_v1_integrations_slack_oauth_connections__connection_id__destinations_post
      parameters:
      - name: connection_id
        in: path
        required: true
        schema:
          type: integer
          title: Connection Id
      - name: Authorization
        in: header
        required: false
        schema:
          type: string
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Body_create_slack_destination_from_oauth_api_v1_integrations_slack_oauth_connections__connection_id__destinations_post'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    servers:
    - url: http://localhost:8000
      description: Development server
    - url: https://api.anomalyarmor.ai
      description: Production server
  /api/v1/integrations/slack/oauth/connections/{connection_id}/validate:
    post:
      tags:
      - Slack Integration
      summary: Validate Slack Connection
      description: 'Validate a Slack OAuth connection.


        Tests that the stored bot token is still valid by calling Slack''s auth.test API.

        This does not send any messages, it only verifies the connection is working.'
      operationId: validate_slack_connection_api_v1_integrations_slack_oauth_connections__connection_id__validate_post
      parameters:
      - name: connection_id
        in: path
        required: true
        schema:
          type: integer
          title: Connection Id
      - name: Authorization
        in: header
        required: false
        schema:
          type: string
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    servers:
    - url: http://localhost:8000
      description: Development server
    - url: https://api.anomalyarmor.ai
      description: Production server
  /api/v1/integrations/slack/oauth/connections/{connection_id}/test:
    post:
      tags:
      - Slack Integration
      summary: Test Slack Connection
      description: 'Send a test message to verify Slack OAuth connection works.


        Sends a simple test message to the specified channel.'
      operationId: test_slack_connection_api_v1_integrations_slack_oauth_connections__connection_id__test_post
      parameters:
      - name: connection_id
        in: path
        required: true
        schema:
          type: integer
          title: Connection Id
      - name: Authorization
        in: header
        required: false
        schema:
          type: string
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Body_test_slack_connection_api_v1_integrations_slack_oauth_connections__connection_id__test_post'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    servers:
    - url: http://localhost:8000
      description: Development server
    - url: https://api.anomalyarmor.ai
      description: Production server
  /api/v1/integrations/slack/interactions:
    post:
      tags:
      - Slack Integration
      summary: Slack Interactions
      description: 'Handle Slack interactive component callbacks.


        This endpoint receives button clicks, dropdown selections, and other

        interactive actions from Slack messages. It verifies the request signature

        using SLACK_SIGNING_SECRET, then routes actions to the appropriate handler.


        Public endpoint - Slack calls this directly, no auth context.'
      operationId: slack_interactions_api_v1_integrations_slack_interactions_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
    servers:
    - url: http://localhost:8000
      description: Development server
    - url: https://api.anomalyarmor.ai
      description: Production server
components:
  schemas:
    Body_create_slack_destination_from_oauth_api_v1_integrations_slack_oauth_connections__connection_id__destinations_post:
      properties:
        channel_id:
          type: string
          title: Channel Id
          description: Slack channel ID
        channel_name:
          type: string
          title: Channel Name
          description: Slack channel name
      type: object
      required:
      - channel_id
      - channel_name
      title: Body_create_slack_destination_from_oauth_api_v1_integrations_slack_oauth_connections__connection_id__destinations_post
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    Body_test_slack_connection_api_v1_integrations_slack_oauth_connections__connection_id__test_post:
      properties:
        channel_id:
          type: string
          title: Channel Id
          description: Slack channel ID to test
      type: object
      required:
      - channel_id
      title: Body_test_slack_connection_api_v1_integrations_slack_oauth_connections__connection_id__test_post
    StandardResponse:
      properties:
        success:
          type: boolean
          title: Success
        data:
          anyOf:
          - {}
          - type: 'null'
          title: Data
        message:
          anyOf:
          - type: string
          - type: 'null'
          title: Message
        error:
          anyOf:
          - type: string
          - type: 'null'
          title: Error
        meta:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Meta
      type: object
      required:
      - success
      title: StandardResponse
      description: Standard API response wrapper.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
x-refined-from:
- anomalyarmor.ai-openapi.json
- app.anomalyarmor.ai-openapi.json
- docs.anomalyarmor.ai-openapi.json