Skip to main content
GET
List master profile directory (offset pages)

Authorizations

Authorization
string
header
required

Authorization: Bearer <token>. Token types resolve to the same scoped credential: a user-generated API key (casa_…, from Account settings — recommended for machines and MCP clients), a WorkOS AuthKit session JWT (the web app; org and role come from verified token claims), or a static token. API keys are group-scoped, optionally pinned to one property at creation. MCP OAuth connector tokens authenticate the MCP server only and are rejected on these REST routes.

Headers

X-Property-Id
string<uuid>

Optional single-property drill-down. When set, narrows the request to this property; it must belong to the caller's group, else 403. A property-pinned API key is already narrowed and ignores this header.

Query Parameters

q
string

Free-text match on master name, email, or phone (masters only).

offset
integer
default:0

Zero-based row offset (clamped to 50,000; deep offsets degrade).

Required range: x >= 0
sort_by
enum<string>
default:updated_at

Allowlisted sort column.

Available options:
updated_at,
name,
email,
profile_count
sort_dir
enum<string>
default:desc
Available options:
asc,
desc
include_total
enum<string>

When true/1, include total_count. Defaults to true when offset is 0, false otherwise.

Available options:
0,
1,
true,
false
limit
integer
default:100

Page size — rows returned per call (1–500). This is NOT a cap on the total dataset: follow next_cursor to retrieve every matching row.

Required range: 1 <= x <= 500

Response

Directory page with optional total_count.

data
object[]
required
has_more
boolean
required
next_offset
integer | null
required

Offset for the next page, or null when exhausted.

total_count
integer

Full filtered directory size (when counted).