channel
– The name of the invitation channelchannel_type
– Delivery method used (e.g., email)sender_full_name
– Name of the person who sent the invitationcreated_at
– When the invitation was createdreminded_at
– Timestamp of the last reminder sentstatus
– Invitation status (Pending, Accepted, or Declined)const axios = require('axios');
const url = "https://customer-query.api.pinghome.io/v1/team/6fb4e64f-ad18-46e3-920c-92639adb137c/invitations";
axios.get(url, {
headers: {
'Authorization': 'Bearer YOUR_TOKEN',
'Content-Type': 'application/json'
}
})
.then(response => {
console.log(response.data);
})
.catch(error => {
console.error(error);
});