Skip to main content
GET
List Templates

Authorizations

x-client-key
string
header
required
x-client-secret
string
header
required

Path Parameters

workspaceId
string<uuid>
required

UUID of the workspace. Must be the workspace the API key belongs to. Only this workspace-in-path form is open to API keys.

Example:

"cb363f7e-c52a-4478-911d-f6a6f791090e"

Query Parameters

archived
boolean
default:false

true returns only archived templates. Default false (only active templates).

includeArchived
boolean
default:false

true returns active and archived templates together. Takes precedence over archived. Default false.

isPublished
boolean
default:false

true returns only published templates. false (the default) applies no publish filter.

withoutApprovals
boolean
default:false

true leaves out templates that have an approval workflow attached. Default false.

userLogsCount
boolean
default:false

true adds userLogsCount to each row: the number of that template's submissions last updated by the key's user. Default false.

folderId
string

A folder UUID returns only the templates in that folder. root returns only templates that are not in any of this workspace's folders. Any other value is ignored.

Example:

"root"

orderBy
string

Template field to sort by, for example name, createdAt or updatedAt. Two computed sorts are also accepted: lastUsedAt (most recent submission first) and mostUsed (most submissions first). Only applied when orderDirection is also sent.

Example:

"name"

orderDirection
enum<string>

ASC or DESC (lower case also accepted). Only applied together with orderBy. Any other value returns 422 Order direction must be ASC or DESC.

Available options:
ASC,
DESC,
asc,
desc

Response

Templates retrieved. meta is empty: the list is not paginated.