The Vibehut API provides RESTful endpoints for you to interact easily with Vibehut's data.. so you can help manage and accelerate the good vibes 💪
- Login to Vibehut.io using any popular social account. It has ENS Support!
- Generate authentication token
- Start coding!
const axios = require('axios');
const apiKey = [API KEY];
const url = 'https://vibehut.io/api/v1/public/events';
// or any endpont of your choosing!
const headers = {
'api-key': `${apiKey}`
};
axios.get(url, { params, headers })
.then(response => {
console.log(JSON.stringify(response.data.data[0]));
})
.catch(error => {
console.error(error);
});The Vibehut API uses token-based authentication. To authenticate requests, include the api-key header with a valid access token.
To get a token
- Login to Vibehut
- Account Settings (Click profile in bottom left)
- API Key in the sidebar
- Create
const headers = {
'api-key': `${apiKey}`
};
axios.get(url, { params, headers })Getting you started is important. Here are some of our most popular endpoints. Please see the documentation below for a comprehensive list.
The root url is always https://vibehut.io/api/v1/public/ so events is https://vibehut.io/api/v1/public/events
/events - create, read, update events
- commonly used params: roomSlug, roomId, desoPublicKey
- filterBy [popular, upcoming, new]
Returns
_id: '64ade89038ce4c001462f23f',
cover: [Object],
isPaidEvent: false,
price: 0,
isPasswordProtected: false,
title: 'Weekly Vibehut Platform Call',
description: '',
startDate: '2023-08-08T22:00:00.000Z',
endDate: '2023-08-08T23:00:00.000Z',
room: [Object],
createdAt: '2023-07-11T23:41:04.416Z',
rsvps: [Array],
rsvp_count: 46,
eventOwner: [Object],
isAccessibleEvent: true
}/calls - create new instant call link
/calls/active-calls - see what calls are currently active
/feed - query the vibehut feed
/notifications- retrieve notifications
/rooms - create a room
The API documentation can be found here. It provides detailed information about each endpoint, including request and response examples.
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
This project is licensed under the MIT License.

