Fortress API Reference
Welcome to the Fortress API reference documentation. This API provides comprehensive access to manage properties, units, tenants, and all related operations in the Fortress platform.
Response Headers
Pagination Information
For endpoints that return lists of resources, we include the x-total-count header in the response. This header contains the total number of records that match your query, which is particularly useful for pagination.
Example response headers:
This means there are 157 total records matching your query criteria, regardless of the page size or current page you’re viewing.
Using Total Count
The x-total-count header is useful for:
- Implementing pagination UI (e.g., showing “Page 1 of 10”)
- Determining if there are more records to fetch
- Showing total result counts to users
Common Query Parameters
Pagination
page: The page number to retrieve (starts at 1)limit: Number of items per page
Example:
Filtering
Use the filter parameter to narrow down results:
Sorting
Use the sort parameter to order results:
Relations
To include related data in the response, use the fields parameter with dot notation to specify the relations:
The asterisk (*) will fetch all fields from the related entity. You can also specify particular fields:
Multiple relations can be requested in the same query:
Response Formats
All API responses follow a consistent JSON format:

