Skip to main content
GET
List Facilities

List Facilities

Retrieve a paginated list of facilities in your organization with support for filtering by name, country, type, and status.

Request

Headers

string
required
Your API key for authenticationExample: sk_live_1234567890abcdef
string
required
Your organization UUIDExample: a8315ef3-dd50-43f8-b7ce-d839e68d51fa

Query Parameters

string
Filter facilities by name (partial match, case-insensitive)Example: "Madrid"
string
Filter by ISO country codeExample: "ES"
string
Filter by facility typeExample: "office"
array[string]
Filter by facility statusAvailable values: active, archivedExample: status[]=active
string
Compound filter expression for advanced filtering. Format: field:value with | for OR.Example: name:Madrid|name:Barcelona
integer
default:"1"
Page number for pagination
integer
default:"10"
Number of items per page (max 100)

Response

array[object]
Array of facility objects
integer
Total number of facilities matching the filter
integer
Current page number
integer
Number of items per page

Example

Successful Response

Common Errors

401 Unauthorized

Cause: Missing or invalid API key

403 Forbidden

Cause: The authenticated user is not a member of the organization

Create Facility

Add a new facility

Get Facility

Retrieve a single facility