Skip to content

API reference

The full reference is generated from our OpenAPI 3.1 specification. It covers every endpoint under /api/v1/channel, the error codes, the rate limit headers and the body of every webhook.

Two servers are declared: https://localoge.com/api/v1/channel (production, lok_live_ keys) and https://sandbox.localoge.com/api/v1/channel (sandbox, lok_test_ keys). Pick the sandbox to try calls from the reference.

Two lightweight, dependency-free clients, written from the specification. They handle authentication, the response envelope, 429s (waiting for Retry-After, then retrying), cursor pagination and webhook signature verification for you.

import { LocalogeClient, verifyWebhookSignature } from './localoge';
const localoge = new LocalogeClient(process.env.LOCALOGE_KEY!, {
baseUrl: 'https://sandbox.localoge.com/api/v1/channel',
});
await localoge.ping();
await localoge.upsertProperty({ external_property_id: 'PROP-4821', title: 'Studio vue mer' });
for await (const r of localoge.iterateReservations({ updated_since: '2026-09-28T00:00:00Z' })) {
console.log(r.reservation_id, r.status);
}
use Localoge\LocalogeClient;
use Localoge\Webhook;
$localoge = new LocalogeClient(getenv('LOCALOGE_KEY'), [
'base_url' => 'https://sandbox.localoge.com/api/v1/channel',
]);
$localoge->ping();
foreach ($localoge->iterateReservations(['updated_since' => '2026-09-28T00:00:00Z']) as $r) {
echo $r['reservation_id'], ' ', $r['status'], PHP_EOL;
}
// In your webhook endpoint:
$ok = Webhook::verify($secret, file_get_contents('php://input'), $_SERVER['HTTP_X_LOCALOGE_SIGNATURE'] ?? '');

The SDKs are available on request until they are published on npm and Packagist: write to contact@localoge.com.