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

  1. Obtain your access token from your Videowise account settings. Go to Settings -> Stores -> Click View license key
  2. Obtain your siteId from Settings -> Stores -> Click Edit on your store and copy your siteId
  3. Choose one of the site types which are Salesforce , Magento and Custom
  4. Include the token in the X-Videowise-Access-Token header of your request.
  5. Include siteId and siteType in your request body.

Example:

X-Videowise-Access-Token: <your_access_token>

Error Responses

If the token is missing or invalid, the API will return a 401 Unauthorized error:

{
    "message": "Missing X-Videowise-Access-Token header"
}

If siteId or siteType is missing, the API will return a 400 Bad Request with one of the following errors error:

{
    "message": "Missing siteId in request body"
}
{
    "message": "Missing siteType in request body"
}