Overview / Operations / List branches

List branches

get https://api.flactrum.com/v1/branches
Required scope branches.read
Panel screenOperations → Branches
Success status200
Returns A paginated list of Branch objects

Parameters

NameInTypeDescription
city query string —
region query string —
search query string Matches name or code.
page query integer Page number.
per_page query integer Page size. Values above the maximum are rejected rather than silently clamped.
active query boolean Filter by active flag. Omit to get both.
updated_since query string Only records changed at or after this instant. Use it for incremental sync.
sort query string Column to sort by. Each endpoint lists what it accepts.
direction query string Sort direction.

Response fields

FieldTypeDescription
id string ULID.
name string —
code string|null Unique within the brand. Useful as your own reference key.
city string|null —
region string|null Region name used for regional-manager scoping.
address string|null —
phone string|null —
is_active boolean —
opened_at string|null The date the branch opened for business, not a daily hour.
monthly_rent number|null Monthly rent; the branch analysis spreads it over the days.
latitude number|null —
longitude number|null —
working_hours object Opening hours per weekday, keyed 1 (Monday) to 7 (Sunday): {"1": {"opens": "09:00", "closes": "22:00"}}. A missing day is closed; an empty object means open around the clock. A closing time earlier than the opening time crosses midnight. Kiosks in the branch show a closed screen outside these hours.
created_at string —
updated_at string —

Examples

Recorded from the test suite — these are real requests and their real responses.

curl -X GET 'https://api.flactrum.com/v1/branches?per_page=5' \
  -H 'Authorization: Bearer flk_your_key:your_secret' \
  -H 'Accept: application/json'

HTTP 200 · application/json

{
    "data": [
        {
            "id": "01m43mxjxv6nrkyw3cmy6wnz5n",
            "name": "Kadıköy",
            "code": "KAD",
            "city": "İstanbul",
            "region": "Bölge 2",
            "address": null,
            "phone": null,
            "is_active": true,
            "opened_at": null,
            "monthly_rent": null,
            "latitude": null,
            "longitude": null,
            "working_hours": [],
            "created_at": "2026-10-04T14:26:06+00:00",
            "updated_at": "2026-10-04T14:26:06+00:00"
        },
        {
            "id": "01m43mxjxkaq0kddre2yfb29x5",
            "name": "Nişantaşı",
            "code": "NIS",
            "city": "İstanbul",
            "region": "Bölge 3",
            "address": null,
            "phone": null,
            "is_active": true,
            "opened_at": null,
            "monthly_rent": null,
            "latitude": null,
            "longitude": null,
            "working_hours": [],
            "created_at": "2026-10-04T14:26:06+00:00",
            "updated_at": "2026-10-04T14:26:06+00:00"
        }
    ],
    "meta": {
        "total": 2,
        "page": 1,
        "per_page": 5,
        "last_page": 1
    }
}