Setup
To use the SDK module, install the @wix/sdk
package:
Copy
1npm install @wix/sdk
Or
Copy
1yarn add @wix/sdk
To make authenticated API requests, create a client. For examples, see the relevant authentication strategy:
- ApiKeyStrategy: Use for admin operations.
- OAuthStrategy: Use for Wix Headless sites.
- AppOAuthStrategy: Use for Wix apps.
Was this helpful?
Yes
No