Product API
Authentication
Learn how to authenticate with the Product API.
All endpoints in the Product API require authentication via an access token, your site ID and your site type. This token must be included in the headers of every request.
How to get your X-Videowise-Access-Token
How to Authenticate
- Obtain your access token from your Videowise account settings. Go to Settings -> Stores -> Click View license key
- Obtain your siteId from Settings -> Stores -> Click Edit on your store and copy your siteId
- Choose one of the site types which are
Salesforce
,Magento
and Custom - Include the token in the
X-Videowise-Access-Token
header of your request. - Include
siteId
andsiteType
in your request body.
Example:
Error Responses
If the token is missing or invalid, the API will return a 401 Unauthorized error:
If siteId or siteType is missing, the API will return a 400 Bad Request with one of the following errors error: