Warden API
    Warden External API
    • Warden External API
    • Auth
      • Credential Refresh
        GET
    • Booking Engine
      • Get Property Listings
        GET
      • Get Bed Availability
        POST
      • Get Room Type Listings
        GET
      • Get Plan Options for Channel and Room Types
        POST
      • Generate Plan for Channel and Room Types
        POST
      • Create Booking
        PUT
    • API
      • Get Company Details
        GET
      • Get Channels
        GET
      • Get Bookings
        GET
      • Get Residents
        GET
      • Get Payments
        GET
      • Get Transactions
        GET

    API

    The API section provides a set of data retrieval endpoints for reading and syncing Warden data with your own systems. Use these to fetch companies, channels, bookings, residents, payments, and transactions.

    Pagination#

    All endpoints in this section support pagination via the following query parameters:
    ParameterTypeDefaultDescription
    pagenumber0Page number, zero-indexed (i.e. first page is page=0)
    per_pagenumber50Number of records per page (max: 10000)

    Filtering Strategy#

    Filters are passed as a single q query parameter using a structured syntax. This allows you to combine multiple filters in one request.

    Syntax#

    q=<filterKey><operator><value>

    Combining Multiple Filters#

    Use $$ as a separator to combine multiple filters in a single q parameter:
    q=<filter1>$$<filter2>$$<filter3>

    Operators#

    OperatorMeaningBest Used For
    :=Exact matchIDs, enums, booleans
    ~=Contains (partial match)Names, phone numbers, text search
    >=Greater than or equalDates, numeric ranges
    <=Less than or equalDates, numeric ranges
    !=Not equalExcluding specific values

    Examples#

    # Exact match on a single field
    GET /api/v1/external-app/get-bookings?q=propertyId:=412
    
    # Partial text search
    GET /api/v1/external-app/get-residents?q=searchText~=John
    
    # Date range filter
    GET /api/v1/external-app/get-payments?q=dueDate>=2026-07-01$$dueDate<=2026-07-31
    
    # Combine different filters
    GET /api/v1/external-app/get-bookings?q=propertyId:=412$$status:=Pending$$createdAt>=2026-01-01

    searchText Filter#

    Most endpoints support a searchText filter key that performs a broad search across multiple fields at once — such as name, phone, email, room name, and ID. This is the quickest way to look up a specific record without knowing the exact field to filter on.
    # Search across all supported fields
    GET /api/v1/external-app/get-residents?q=searchText~=+9198801

    Sorting#

    All endpoints support sorting via the following query parameters:
    ParameterTypeDescription
    sortstringThe field to sort by (e.g. createdAt, updatedAt). Supported sort keys vary per endpoint — refer to each endpoint's documentation
    orderstringSort direction: asc or desc (default: desc)
    Modified at 2026-05-03 12:44:00
    Previous
    Create Booking
    Next
    Get Company Details
    Built with