Skip to main content
GET
List all Unit Types

Authorizations

Authorization
string
header
required

Bearer Token necessary to use API

Scopes

public.unit_type:read
Bearer
public.unit_type:read
OAuth2

Unit Type (Read)

Query Parameters

expand
string[]

This endpoint supports expandable responses. For more, see the documentation page.

fields
string[]

Returns only the listed fields, such as id,status,site.name. Identifiers and constant fields such as object are always returned. A field inside an expandable association also needs it in expand, unless the collapsed association returns it, such as site.id. For more, see the documentation page.

page
integer

Pagination: Page number

Required range: x >= 1
limit
integer

Pagination: Limit number of items per page.

Required range: 1 <= x <= 100
sort_by
enum<string>

Sorting by attribute. Default created_at

Available options:
created_at,
name,
updated_at
sort_direction
enum<string>

Sorting by ASC or DESC direction, case-insensitive. Default DESC

Available options:
ASC,
DESC
site_id
string[]

Filter by Site IDs. Supports multiple values separated by a comma.

status
enum<string>[]

Filter by status. Supports multiple values separated by a comma.

Available options:
bookable,
lead_capture,
hidden

Search unit types by name (fuzzy match). BETA

created_after
string<date-time>

Filters results to created after (including given date) the given ISO 8601 timestamp (e.g., 2025-01-12T15:30:00Z).

created_before
string<date-time>

Filters results to created before (excluding given date) the given ISO 8601 timestamp (e.g., 2025-01-12T15:30:00Z).

updated_after
string<date-time>

Filters results to updated after (including given date) the given ISO 8601 timestamp (e.g., 2025-01-12T15:30:00Z).

updated_before
string<date-time>

Filters results to updated before (excluding given date) the given ISO 8601 timestamp (e.g., 2025-01-12T15:30:00Z).

Response

200 - application/json

list of unit types

List of Unit Types

unit_types
object[]
required

Unit Types on this page.

meta
object
required