curl --request GET \
--url https://api.xenia.team/api/v1/ops/workspaces/{workspaceId}/folders \
--header 'x-client-key: <api-key>' \
--header 'x-client-secret: <api-key>'import requests
url = "https://api.xenia.team/api/v1/ops/workspaces/{workspaceId}/folders"
headers = {
"x-client-key": "<api-key>",
"x-client-secret": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'x-client-key': '<api-key>', 'x-client-secret': '<api-key>'}
};
fetch('https://api.xenia.team/api/v1/ops/workspaces/{workspaceId}/folders', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.xenia.team/api/v1/ops/workspaces/{workspaceId}/folders",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-client-key: <api-key>",
"x-client-secret: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.xenia.team/api/v1/ops/workspaces/{workspaceId}/folders"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-client-key", "<api-key>")
req.Header.Add("x-client-secret", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.xenia.team/api/v1/ops/workspaces/{workspaceId}/folders")
.header("x-client-key", "<api-key>")
.header("x-client-secret", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.xenia.team/api/v1/ops/workspaces/{workspaceId}/folders")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-client-key"] = '<api-key>'
request["x-client-secret"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "5e8a7c21-3b94-4d1f-8c6e-0a2b9f4d7e13",
"WorkspaceId": "cb363f7e-c52a-4478-911d-f6a6f791090e",
"title": "Opening Procedures",
"titleSnippetId": null,
"meta": {},
"CreatedBy": "37d98201-9f3a-41fd-89b3-3be457c3f7ba",
"UpdatedBy": "37d98201-9f3a-41fd-89b3-3be457c3f7ba",
"archivedAt": null,
"ParentId": "a41f2c6d-9e07-4b38-8d15-6c3e0f7b2a94",
"createdAt": "2026-11-18T10:12:44.210Z",
"updatedAt": "2026-11-18T10:12:44.210Z",
"deletedAt": null,
"Creator": {
"id": "37d98201-9f3a-41fd-89b3-3be457c3f7ba",
"firstName": "Dana",
"lastName": "Reyes",
"fullName": "Dana Reyes"
},
"path": [
{
"id": "a41f2c6d-9e07-4b38-8d15-6c3e0f7b2a94",
"title": "Store Operations",
"parentId": null
}
],
"itemsCount": 4
}
],
"meta": {}
}List Template Folders
Returns the workspace’s template folders that the key’s user can see. Not paginated: one call returns all matching folders. Archived folders are hidden unless you ask for them.
The key acts as its user (the key’s default user, or x-client-user). A folder is returned only if that user created it, or if it (or any folder nested under it) holds a template the user can see under the same rules as List Templates.
Use it to resolve WorkspaceChecklist.FolderId on List Templates rows to a folder name, or pass a folder id as that endpoint’s folderId to list the templates in it.
Boolean query parameters accept true/false (or 1/0); any other value is read as false.
curl --request GET \
--url https://api.xenia.team/api/v1/ops/workspaces/{workspaceId}/folders \
--header 'x-client-key: <api-key>' \
--header 'x-client-secret: <api-key>'import requests
url = "https://api.xenia.team/api/v1/ops/workspaces/{workspaceId}/folders"
headers = {
"x-client-key": "<api-key>",
"x-client-secret": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'x-client-key': '<api-key>', 'x-client-secret': '<api-key>'}
};
fetch('https://api.xenia.team/api/v1/ops/workspaces/{workspaceId}/folders', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.xenia.team/api/v1/ops/workspaces/{workspaceId}/folders",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-client-key: <api-key>",
"x-client-secret: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.xenia.team/api/v1/ops/workspaces/{workspaceId}/folders"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-client-key", "<api-key>")
req.Header.Add("x-client-secret", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.xenia.team/api/v1/ops/workspaces/{workspaceId}/folders")
.header("x-client-key", "<api-key>")
.header("x-client-secret", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.xenia.team/api/v1/ops/workspaces/{workspaceId}/folders")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-client-key"] = '<api-key>'
request["x-client-secret"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "5e8a7c21-3b94-4d1f-8c6e-0a2b9f4d7e13",
"WorkspaceId": "cb363f7e-c52a-4478-911d-f6a6f791090e",
"title": "Opening Procedures",
"titleSnippetId": null,
"meta": {},
"CreatedBy": "37d98201-9f3a-41fd-89b3-3be457c3f7ba",
"UpdatedBy": "37d98201-9f3a-41fd-89b3-3be457c3f7ba",
"archivedAt": null,
"ParentId": "a41f2c6d-9e07-4b38-8d15-6c3e0f7b2a94",
"createdAt": "2026-11-18T10:12:44.210Z",
"updatedAt": "2026-11-18T10:12:44.210Z",
"deletedAt": null,
"Creator": {
"id": "37d98201-9f3a-41fd-89b3-3be457c3f7ba",
"firstName": "Dana",
"lastName": "Reyes",
"fullName": "Dana Reyes"
},
"path": [
{
"id": "a41f2c6d-9e07-4b38-8d15-6c3e0f7b2a94",
"title": "Store Operations",
"parentId": null
}
],
"itemsCount": 4
}
],
"meta": {}
}Path Parameters
Query Parameters
Response
Folders retrieved. meta is empty: the list is not paginated.
Each row is the folder plus two computed fields: path lists the folder's ancestors from the top level down (empty for a top-level folder; the folder itself is not included), and itemsCount is the number of templates the user can see directly in the folder plus the number of visible folders directly inside it. ParentId is null for a top-level folder.