Branches
List the branches belonging to your restaurant.
Server-to-server · Bearer API key · Restaurant scoped
List branches#
GET
/api/v1/branchesReturns all non-deleted branches belonging to your restaurant, including inactive branches. Use an active branch to create an order. This endpoint is not paginated. Create and edit branches in the Business Owner dashboard; the API exposes branch listing only.
Authentication: IntegrationKey · Scope: branches.read
curl
curl --request GET \
"https://api.rinili.com/api/v1/branches" \
--header "Accept: application/json" \
--header "Authorization: Bearer YOUR_API_KEY"JavaScript
const response = await fetch("https://api.rinili.com/api/v1/branches", {
method: "GET",
headers: {
"Accept": "application/json",
"Authorization": "Bearer YOUR_API_KEY"
}
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
const result = response.status === 204 ? null : await response.text();Python
import requests
response = requests.request(
"GET",
"https://api.rinili.com/api/v1/branches",
headers={'Accept': 'application/json', 'Authorization': 'Bearer YOUR_API_KEY'},
timeout=15,
)
response.raise_for_status()
print(response.json())Response · 200
Illustrative response. Empty summary objects stand for configuration-dependent fields.
JSON
{
"data": [
{
"id": 12,
"restaurant_id": 7,
"name": "Sample branch",
"address": "Amman",
"latitude": null,
"longitude": null,
"phone": null,
"status": "active",
"version": 1,
"updated_at": "2026-11-02T09:00:00.000000Z"
}
]
}