Learn how to start using the Oquira Business API.
Oquira provides a powerful API for real-time queue management, service discovery, and business analytics. This guide will help you make your first API calls and understand our core concepts.
To use the API, you need a Business API Key.
Include your API key in the X-API-Key header:
X-API-Key: your_api_key_hereLet's make a simple request to list the queues in your organization.
curl -X GET "https://api.oquira.com/v1/business/queues" \
-H "X-API-Key: your_api_key" \
-H "Content-Type: application/json"const response = await fetch("https://api.oquira.com/v1/business/queues", {
headers: {
"X-API-Key": "your_api_key",
"Content-Type": "application/json",
},
});
const data = await response.json();
console.log(data);import requests
headers = {
"X-API-Key": "your_api_key",
"Content-Type": "application/json"
}
response = requests.get(
"https://api.oquira.com/v1/business/queues",
headers=headers
)
print(response.json()){
"success": true,
"data": [
{
"id": "que_m2n8p1",
"name": "Main Queue",
"waitingCount": 5,
"status": "active"
}
]
}Now that you've made your first API call, explore more: