SDK

The SDK module can be used to authenticate and communicate with the Wix platform from JavaScript code. It offers a client for making authenticated calls to the Wix JavaScript SDK and REST APIs.

The SDK module provides the following functions and objects:

  • WixClient: A client for executing authenticated API requests. The client employs the authentication strategy provided during initialization.
  • ApiKeyStrategy: Authenticates API requests for admin actions using an API Key.
  • OAuthStrategy: Authenticates API requests for Wix Headless using OAuth tokens.
  • WixAppOAuthStrategy: Authenticates API requests for apps using OAuth tokens.
  • media: Features for working with media content returned by the APIs.

To get started using the SDK, see Setup.

Was this helpful?
Yes
No