Developers / Quickstart
Quick start
Get your first Glanevo API integration running in 5 steps.
- 1
Create an account and generate an API token
Log into the Glanevo panel, go to Settings → API Keys, and create a new token. The token is shown only once — save it somewhere secure.
- 2
Send the token as a header
Use the Authorization: Bearer glv_... header for all requests.
- 3
Make your first call — list customers
Fetch the customers in your tenant with GET /api/v1/customers.
- 4
Create an appointment
Create a new appointment with POST /api/v1/appointments. customerId + staffId are required.
- 5
Subscribe to a webhook
Subscribe to events with POST /api/webhook-endpoints. Verify with the HMAC signature.
Code examples
curl
curl https://api.glanevo.com/api/v1/customers \
-H "Authorization: Bearer glv_YOUR_TOKEN"JavaScript / Node
const res = await fetch("https://api.glanevo.com/api/v1/customers", {
headers: { Authorization: `Bearer ${process.env.GLANEVO_TOKEN}` },
});
const { customers } = await res.json();
console.log(customers);Python
import os, requests
r = requests.get(
"https://api.glanevo.com/api/v1/customers",
headers={"Authorization": f"Bearer {os.environ['GLANEVO_TOKEN']}"},
)
print(r.json())PHP
<?php
$ch = curl_init("https://api.glanevo.com/api/v1/customers");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer " . getenv("GLANEVO_TOKEN")
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
echo curl_exec($ch);