Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Knock Slack API

The Slack API from Knock — 3 operation(s) for slack.

Knock Slack API is one of 19 APIs that Knock publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

Tagged areas include Slack. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an AsyncAPI specification.

This API exposes 3 operations across 3 paths, and defines 2 schemas. It is described by OpenAPI 3.0.0, at version 1.0.

Requests are made against a single base URL, https://api.knock.app.

3 operations 3 paths 2 schemas 2 GET1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
1.0
Base URL
https://api.knock.app/v1
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

Knock Slack API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (JWT) (BearerAuth). By default, every request must be authenticated.

Paths & Operations 3

Across 3 paths, the API surfaces 3 operations — 2 GET, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Slack 3
GET
/v1/providers/slack/{channel_id}/channels
List channels
listChannelsForSlackProvider 7 params → 200403
GET
/v1/providers/slack/{channel_id}/auth_check
Check auth
slackProviderAuthCheck 2 params → 200
PUT
/v1/providers/slack/{channel_id}/revoke_access
Revoke access
slackProviderRevokeAccess 2 params → 200403

Schemas 2

The contract defines 2 schemas that model the data the API accepts and returns. The most detailed are ChannelsForSlackProviderResponse (2 properties), SlackAuthCheckResponse (1 property). Each schema is shown below with its type and property counts.

ChannelsForSlackProviderResponse
object
The response from a Slack provider request, containing a list of channels.
2 properties 2 required
SlackAuthCheckResponse
object
The response from a Slack auth check request.
1 property 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

knock-slack-api-openapi.yml Raw ↑

Other APIs Knock publishes across the network.

Knock Audiences API
Knock Bulk operations API
Knock Channel data API
Knock Feeds API
Knock Guides API
Knock Integrations API
Knock Messages API
Knock Microsoft Teams API
Knock Objects API
Knock Preferences API
Knock Providers API
Knock Schedules API