Skip to main content
GET
List coaching catalogue directories

Authorizations

Authorization
string
header
required

Supabase JWT — Authorization: Bearer <token>.

Query Parameters

merchant_id
string<uuid>

Optional merchant to scope to. Admins and sub-merchant operators only; other callers always use their token's merchant.

Example:

"28106cba-1c27-4e53-b149-32113e5e8e31"

status
enum<string>

Filter by lifecycle status. Omit to include every status you can see (deleted directories are never returned).

Available options:
draft,
active,
archived
Example:

"active"

visibility
enum<string>

Filter by visibility.

Available options:
public,
merchant_public,
merchant_invite,
merchant_unlisted
Example:

"merchant_public"

mojito_language_code
string

Filter by the directory language (a platform-languages.json code, e.g. en).

filter_text
string

Case-insensitive search on the directory id, name and description.

parent_tag
string

Return only the directories nested directly under this one (its tags_sub), in the parent's own order. Combine with the other filters to narrow further.

include_public
enum<string>
default:true

Include the platform-wide public directories shared across merchants.

Available options:
true,
false
Example:

"true"

limit
integer
default:50

Maximum number of records to return (1–1000).

Required range: 1 <= x <= 1000
Example:

50

offset
integer | null
default:0

Number of records to skip from the start of the result set.

Required range: x >= 0
Example:

0

Response

A page of catalogue directories with pagination metadata.

data
object[]
required

The catalogue directories for this page, ordered by id.

pagination
object
required