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

# Get resource childrens for a given resource

> For a full list of query params, please see /organizations/{organization_slug}/resources.



## OpenAPI

````yaml /developers/openapi/customer.openapi.json get /api/v1/resources/{resource_slug}/children
openapi: 3.1.0
info:
  title: customer-api
  version: '1.0'
  contact:
    name: anny GmbH
    url: anny.co
    email: support@anny.co
  description: >-
    The Customer API is the **public booking surface** for end-user facing
    applications. It covers everything a customer can see and do — searching
    availability, placing bookings, managing their account, and more.


    ---


    ## When to use the Customer API


    Use the Customer API when you are **building something your customers
    interact with directly**:


    - **Custom booking flow** — embed a fully branded booking experience inside
    your own app or website instead of redirecting to anny

    - **Headless checkout** — drive the cart, checkout, and payment steps
    entirely from your own frontend

    - **Custom confirmation pages** — retrieve booking and order details after
    checkout to render a tailored confirmation

    - **Opening hours and availability on public pages** — display live schedule
    data on your website with no authentication required

    - **White-label experiences** — build lobby screens, kiosks, or mobile apps
    on top of the Customer API


    Many endpoints work **without any authentication**. For a custom OAuth2
    client to authenticate your own users, contact
    [support@anny.co](mailto:support@anny.co) with your use case.


    ---


    ## Authentication — Optional Auth


    Most Customer API endpoints work without a token. Providing a customer
    bearer token unlocks personal data and additional actions:


    | Auth state | What's accessible |

    |---|---|

    | Anonymous | Availability, public resource/service info, booking lookup by
    number, checkout |

    | Customer token | Own bookings, account data, communities, passes, queue
    tickets |


    ```

    Authorization: Bearer {customer_access_token}

    ```


    To authenticate your own users, you need a custom OAuth2 client — contact
    [support@anny.co](mailto:support@anny.co). See the [Authentication
    guide](/developers/guides/authentication) for the full token flow.


    ---


    ## Customer API vs Admin API


    | Feature | Customer API | Admin API |

    |---|---|---|

    | **Use case** | End-user apps, booking widgets | Server-side automation,
    backend tooling |

    | **Auth** | Optional — many endpoints work without a token | Required — API
    token or OAuth2 |

    | **Identifiers** | Slugs, booking numbers, order numbers | Immutable UUIDs
    and integer IDs |

    | **Access** | Public and customer-owned data only | Full read/write |


    → [Go to the Admin API](/developers/api-reference/admin)


    ---


    ## Resource Identifiers


    The Customer API uses **human-readable identifiers** that appear in booking
    URLs:


    | Entity | Identifier | Example |

    |---|---|---|

    | Resources | Slug | `conference-room-berlin` |

    | Services | Slug | `hourly-desk-booking` |

    | Organizations | Slug | `acme-gmbh` |

    | Bookings | Booking number | `BB123456789` |

    | Orders | Order number | `BO123456789` |


    Use the Admin API if you need immutable internal IDs for storage in external
    systems.


    ---


    ## Starting Points


    | Guide | What it covers |

    |---|---|

    | [Getting Started](/developers) | First steps and quickstart |

    | [JSON:API Conventions](/developers/guides/json-api-conventions) | Request
    and response format |

    | [Authentication](/developers/guides/authentication) | Customer token flow,
    OAuth2, anonymous access |

    | [Availability & Booking Search](/developers/guides/availability) | Search
    open slots, filter by service and resource |

    | [Customer Booking
    Lifecycle](/developers/guides/customer/booking-lifecycle) | View, modify,
    and cancel bookings |

    | [Order & Checkout Flow](/developers/guides/customer/checkout) | Cart,
    checkout steps, payment |

    | [Plans & Subscriptions](/developers/guides/customer/plans-subscriptions) |
    Membership plans and recurring billing |

    | [Communities & Access Control](/developers/guides/customer/communities) |
    Community membership and access gates |

    | [Waitlist](/developers/guides/customer/waitlist) | Join and manage
    waitlists |


    ---


    ## Base URLs


    | Environment | URL |

    |---|---|

    | Production | `https://b.anny.co` |

    | Gov-Cloud | `https://b.anny.eu` |
  termsOfService: https://anny.co/terms-of-use
  x-logo:
    url: https://cdn.anny.co/cms/anny_logo_main_colour_blue_4865e76654.svg
    altText: anny logo
    href: https://anny.co
servers:
  - url: https://b.anny.co
    description: Production
  - url: https://b.anny.eu
    description: Gov-Cloud
security: []
tags:
  - name: Account Passes
  - name: Account Skills
  - name: Addresses
  - name: Availability
  - name: Booking Bundles
  - name: Booking Passes
  - name: Booking Quota Grants
  - name: Bookings
  - name: Communities
  - name: Community Accounts
  - name: Community Invites
  - name: Customer Accounts
  - name: Favorites
  - name: Orders
  - name: Organizations
  - name: Plan Subscriptions
  - name: Properties
  - name: Queues
  - name: Queue Tickets
  - name: Resources
  - name: Services
  - name: Waitlist
paths:
  /api/v1/resources/{resource_slug}/children:
    parameters:
      - schema:
          type: string
        name: resource_slug
        in: path
        required: true
    get:
      tags:
        - Resources
      summary: Get resource childrens for a given resource
      description: >-
        For a full list of query params, please see
        /organizations/{organization_slug}/resources.
      operationId: get-resource-record-children
      parameters:
        - schema:
            type: boolean
          in: query
          name: filter[exclude_hidden]
          required: true
          description: Set to false
        - schema:
            type: boolean
          in: query
          name: filter[exclude_child_resources]
          description: Set to false
          required: true
      responses:
        '200':
          description: OK
          content:
            application/vnd.api+json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/resources.v1'
              examples:
                example-1:
                  value:
                    data:
                      - type: resources
                        id: '22231'
                        attributes:
                          slug: HlYe29LbPSGyOwsefgXIgtm1tmbnty
                          name: Fred Beck
                          description: null
                          plain_description: ''
                          availabilityMode: null
                          continuous: true
                          color: null
                          auto_accept_bookings: true
                          timezone: Europe/Berlin
                          quantity: 1
                          staggered_quantity: null
                          max_booking_quantity: 1
                          has_children: false
                          available_from: null
                          available_to: null
                        links:
                          self: https://b.anny.co/api/v1/resources/22231
                        meta:
                          is_available: null
                          booking_count: null
                          number_available: null
                          minimal_service:
                            name: 'Coaching: Leadership - Empower Your Employees'
                            currency: EUR
                            has_flexible_duration: false
                            uncharged_duration: 0
                            min_duration: 240
                            min_price_max_duration: 240
                            min_duration_total: 249
                            starting_fee: 0
                            calculation_interval: 240
                            price: 249
                          service_list: 'Coaching: Leadership - Empower Your Employees'
                          services_count: 0
                          settings:
                            showAvailabilityCalendar: true
                            showAvailabilityCount: true
                            checkout:
                              customerCanPickChildren: true
                              requiresLogin: false
                              requiresLoginReason: null
                              verifyGuestEmail: false
                            checkIn:
                              isEnabled: false
                            selfCheckIn:
                              isEnabled: false
                              disabledUntil: 15
                              geoCheckEnabled: true
                              geoCheckMaxDelta: 997
                              allowedOverrunTime: 60
                          meta_settings:
                            showAvailabilityCalendar: true
                            showAvailabilityCount: true
                            checkout:
                              customerCanPickChildren: true
                              requiresLogin: false
                              requiresLoginReason: null
                              verifyGuestEmail: false
                            checkIn:
                              isEnabled: false
                            selfCheckIn:
                              isEnabled: false
                              disabledUntil: 15
                              geoCheckEnabled: true
                              geoCheckMaxDelta: 997
                              allowedOverrunTime: 60
                          zoom: false
                      - type: resources
                        id: '22232'
                        attributes:
                          slug: airLK81OPAI6mzwPE6CmSlNSUjcDJy
                          name: Heinrich Simmon
                          description: null
                          plain_description: ''
                          availabilityMode: null
                          continuous: true
                          color: null
                          auto_accept_bookings: true
                          timezone: Europe/Berlin
                          quantity: 1
                          staggered_quantity: null
                          max_booking_quantity: 1
                          has_children: false
                          available_from: null
                          available_to: null
                        links:
                          self: https://b.anny.co/api/v1/resources/22232
                        meta:
                          is_available: null
                          booking_count: null
                          number_available: null
                          minimal_service:
                            name: 'Coaching: Leadership - Empower Your Employees'
                            currency: EUR
                            has_flexible_duration: false
                            uncharged_duration: 0
                            min_duration: 240
                            min_price_max_duration: 240
                            min_duration_total: 249
                            starting_fee: 0
                            calculation_interval: 240
                            price: 249
                          service_list: 'Coaching: Leadership - Empower Your Employees'
                          services_count: 0
                          settings:
                            showAvailabilityCalendar: true
                            showAvailabilityCount: true
                            checkout:
                              customerCanPickChildren: true
                              requiresLogin: false
                              requiresLoginReason: null
                              verifyGuestEmail: false
                            checkIn:
                              isEnabled: false
                            selfCheckIn:
                              isEnabled: false
                              disabledUntil: 15
                              geoCheckEnabled: true
                              geoCheckMaxDelta: 997
                              allowedOverrunTime: 60
                          meta_settings:
                            showAvailabilityCalendar: true
                            showAvailabilityCount: true
                            checkout:
                              customerCanPickChildren: true
                              requiresLogin: false
                              requiresLoginReason: null
                              verifyGuestEmail: false
                            checkIn:
                              isEnabled: false
                            selfCheckIn:
                              isEnabled: false
                              disabledUntil: 15
                              geoCheckEnabled: true
                              geoCheckMaxDelta: 997
                              allowedOverrunTime: 60
                          zoom: false
                      - type: resources
                        id: '22233'
                        attributes:
                          slug: 6N0sHUrQyfEfDS1ANXNsD05cn3OPxR
                          name: Corina Abt
                          description: null
                          plain_description: ''
                          availabilityMode: null
                          continuous: true
                          color: null
                          auto_accept_bookings: true
                          timezone: Europe/Berlin
                          quantity: 1
                          staggered_quantity: null
                          max_booking_quantity: 1
                          has_children: false
                          available_from: null
                          available_to: null
                        links:
                          self: https://b.anny.co/api/v1/resources/22233
                        meta:
                          is_available: null
                          booking_count: null
                          number_available: null
                          minimal_service:
                            name: 'Coaching: Leadership - Empower Your Employees'
                            currency: EUR
                            has_flexible_duration: false
                            uncharged_duration: 0
                            min_duration: 240
                            min_price_max_duration: 240
                            min_duration_total: 249
                            starting_fee: 0
                            calculation_interval: 240
                            price: 249
                          service_list: 'Coaching: Leadership - Empower Your Employees'
                          services_count: 0
                          settings:
                            showAvailabilityCalendar: true
                            showAvailabilityCount: true
                            checkout:
                              customerCanPickChildren: true
                              requiresLogin: false
                              requiresLoginReason: null
                              verifyGuestEmail: false
                            checkIn:
                              isEnabled: false
                            selfCheckIn:
                              isEnabled: false
                              disabledUntil: 15
                              geoCheckEnabled: true
                              geoCheckMaxDelta: 997
                              allowedOverrunTime: 60
                          meta_settings:
                            showAvailabilityCalendar: true
                            showAvailabilityCount: true
                            checkout:
                              customerCanPickChildren: true
                              requiresLogin: false
                              requiresLoginReason: null
                              verifyGuestEmail: false
                            checkIn:
                              isEnabled: false
                            selfCheckIn:
                              isEnabled: false
                              disabledUntil: 15
                              geoCheckEnabled: true
                              geoCheckMaxDelta: 997
                              allowedOverrunTime: 60
                          zoom: false
        '404':
          description: Not Found
components:
  schemas:
    resources.v1:
      $schema: https://json-schema.org/draft/2020-12/schema
      x-version: 1.1.0
      title: Resource
      type: object
      description: >-
        A bookable resource (room, person, equipment, etc.) organized in a
        nested tree structure.
      x-tags:
        - Models
      properties:
        id:
          type: string
        type:
          type: string
          default: resources
        attributes:
          type: object
          properties:
            name:
              type: string
              description: Resource name
            local_name:
              type: string
              description: Localized name
            slug:
              type: string
              description: URL-friendly slug
            description:
              type:
                - string
                - 'null'
              description: Rich text description
            plain_description:
              type:
                - string
                - 'null'
              description: Plain text description
            email_info:
              type:
                - string
                - 'null'
              description: Email info text
              x-visibility: admin
            color:
              type:
                - string
                - 'null'
              description: Display color hex code
            color_map:
              type: object
              description: Color palette map
            icon:
              type:
                - string
                - 'null'
              description: Icon identifier
            quantity:
              type: integer
              description: Number of parallel bookable slots
            max_booking_quantity:
              type: integer
              description: Max bookings per order
            max_sequence_quantity:
              type: integer
              description: Max slots in a sequence
            exclusive_slots:
              type: boolean
              description: Whether slots are exclusive
            timezone:
              type: string
              description: IANA timezone
            latitude:
              type:
                - number
                - 'null'
              description: Latitude coordinate
            longitude:
              type:
                - number
                - 'null'
              description: Longitude coordinate
            availability_mode:
              type: string
              description: How availability is calculated
            online_resource:
              type: boolean
              description: Whether this is a virtual resource
            bookings_enabled:
              type: boolean
              description: Whether bookings are enabled
            requires_quota:
              type: boolean
              description: Whether a quota is required to book
            level:
              type: integer
              readOnly: true
              description: Nesting level in resource tree
            archived:
              type: boolean
              description: Whether the resource is archived
              x-visibility: admin
            live:
              type: boolean
              description: Whether the resource is live/published
              x-visibility: admin
            public_listing:
              type: boolean
              description: Listed in public directory
              x-visibility: admin
            hidden:
              type: boolean
              description: Whether hidden from listing
              x-visibility: admin
            display_public_description:
              type: boolean
              description: Show description publicly
              x-visibility: admin
            email:
              type:
                - string
                - 'null'
              description: Contact email
              x-visibility: admin
            preview_token:
              type: string
              description: Token for preview access
              x-visibility: admin
            settings:
              type: object
              description: Resource settings
              x-visibility: admin
            created_at:
              type: string
              description: Creation timestamp
              x-visibility: admin
        links:
          $ref: '#/components/schemas/links.v1'
        relationships:
          type: object
          properties:
            organization:
              type: object
              description: Owning organization
              properties:
                data:
                  type:
                    - object
                    - 'null'
                  properties:
                    type:
                      type: string
                    id:
                      type: string
                links:
                  $ref: '#/components/schemas/links.v1'
            parent:
              type: object
              description: Parent resource in tree
              properties:
                data:
                  type:
                    - object
                    - 'null'
                  properties:
                    type:
                      type: string
                    id:
                      type: string
                links:
                  $ref: '#/components/schemas/links.v1'
            children:
              type: object
              description: Child resources
              properties:
                data:
                  type: array
                  items:
                    type: object
                    properties:
                      type:
                        type: string
                      id:
                        type: string
                links:
                  $ref: '#/components/schemas/links.v1'
            category:
              type: object
              description: Resource category
              properties:
                data:
                  type:
                    - object
                    - 'null'
                  properties:
                    type:
                      type: string
                    id:
                      type: string
                links:
                  $ref: '#/components/schemas/links.v1'
            location:
              type: object
              description: Location resource
              properties:
                data:
                  type:
                    - object
                    - 'null'
                  properties:
                    type:
                      type: string
                    id:
                      type: string
                links:
                  $ref: '#/components/schemas/links.v1'
            cover_image:
              type: object
              description: Cover image
              properties:
                data:
                  type:
                    - object
                    - 'null'
                  properties:
                    type:
                      type: string
                    id:
                      type: string
                links:
                  $ref: '#/components/schemas/links.v1'
            logo_image:
              type: object
              description: Logo image
              properties:
                data:
                  type:
                    - object
                    - 'null'
                  properties:
                    type:
                      type: string
                    id:
                      type: string
                links:
                  $ref: '#/components/schemas/links.v1'
            gallery_images:
              type: object
              description: Gallery images
              properties:
                data:
                  type: array
                  items:
                    type: object
                    properties:
                      type:
                        type: string
                      id:
                        type: string
                links:
                  $ref: '#/components/schemas/links.v1'
            services:
              type: object
              description: Available services
              properties:
                data:
                  type: array
                  items:
                    type: object
                    properties:
                      type:
                        type: string
                      id:
                        type: string
                links:
                  $ref: '#/components/schemas/links.v1'
            schedules:
              type: object
              description: Schedules
              properties:
                data:
                  type: array
                  items:
                    type: object
                    properties:
                      type:
                        type: string
                      id:
                        type: string
                links:
                  $ref: '#/components/schemas/links.v1'
            resource_groups:
              type: object
              description: Group memberships
              properties:
                data:
                  type: array
                  items:
                    type: object
                    properties:
                      type:
                        type: string
                      id:
                        type: string
                links:
                  $ref: '#/components/schemas/links.v1'
            resource_properties:
              type: object
              description: Property assignments
              properties:
                data:
                  type: array
                  items:
                    type: object
                    properties:
                      type:
                        type: string
                      id:
                        type: string
                links:
                  $ref: '#/components/schemas/links.v1'
            featured_properties:
              type: object
              description: Featured properties
              properties:
                data:
                  type: array
                  items:
                    type: object
                    properties:
                      type:
                        type: string
                      id:
                        type: string
                links:
                  $ref: '#/components/schemas/links.v1'
            external_calendars:
              type: object
              description: Synced external calendars
              properties:
                data:
                  type: array
                  items:
                    type: object
                    properties:
                      type:
                        type: string
                      id:
                        type: string
                links:
                  $ref: '#/components/schemas/links.v1'
            communities:
              type: object
              description: Associated communities
              properties:
                data:
                  type: array
                  items:
                    type: object
                    properties:
                      type:
                        type: string
                      id:
                        type: string
                links:
                  $ref: '#/components/schemas/links.v1'
            files:
              type: object
              description: Attached files
              properties:
                data:
                  type: array
                  items:
                    type: object
                    properties:
                      type:
                        type: string
                      id:
                        type: string
                links:
                  $ref: '#/components/schemas/links.v1'
            resource_maps:
              type: object
              description: Map assignments
              properties:
                data:
                  type: array
                  items:
                    type: object
                    properties:
                      type:
                        type: string
                      id:
                        type: string
                links:
                  $ref: '#/components/schemas/links.v1'
        meta:
          type: object
          properties:
            minimal_service:
              type: object
              description: Minimal service data for display
    links.v1:
      $schema: https://json-schema.org/draft/2020-12/schema
      x-version: 1.1.0
      title: ResourceLinks
      x-tags:
        - Models
      type: object
      description: JSON:API self-link object
      properties:
        self:
          type: string
          format: uri

````