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

# List locations

> List locations. Access is subject to the permissions, authentication, and branch requirements documented for this operation.



## OpenAPI

````yaml /openapi/tenant-staff-v1.openapi.yaml get /locations
openapi: 3.1.0
info:
  title: Anbyan Staff Session API
  version: 1.0.0
  description: >
    Human staff API authenticated with short-lived staff sessions. Login uses
    email and password, followed by MFA when required.
servers:
  - url: https://{tenantDomain}/api/v1/staff
    description: Staff session API on a tenant domain
    variables:
      tenantDomain:
        default: tenant.example.com
security:
  - bearerAuth: []
tags:
  - name: Auth
  - name: Ledger
  - name: Deposits
  - name: Withdrawals
  - name: Transfers
  - name: Vaults
  - name: Direct Deposits
  - name: Bank Migrations
  - name: Accounts
  - name: Account Products
  - name: Clients
  - name: Client Compliance
  - name: Product Applications
  - name: Card Programs
  - name: Card Design Sets
  - name: Cards
  - name: Dashboard
  - name: Simulator
  - name: Compliance Program
  - name: Staff
  - name: Incidents
  - name: Branches
  - name: Jurisdictions
  - name: Locations
  - name: Notifications
  - name: Settings
  - name: FX
  - name: Passbooks
  - name: Access Control
  - name: Users
  - name: Activity Logs
paths:
  /locations:
    get:
      tags:
        - Locations
      summary: List locations
      description: >-
        List locations. Access is subject to the permissions, authentication,
        and branch requirements documented for this operation.
      operationId: listLocations
      responses:
        '200':
          $ref: '#/components/responses/LocationPaginator'
components:
  responses:
    LocationPaginator:
      description: Location paginator.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/LocationPaginator'
  schemas:
    LocationPaginator:
      allOf:
        - $ref: '#/components/schemas/PaginationMetadata'
        - type: object
          properties:
            data:
              type: array
              items:
                $ref: '#/components/schemas/Location'
    PaginationMetadata:
      type: object
      properties:
        current_page:
          type: integer
        data:
          type: array
          items: {}
        from:
          type:
            - integer
            - 'null'
        lastPage:
          type: integer
        nextPage_url:
          type:
            - string
            - 'null'
        path:
          type: string
        perPage:
          type: integer
        prevPage_url:
          type:
            - string
            - 'null'
        to:
          type:
            - integer
            - 'null'
        total:
          type: integer
    Location:
      type: object
      additionalProperties: true
      properties:
        id:
          type: string
        type:
          type: string
        label:
          type: string
        branchId:
          type: string
        country:
          type: string
        region:
          type: string
        city:
          type: string
        line1:
          type: string
        postalCode:
          type: string
        phone:
          type: string
        email:
          type: string
        isActive:
          type: boolean
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.