getCustomerEmails

getCustomerEmails

This method retrieves a list of email addresses associated with a specific customer.

Parameters

customerId (string, required): The UUID of the customer.

Returns

A JSON array containing the details of the customer's email addresses.

Usage Example

const axios = require('axios');

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

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