Docs
/
Contact supportLog inGet started
Overview
API endpoints
Security + authentication
Feeds v. guides
Overview
Styling
Custom UI (headless)
Handling interactivity
Filtering feeds
Socket behavior overrides
Overview
Creating guides
Ordering guides
Rendering guides
Message typesBeta
Select your SDK
Overview
Overview
Quick start
Reference
Knock
ApiClient
FeedClient
GuideClient
MessageClient
UserClient
ObjectClient
SlackClient
MsTeamsClient
KnockOptions
AuthenticateOptions
FeedStoreState
Get startedLog inContact support
Platform
Integrations
Building in-app UI
API reference
CLI reference
Management API
Developer tools
Tutorials
Overview
API endpoints
Security + authentication
Feeds v. guides
Overview
Styling
Custom UI (headless)
Handling interactivity
Filtering feeds
Socket behavior overrides
Overview
Creating guides
Ordering guides
Rendering guides
Message typesBeta
Select your SDK
Overview
Overview
Quick start
Reference
Knock
ApiClient
FeedClient
GuideClient
MessageClient
UserClient
ObjectClient
SlackClient
MsTeamsClient
KnockOptions
AuthenticateOptions
FeedStoreState
In-App UI
JavaScript
SDK
ApiClient

ApiClient reference

Complete reference for the ApiClient in the Knock JavaScript SDK.

The API client exposes direct functions for communicating with the Knock API over HTTP and websocket.

Properties

#

socket

#

Returns: a Socket