Lists
Read and query lists in notebooks and maintain their entries, fields by label.
Add a list entry
POST/lists/entries
Scope projects:writePermission notebooks:write
Target by listId or listQuery (fuzzy title; ambiguous → 400 with candidates). Values by field label or one-line text (👍/👎, #tag, @option, dates, 12,90€). The answer lists similar existing entries.
Request body application/json
-
listIdstringList id.
-
listQuerystringList title (fuzzy).
-
valuesobjectField label → value.
-
textstringOne-line capture text.
-
timeZonestringIANA zone for relative dates.
Response 200
Success.
Errors
- 400
invalid_request: malformed body, missing field, invalid cursor. - 401
unauthorized: missing, invalid or revoked token. - 403
forbiddenor a plan code (plan-api-read-only,plan-api-disabled,plan-webhooks): missing scope or permission, or the plan does not allow it. - 404
not_found. - 429
rate_limitedordaily_write_limit.
curl -X POST "https://api.getprojectflow.com/v1/lists/entries" \
-H "Authorization: Bearer pfat_YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"listId": "list_1",
"listQuery": "listQuery",
"text": "Looks good to me.",
"timeZone": "timeZone"
}'const res = await fetch('https://api.getprojectflow.com/v1/lists/entries', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.PROJECTFLOW_TOKEN}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
listId: 'list_1',
listQuery: 'listQuery',
text: 'Looks good to me.',
timeZone: 'timeZone'
}),
});
const data = await res.json();import os
import requests
res = requests.post(
"https://api.getprojectflow.com/v1/lists/entries",
headers={
"Authorization": f"Bearer {os.environ['PROJECTFLOW_TOKEN']}",
},
json={
"listId": "list_1",
"listQuery": "listQuery",
"text": "Looks good to me.",
"timeZone": "timeZone"
},
)
data = res.json()var request = URLRequest(url: URL(string: "https://api.getprojectflow.com/v1/lists/entries")!)
request.httpMethod = "POST"
request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
request.setValue("application/json", forHTTPHeaderField: "Content-Type")
let body: [String: Any] = [
"listId": "list_1",
"listQuery": "listQuery",
"text": "Looks good to me.",
"timeZone": "timeZone",
]
request.httpBody = try JSONSerialization.data(withJSONObject: body)
let (data, response) = try await URLSession.shared.data(for: request)
{
"success": false
}
Get a list
GET/lists/{listId}
Scope readPermission notebooks:read
Fields, saved views, pattern card and the first 50 entries (values by field label).
Path parameters
-
listIdstringrequired
Response 200
Success.
Errors
- 400
invalid_request: malformed body, missing field, invalid cursor. - 401
unauthorized: missing, invalid or revoked token. - 403
forbiddenor a plan code (plan-api-read-only,plan-api-disabled,plan-webhooks): missing scope or permission, or the plan does not allow it. - 404
not_found. - 429
rate_limitedordaily_write_limit.
curl "https://api.getprojectflow.com/v1/lists/LIST_ID" \
-H "Authorization: Bearer pfat_YOUR_TOKEN"const res = await fetch('https://api.getprojectflow.com/v1/lists/LIST_ID', {
headers: {
Authorization: `Bearer ${process.env.PROJECTFLOW_TOKEN}`,
},
});
const data = await res.json();import os
import requests
res = requests.get(
"https://api.getprojectflow.com/v1/lists/LIST_ID",
headers={
"Authorization": f"Bearer {os.environ['PROJECTFLOW_TOKEN']}",
},
)
data = res.json()var request = URLRequest(url: URL(string: "https://api.getprojectflow.com/v1/lists/LIST_ID")!)
request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
let (data, response) = try await URLSession.shared.data(for: request)
{
"success": false
}
Query a list
POST/lists/{listId}/query
Scope readPermission notebooks:read
Filter (by field label: equals, notEquals, contains, gt, lt, answered, notAnswered, ratingAtLeast 0..1), saved view by name, full-text and sort; limit ≤ 200.
Path parameters
-
listIdstringrequired
Request body application/json
-
viewstringSaved view name.
-
filterarray of objectRules { field, op, value }.
-
matchstringall | any
-
textstringSearch text.
-
sortobject{ field, dir }
-
limitintegerDefault 50, max 200.
Response 200
Success.
Errors
- 400
invalid_request: malformed body, missing field, invalid cursor. - 401
unauthorized: missing, invalid or revoked token. - 403
forbiddenor a plan code (plan-api-read-only,plan-api-disabled,plan-webhooks): missing scope or permission, or the plan does not allow it. - 404
not_found. - 429
rate_limitedordaily_write_limit.
curl -X POST "https://api.getprojectflow.com/v1/lists/LIST_ID/query" \
-H "Authorization: Bearer pfat_YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"view": "view",
"match": "match",
"text": "Looks good to me.",
"limit": 1
}'const res = await fetch('https://api.getprojectflow.com/v1/lists/LIST_ID/query', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.PROJECTFLOW_TOKEN}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
view: 'view',
match: 'match',
text: 'Looks good to me.',
limit: 1
}),
});
const data = await res.json();import os
import requests
res = requests.post(
"https://api.getprojectflow.com/v1/lists/LIST_ID/query",
headers={
"Authorization": f"Bearer {os.environ['PROJECTFLOW_TOKEN']}",
},
json={
"view": "view",
"match": "match",
"text": "Looks good to me.",
"limit": 1
},
)
data = res.json()var request = URLRequest(url: URL(string: "https://api.getprojectflow.com/v1/lists/LIST_ID/query")!)
request.httpMethod = "POST"
request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
request.setValue("application/json", forHTTPHeaderField: "Content-Type")
let body: [String: Any] = [
"view": "view",
"match": "match",
"text": "Looks good to me.",
"limit": 1,
]
request.httpBody = try JSONSerialization.data(withJSONObject: body)
let (data, response) = try await URLSession.shared.data(for: request)
{
"success": false
}
Get a list entry
GET/lists/{listId}/entries/{entryId}
Scope readPermission notebooks:read
One entry with values by field label.
Path parameters
-
listIdstringrequired -
entryIdstringrequired
Response 200
Success.
Errors
- 400
invalid_request: malformed body, missing field, invalid cursor. - 401
unauthorized: missing, invalid or revoked token. - 403
forbiddenor a plan code (plan-api-read-only,plan-api-disabled,plan-webhooks): missing scope or permission, or the plan does not allow it. - 404
not_found. - 429
rate_limitedordaily_write_limit.
curl "https://api.getprojectflow.com/v1/lists/LIST_ID/entries/ENTRY_ID" \
-H "Authorization: Bearer pfat_YOUR_TOKEN"const res = await fetch('https://api.getprojectflow.com/v1/lists/LIST_ID/entries/ENTRY_ID', {
headers: {
Authorization: `Bearer ${process.env.PROJECTFLOW_TOKEN}`,
},
});
const data = await res.json();import os
import requests
res = requests.get(
"https://api.getprojectflow.com/v1/lists/LIST_ID/entries/ENTRY_ID",
headers={
"Authorization": f"Bearer {os.environ['PROJECTFLOW_TOKEN']}",
},
)
data = res.json()var request = URLRequest(url: URL(string: "https://api.getprojectflow.com/v1/lists/LIST_ID/entries/ENTRY_ID")!)
request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
let (data, response) = try await URLSession.shared.data(for: request)
{
"success": false
}
Update a list entry
PATCH/lists/{listId}/entries/{entryId}
Scope projects:writePermission notebooks:write
Only the given labels change; clear empties labels; checked ticks the first checkbox field. Entries cannot be deleted through the API.
Path parameters
-
listIdstringrequired -
entryIdstringrequired
Request body application/json
-
valuesobjectField label → value.
-
cleararray of objectLabels to empty.
-
checkedbooleanTick/untick.
Response 200
Success.
Errors
- 400
invalid_request: malformed body, missing field, invalid cursor. - 401
unauthorized: missing, invalid or revoked token. - 403
forbiddenor a plan code (plan-api-read-only,plan-api-disabled,plan-webhooks): missing scope or permission, or the plan does not allow it. - 404
not_found. - 429
rate_limitedordaily_write_limit.
curl -X PATCH "https://api.getprojectflow.com/v1/lists/LIST_ID/entries/ENTRY_ID" \
-H "Authorization: Bearer pfat_YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"checked": false
}'const res = await fetch('https://api.getprojectflow.com/v1/lists/LIST_ID/entries/ENTRY_ID', {
method: 'PATCH',
headers: {
Authorization: `Bearer ${process.env.PROJECTFLOW_TOKEN}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
checked: false
}),
});
const data = await res.json();import os
import requests
res = requests.patch(
"https://api.getprojectflow.com/v1/lists/LIST_ID/entries/ENTRY_ID",
headers={
"Authorization": f"Bearer {os.environ['PROJECTFLOW_TOKEN']}",
},
json={
"checked": False
},
)
data = res.json()var request = URLRequest(url: URL(string: "https://api.getprojectflow.com/v1/lists/LIST_ID/entries/ENTRY_ID")!)
request.httpMethod = "PATCH"
request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
request.setValue("application/json", forHTTPHeaderField: "Content-Type")
let body: [String: Any] = [
"checked": false,
]
request.httpBody = try JSONSerialization.data(withJSONObject: body)
let (data, response) = try await URLSession.shared.data(for: request)
{
"success": false
}