See how Open Guestbook APIs work with live demos. No setup, no login, just interactive code examples.
Simple GET request to see how our API responds with basic authentication.
Example POST request to add a signed guestbook entry using HMAC authentication.
This demonstration requires an API key. It illustrates how to retrieve a simple response from the hello endpoint using JavaScript.
// JavaScript Example
fetch('https://api.openguestbook.tech/v1/hello', {
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
}
})
.then(response => response.json())
.then(data => {
console.log(data);
});
// cURL Example
curl -X GET \\
-H "Authorization: Bearer YOUR_API_KEY" \\
https://api.openguestbook.tech/v1/hello
{
"status": "success",
"message": "Hello from Open Guestbook API v1",
"timestamp": "2025-08-16T10:00:00Z"
}
This demo shows how to sign a new guestbook entry with HMAC authentication. Requires an API secret key for signing.
// JavaScript Example
const secret = "YOUR_SECRET_KEY";
const message = {
name: "Jane Doe",
message: "Great service experience!"
};
const hmac = crypto.createHmac('sha256', secret);
hmac.update(JSON.stringify(message));
const signature = hmac.digest('hex');
fetch('https://api.openguestbook.tech/entries', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json',
'X-API-Signature': signature
},
body: JSON.stringify(message)
});
// cURL Example
curl -X POST \\
-H "Authorization: Bearer YOUR_API_KEY" \\
-H "Content-Type: application/json" \\
-H "X-API-Signature: 3a7d4f3e8b2c7a15c6a2f6a9458b5a3c" \\
-d '{
"name": "John Doe",
"message": "This is a signed guestbook entry"
}' \\
https://api.openguestbook.tech/entries
{
"status": "success",
"entry_id": "654321",
"timestamp": "2025-08-16T10:00:00Z"
}
Add rich metadata to guestbook entries with custom content types and metadata fields.
{
"name": "Jane Smith",
"message": "Visited with family",
"metadata": {
"group": "family",
"rating": 5,
"tags": ["travel", "feedback"]
}
}
Our API handles the complexity while you focus on adding value to guestbook features.