A powerful REST API to integrate Diurnly scheduling into any product. OAuth 2.0, webhooks, and SDKs included.
const response = await fetch(
'https://api.diurnly.com/v1/bookings',
{
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json',
}
}
);
const { bookings } = await response.json();
console.log(bookings);Get your API key
Call any endpoint
Instant JSON data
Webhooks fire on events
Simple, predictable endpoints with JSON responses and clear error codes.
Industry-standard authentication. Build on behalf of your users securely.
Get real-time push notifications when bookings are created, updated, or cancelled.
const response = await fetch(
'https://api.diurnly.com/v1/bookings',
{
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json',
}
}
);
const { bookings } = await response.json();
console.log(bookings);/v1/event-types/v1/event-types/v1/bookings/v1/bookings/v1/bookings/:id/v1/availability/v1/webhooks"The API is clean, predictable, and fast. We integrated Diurnly into our platform in a single afternoon."
"Webhooks + the JavaScript SDK made our custom recruiting pipeline effortless."
"Best API documentation I've seen. Everything just works on the first try."
Official SDKs for your favorite language. Or just use cURL.
import { Diurnly } from '@diurnly/sdk';
const diurnly = new Diurnly('sk_live_...');
const bookings = await diurnly.bookings.list({
status: 'confirmed',
limit: 10
});
console.log(bookings);