List My Templates

List templates the current user created in the current workspace.

Scoped on both (workspace_id, created_by) so when workspaces become multi-user this endpoint keeps returning only the caller’s own rows — other workspace members’ public/starter templates surface via the gallery endpoint (GET /api/v1/templates) instead.

Authentication

AuthorizationBearer
Clerk JWT token

Headers

X-Workspace-Idstring or nullOptional

Query parameters

categorylist of enums or nullOptional

Repeat for OR, e.g. ?category=media&category=creative

Allowed values:
searchstring or nullOptional<=100 characters
sortenumOptionalDefaults to recent
Allowed values:
offsetintegerOptional>=0Defaults to 0
limitintegerOptional1-100Defaults to 20
favorites_onlybooleanOptionalDefaults to false

Response

Successful Response
datalist of objects
metaobject
paginationobject

Errors

422
Unprocessable Entity Error