> ## Documentation Index
> Fetch the complete documentation index at: https://docs.thefaithapp.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Church Branches

Retrieves a paginated list of branches for the authenticated user's church.

* Requires both an API key and a TheFaithApp member bearer token.
* Supports optional pagination.
* Each branch includes its associated gatherings/meetings with details like name, schedule, and status.

## Request inputs

<ParamField header="X-API-Key" type="string" required>
  Your client API key from the dashboard (Settings page).
</ParamField>

<ParamField query="page" type="number">
  Page number for pagination (default: 1).
</ParamField>

## Response fields

<ResponseField name="current_page" type="number">
  The current page of branch results.
</ResponseField>

<ResponseField name="data" type="object[]" required>
  Branch records returned for the authenticated member's church.
</ResponseField>

<ResponseField name="data[].gatherings" type="object[]">
  Active gatherings attached to each branch, formatted for app display.
</ResponseField>

<ResponseField name="per_page" type="number">
  The maximum number of branch records returned in this page.
</ResponseField>

<ResponseField name="total" type="number">
  The total number of matching branches across all pages.
</ResponseField>

## Example response

```json theme={null}
{
  "current_page": 1,
  "data": [
    {
      "id": 4,
      "name": "Downtown Campus",
      "location": "Kololo, Kampala",
      "gatherings": [
        {
          "id": 21,
          "name": "Morning Service",
          "day_of_week": "Sunday",
          "start_time": "08:00",
          "end_time": "10:00",
          "is_active": true
        }
      ]
    }
  ],
  "per_page": 10,
  "total": 1
}
```
