The steps below export your Calendly contacts’ names and email addresses to a CSV file. This method uses your browser’s Developer Tools console and downloads the results as contacts.csv.
- Log in to Calendly.
- Right-click anywhere on the page and select “Inspect” to open your browser’s Developer Tools.
- Select the “Console” tab.
- Paste the code snippet below into the console.
- Press Enter.
The script will download a file named contacts.csv containing the available contact names and email addresses.
Spend less time scheduling
Online booking, reminders, and payments — free to start
async function getCalendlyContacts() {
const url = 'https://calendly.com/api/dashboard/contacts/?contact[favorite]=false';
try {
const response = await fetch(url);
if (!response.ok) {
throw new Error(`HTTP error! status: ${response.status}`);
}
const data = await response.json();
if (data && data.contacts && Array.isArray(data.contacts)) {
let outputText = '';
data.contacts.forEach(contact => {
if (contact.email && contact.name) {
outputText += `${contact.name}, ${contact.email}\n`;
}
});
downloadContacts(outputText, 'contacts.csv');
} else {
console.error('Invalid JSON structure or missing contacts.');
}
} catch (error) {
console.error('Error fetching or processing data:', error);
}
}
function downloadContacts(text, filename) {
const element = document.createElement('a');
element.setAttribute('href', 'data:text/plain;charset=utf-8,' + encodeURIComponent(text));
element.setAttribute('download', filename);
element.style.display = 'none';
document.body.appendChild(element);
element.click();
document.body.removeChild(element);
}
getCalendlyContacts();
This export contains contact names and email addresses only; it does not export broader Calendly scheduling or event data. Because the script relies on Calendly’s current underlying structure, it may stop working if that structure changes.
