REST API · v1.0

VoltBar API Docs

The VoltBar API is a RESTful service that allows developers to integrate with our platform programmatically. It provides endpoints for managing bookings, inventory, and user accounts, enabling seamless interaction with our services.

Status: Operational Uptime: 99.9% Avg latency: 120ms
request.sh
$ curl -X POST http://localhost/voltbar.api/api/bookings \
-H "Authorization: Bearer <JWT_TOKEN>"
{ "status": true, "message": "Booking created successfully", "data": { "eventName": "GTCO Foods & Drinks 2026", "eventType": "Festival", "eventDate": "2026-11-11", "venueName": "GTCO ground", "venueAddress": "Water Corporation Drive, Victoria Island, Lagos" "expectedGuests": "2000" } }

Three steps to your first call

No SDK required — just your JWT Token and an HTTP client.

1

Get your JWT Token

You can obtain an access token by authenticating through the login endpoint.

2

Authenticate requests

Pass your access token as a Bearer token in the Authorization header.

3

Make your first call

Import the Postman collection and run the example requests directly.

// .env
API_BASE_URL="http://localhost/voltbar.api/"
JWT_TOKEN="your_token_here"
 
// example header
Authorization: Bearer your_token_here
Content-Type: application/json