Documentation

Welcome to Desklet Docs

This is your central hub for learning how to integrate with and extend the Desklet platform. Whether you're building a custom integration or want to leverage our API, you'll find everything you need right here.

Getting Started

The best place to start is our "Getting Started" guide. It will walk you through authenticating with our API and making your first request.

API Authentication

To use the Desklet API, you'll need an API key. You can generate one from your dashboard under Settings > Developer. All API requests must be authenticated by including your key in the `Authorization` header.

// All API requests should be authenticated
curl "https://api.desklet.com/v1/rooms" \
  -H "Authorization: Bearer YOUR_API_KEY"

Example: Fetching Bookings

Here's a quick example of how to fetch a list of bookings using our API.

import axios from 'axios';

const getBookings = async () => {
  try {
    const response = await axios.get('https://api.desklet.com/v1/bookings', {
      headers: {
        'Authorization': `Bearer ${process.env.DESKLET_API_KEY}`
      }
    });
    console.log(response.data);
    return response.data;
  } catch (error) {
    console.error('Error fetching bookings:', error);
  }
};

getBookings();

API Status

Check our status page for real-time updates on API performance and uptime.

All Systems Operational