isOpen) and whether it supports appointment bookingisAppointment).branchId returned by GET /branches that belongs to yourdata is an object (avgWaitingTime, sampleSize, groups), not a bare array.type = service) and active services are included.isAppointment = true means the service can be booked for a specific time viaGET /services/{id}/slots + POST /tickets/book with a time.name are localized to X-Locale where translations exist.avgWaitingTime and sampleSize describe the branch as a whole and are the sameGET /branches/{branchId}. There is no per-service waiting time.avgWaitingTime when sampleSize is 0.curl --location 'https://api.skiplino.com/external/v1/branches/802b33af66/tree' \
--header 'X-Locale;' \
--header 'Authorization: Bearer <token>'{
"message": "Branch tree fetched successfully.",
"data": {
"avgWaitingTime": 18,
"sampleSize": 51,
"groups": [
{
"id": "7c1f9a3b2d",
"name": "Teller Services",
"isMain": true,
"services": [
{
"id": "6fe8fb8b12",
"name": "Cash Withdrawal",
"character": "Q",
"isOpen": true,
"isAppointment": false
},
{
"id": "802b33af66",
"name": "Account Opening",
"character": "A",
"isOpen": true,
"isAppointment": true
}
]
}
]
}
}