getCustomerVideoDocument

getCustomerVideoDocument

This method allows you to retrieve a video document associated with a specific customer and session.

Parameters

  • customerId (string, required): The unique identifier of the customer.
  • sessionId (string, required): The unique identifier of the session associated with the video document.

Returns

A JSON object containing the customer's video document details, including fields like id, objectKey, filename, mimetype, description, cmsProjectId, createdAt, createdBy, and presignedUrl.

Usage Example

const axios = require('axios');

let config = {
  method: 'get',
  maxBodyLength: Infinity,
  url: 'https://api.nexera.id/customers/:customerId/video-document/:sessionId',
  headers: { 
    'Accept': 'application/json', 
    'Authorization': 'Bearer <TOKEN>'
  }
};

axios.request(config)
.then((response) => {
  console.log(JSON.stringify(response.data));
})
.catch((error) => {
  console.log(error);
});