Endpoints for executives and subsidiaries.
The Glenhouse API provides access to information about Glenhouse executives and subsidiaries. All API endpoints return data in JSON format.
Returns a list of all executives at Glenhouse.
[
{
"name": "Gregory Pizarro, Jr.",
"titles": {
"Glenhouse": "Founder & Chief Executive Officer"
},
"imageUrl": "/executives/gregory-pizarro.jpg",
"slug": "gregory-pizarro-jr",
"subsidiaries": [
"Glenhouse"
]
}
]Returns information about a specific executive.
Returns all executives belonging to a specific subsidiary.
Returns a list of all subsidiaries.
// Fetch all executives
fetch('https://weareglenhouse.com/api/executives')
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
// Fetch a specific executive
fetch('https://weareglenhouse.com/api/executives/gregory-pizarro-jr')
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
// Fetch executives by subsidiary
fetch('https://weareglenhouse.com/api/executives/subsidiary/Glenhouse%20Media')
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));