Knock Preferences API
The Preferences API from Knock — 16 operation(s) for preferences.
Knock Preferences API is one of 35 APIs that Knock publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
This API exposes 2 JSON Schema definitions.
Tagged areas include Preferences. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and 2 JSON Schemas.
This API exposes 20 operations across 16 paths, and defines 8 schemas. It is described by OpenAPI 3.0.3, at version 1.0.
Requests are made against a single base URL, https://api.knock.app.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 1
Knock Preferences API declares
1 security scheme
for authenticating requests.
It accepts HTTP bearer tokens (BearerAuth).
By default, every request must be authenticated.
BearerAuth— Knock API key as a Bearer token. Use a public key (pk...) for client-side requests or a secret key (sk...) for server-side.
Paths & Operations 20
Across 16 paths, the API surfaces 20 operations — 2 DELETE, 4 GET, 14 PUT. Each is listed below with its method, path, parameters, and response codes.
Schemas 8
The contract defines 8 schemas that model the data the API accepts and returns. The most detailed are PreferenceSetChannelTypes (6 properties), PreferenceSetRequest (6 properties), PreferenceSet (6 properties), Condition (3 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from Knock 12
Other APIs Knock publishes across the network.