Saaslivery API

v1.0.0 · 1384 endpoints · 2 websockets
DELETE /totps

Disable 2FA

Body · DisableTotpapplication/json
code string · min length: 6 · max length: 9
password string · min length: 1 · max length: 128
propertyName anything
Responses
200Successful Response
DELETE /totps
1curl -X DELETE "http://localhost:8000/totps" \
2 -H "Content-Type: application/json" \
3 -d '{"code":"string","password":"string"}'
1fetch("http://localhost:8000/totps", {
2 method: "DELETE",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "code": "string",
6 "password": "string"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.delete(
4 "http://localhost:8000/totps",
5 json={"code":"string","password":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /recovery-codes

Replace recovery codes

Body · RegenerateRecoveryCodesapplication/json
code string · min length: 6 · max length: 9
required
propertyName anything
Responses
200Successful Response
POST /recovery-codes
1curl -X POST "http://localhost:8000/recovery-codes" \
2 -H "Content-Type: application/json" \
3 -d '{"code":"string"}'
1fetch("http://localhost:8000/recovery-codes", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "code": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/recovery-codes",
5 json={"code":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /totps

Verify code and enable 2FA

Body · EnableTotpapplication/json
code string · min length: 6 · max length: 6
required
propertyName anything
Responses
200Successful Response
PUT /totps
1curl -X PUT "http://localhost:8000/totps" \
2 -H "Content-Type: application/json" \
3 -d '{"code":"string"}'
1fetch("http://localhost:8000/totps", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "code": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/totps",
5 json={"code":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /ai/commands

Ask Saasie across your apps

POST /ai/commands: answer from every app the member can open, the tab's app (`app`) first.

Body · AskWorkspaceapplication/json
app string · min length: 1 · max length: 64
required
q string · min length: 1 · max length: 2000
required
tz string · max length: 64
propertyName anything
Responses
200Successful Response
POST /ai/commands
1curl -X POST "http://localhost:8000/ai/commands" \
2 -H "Content-Type: application/json" \
3 -d '{"app":"string","q":"string","tz":"string"}'
1fetch("http://localhost:8000/ai/commands", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "app": "string",
6 "q": "string",
7 "tz": "string"
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/ai/commands",
5 json={"app":"string","q":"string","tz":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /ai/matches

Pick the search result an ask meant

POST /ai/matches: Jev picks which search result the member's ask meant for one field of a draft.

Body · MatchLookupapplication/json
action string · min length: 1 · max length: 64
required
field string · min length: 1 · max length: 64
required
ask string · min length: 1 · max length: 2000
required
query string · min length: 1 · max length: 500
required
candidates array
required
propertyName anything
Responses
200Successful Response
POST /ai/matches
1curl -X POST "http://localhost:8000/ai/matches" \
2 -H "Content-Type: application/json" \
3 -d '{"action":"string","field":"string","ask":"string","query":"string","candidates":["string"]}'
1fetch("http://localhost:8000/ai/matches", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "action": "string",
6 "field": "string",
7 "ask": "string",
8 "query": "string",
9 "candidates": [
10 "string"
11 ]
12}),
13})
14 .then((res) => res.json())
15 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/ai/matches",
5 json={"action":"string","field":"string","ask":"string","query":"string","candidates":["string"]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /ai/insights

Find or rerun a Saasie insight

POST /ai/insights: the saved report that answers a question, run with the settings it asks for. With `key`, the same report runs again with the settings given, with no Jev call: a restore, or a chip changed.

Body · FindInsightapplication/json
q string · max length: 2000
context string · max length: 64
key string · min length: 1 · max length: 120
settings array
propertyName anything
Responses
200Successful Response
POST /ai/insights
1curl -X POST "http://localhost:8000/ai/insights" \
2 -H "Content-Type: application/json" \
3 -d '{"q":"string","context":"string","key":"string","settings":[{"name":"string","value":"string"}]}'
1fetch("http://localhost:8000/ai/insights", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "q": "string",
6 "context": "string",
7 "key": "string",
8 "settings": [
9 {
10 "name": "string",
11 "value": "string"
12 }
13 ]
14}),
15})
16 .then((res) => res.json())
17 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/ai/insights",
5 json={"q":"string","context":"string","key":"string","settings":[{"name":"string","value":"string"}]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /api-keys

Create API key

POST /api-keys: mint a key; the secret appears in this response only. A scoped key may start with an empty grant list: like a fresh role, it holds nothing until permissions are ticked on its detail page.

Body · CreateApiKeyapplication/json
name string · min length: 1 · max length: 100
required
full_access
scopes array
expires_at string · max length: 40
propertyName anything
Responses
200Successful Response
POST /api-keys
1curl -X POST "http://localhost:8000/api-keys" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","full_access":{},"scopes":["string"],"expires_at":"string"}'
1fetch("http://localhost:8000/api-keys", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "full_access": {},
7 "scopes": [
8 "string"
9 ],
10 "expires_at": "string"
11}),
12})
13 .then((res) => res.json())
14 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/api-keys",
5 json={"name":"string","full_access":{},"scopes":["string"],"expires_at":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /api-keys/:key_id

Update or revoke API key

PUT /api-keys/:key_id: rename, re-scope, or revoke a key.

Parameters
key_id string · path
required
Body · UpdateApiKeyapplication/json
name string · min length: 1 · max length: 100
full_access
scopes array
status
expires_at string · max length: 40
never_expires
propertyName anything
Responses
200Successful Response
PUT /api-keys/example
1curl -X PUT "http://localhost:8000/api-keys/example" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","full_access":{},"scopes":["string"],"status":"revoked","expires_at":"string","never_expires":{}}'
1fetch("http://localhost:8000/api-keys/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "full_access": {},
7 "scopes": [
8 "string"
9 ],
10 "status": "revoked",
11 "expires_at": "string",
12 "never_expires": {}
13}),
14})
15 .then((res) => res.json())
16 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/api-keys/example",
5 json={"name":"string","full_access":{},"scopes":["string"],"status":"revoked","expires_at":"string","never_expires":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /api-keys/:key_id/secret

Rotate API key secret

PUT /api-keys/:key_id/secret: replace the secret; old one dies now.

Parameters
key_id string · path
required
Body · RotateApiKeyapplication/json
expires_at string · max length: 40
never_expires
propertyName anything
Responses
200Successful Response
PUT /api-keys/example/secret
1curl -X PUT "http://localhost:8000/api-keys/example/secret" \
2 -H "Content-Type: application/json" \
3 -d '{"expires_at":"string","never_expires":{}}'
1fetch("http://localhost:8000/api-keys/example/secret", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "expires_at": "string",
6 "never_expires": {}
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/api-keys/example/secret",
5 json={"expires_at":"string","never_expires":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /ats/jobs/:job_id

Change a job

Parameters
job_id string · path
required
Body · UpdateJobapplication/json
title string · min length: 1 · max length: 200
team string · max length: 120
location string · max length: 200
workplace
employment
openings integer · min: 1 · max: 999
pay_min number · min: 0
pay_max number · min: 0
pay_currency string · max length: 3
pay_period
show_pay
description string · max length: 60000
requirements array
screening array
visibility
placements array
approver_mrn string · max length: 200
propertyName anything
Responses
200Successful Response
PATCH /ats/jobs/example
1curl -X PATCH "http://localhost:8000/ats/jobs/example" \
2 -H "Content-Type: application/json" \
3 -d '{"title":"string","team":"string","location":"string","workplace":"office","employment":"full_time","openings":1,"pay_min":1.5,"pay_max":1.5,"pay_currency":"string","pay_period":"hour","show_pay":{},"description":"string","requirements":["string"],"screening":[{"question":"string","kind":"yes_no","key":"string","options":["string"],"rule":"any","required":{}}],"visibility":"public","placements":["string"],"approver_mrn":"string"}'
1fetch("http://localhost:8000/ats/jobs/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "title": "string",
6 "team": "string",
7 "location": "string",
8 "workplace": "office",
9 "employment": "full_time",
10 "openings": 1,
11 "pay_min": 1.5,
12 "pay_max": 1.5,
13 "pay_currency": "string",
14 "pay_period": "hour",
15 "show_pay": {},
16 "description": "string",
17 "requirements": [
18 "string"
19 ],
20 "screening": [
21 {
22 "question": "string",
23 "kind": "yes_no",
24 "key": "string",
25 "options": [
26 "string"
27 ],
28 "rule": "any",
29 "required": {}
30 }
31 ],
32 "visibility": "public",
33 "placements": [
34 "string"
35 ],
36 "approver_mrn": "string"
37}),
38})
39 .then((res) => res.json())
40 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/ats/jobs/example",
5 json={"title":"string","team":"string","location":"string","workplace":"office","employment":"full_time","openings":1,"pay_min":1.5,"pay_max":1.5,"pay_currency":"string","pay_period":"hour","show_pay":{},"description":"string","requirements":["string"],"screening":[{"question":"string","kind":"yes_no","key":"string","options":["string"],"rule":"any","required":{}}],"visibility":"public","placements":["string"],"approver_mrn":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /ats/jobs/:job_id/status

Send a job for approval, open, hold or close it

Parameters
job_id string · path
required
Body · UpdateJobStatusapplication/json
status
required
reason string · max length: 300
propertyName anything
Responses
200Successful Response
PATCH /ats/jobs/example/status
1curl -X PATCH "http://localhost:8000/ats/jobs/example/status" \
2 -H "Content-Type: application/json" \
3 -d '{"status":"draft","reason":"string"}'
1fetch("http://localhost:8000/ats/jobs/example/status", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "status": "draft",
6 "reason": "string"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/ats/jobs/example/status",
5 json={"status":"draft","reason":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /ats/rounds/:round_id

Change a round

Parameters
round_id string · path
required
Body · UpdateRoundapplication/json
name string · min length: 1 · max length: 80
kit_name string · max length: 120
position integer · min: 0 · max: 40
minutes integer · min: 0 · max: 600
time_limit_days integer · min: 0 · max: 90
location
panel_size integer · min: 0 · max: 12
interviewers array
scorecards_needed integer · min: 0 · max: 12
pay_amount number · min: 0
pay_currency string · max length: 3
competencies array
questions array
expect string · max length: 600
propertyName anything
Responses
200Successful Response
PATCH /ats/rounds/example
1curl -X PATCH "http://localhost:8000/ats/rounds/example" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","kit_name":"string","position":1,"minutes":1,"time_limit_days":1,"location":"meet","panel_size":1,"interviewers":["string"],"scorecards_needed":1,"pay_amount":1.5,"pay_currency":"string","competencies":[{"name":"string","weight":1}],"questions":["string"],"expect":"string"}'
1fetch("http://localhost:8000/ats/rounds/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "kit_name": "string",
7 "position": 1,
8 "minutes": 1,
9 "time_limit_days": 1,
10 "location": "meet",
11 "panel_size": 1,
12 "interviewers": [
13 "string"
14 ],
15 "scorecards_needed": 1,
16 "pay_amount": 1.5,
17 "pay_currency": "string",
18 "competencies": [
19 {
20 "name": "string",
21 "weight": 1
22 }
23 ],
24 "questions": [
25 "string"
26 ],
27 "expect": "string"
28}),
29})
30 .then((res) => res.json())
31 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/ats/rounds/example",
5 json={"name":"string","kit_name":"string","position":1,"minutes":1,"time_limit_days":1,"location":"meet","panel_size":1,"interviewers":["string"],"scorecards_needed":1,"pay_amount":1.5,"pay_currency":"string","competencies":[{"name":"string","weight":1}],"questions":["string"],"expect":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /ats/candidates/:candidate_id

Change a candidate

Parameters
candidate_id string · path
required
Body · UpdateCandidateapplication/json
name string · min length: 1 · max length: 200
email string · max length: 320 · email
phone string · max length: 50
location string · max length: 200
headline string · max length: 200
notice string · max length: 120
source
tags array
propertyName anything
Responses
200Successful Response
PATCH /ats/candidates/example
1curl -X PATCH "http://localhost:8000/ats/candidates/example" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","email":"user@example.com","phone":"string","location":"string","headline":"string","notice":"string","source":"careers","tags":["string"]}'
1fetch("http://localhost:8000/ats/candidates/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "email": "user@example.com",
7 "phone": "string",
8 "location": "string",
9 "headline": "string",
10 "notice": "string",
11 "source": "careers",
12 "tags": [
13 "string"
14 ]
15}),
16})
17 .then((res) => res.json())
18 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/ats/candidates/example",
5 json={"name":"string","email":"user@example.com","phone":"string","location":"string","headline":"string","notice":"string","source":"careers","tags":["string"]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /ats/applications/:application_id

Change an application

Parameters
application_id string · path
required
Body · UpdateApplicationapplication/json
probes_noted
propertyName anything
Responses
200Successful Response
PATCH /ats/applications/example
1curl -X PATCH "http://localhost:8000/ats/applications/example" \
2 -H "Content-Type: application/json" \
3 -d '{"probes_noted":{}}'
1fetch("http://localhost:8000/ats/applications/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "probes_noted": {}
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/ats/applications/example",
5 json={"probes_noted":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /ats/applications/:application_id/round

Move an application to another round

Parameters
application_id string · path
required
Body · MoveApplicationapplication/json
round_id string · min length: 1 · max length: 60
required
propertyName anything
Responses
200Successful Response
PATCH /ats/applications/example/round
1curl -X PATCH "http://localhost:8000/ats/applications/example/round" \
2 -H "Content-Type: application/json" \
3 -d '{"round_id":"string"}'
1fetch("http://localhost:8000/ats/applications/example/round", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "round_id": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/ats/applications/example/round",
5 json={"round_id":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /ats/applications/:application_id/status

Hold, reject, hire, withdraw or reopen an application

Parameters
application_id string · path
required
Body · UpdateApplicationStatusapplication/json
status
required
reason string · max length: 500
notify
propertyName anything
Responses
200Successful Response
PATCH /ats/applications/example/status
1curl -X PATCH "http://localhost:8000/ats/applications/example/status" \
2 -H "Content-Type: application/json" \
3 -d '{"status":"active","reason":"string","notify":{}}'
1fetch("http://localhost:8000/ats/applications/example/status", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "status": "active",
6 "reason": "string",
7 "notify": {}
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/ats/applications/example/status",
5 json={"status":"active","reason":"string","notify":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /ats/library/:item_id

Change a library item

Parameters
item_id string · path
required
Body · UpdateLibraryItemapplication/json
name string · max length: 200
subject string · max length: 300
body string · max length: 60000
data object
is_default
archived
propertyName anything
Responses
200Successful Response
PATCH /ats/library/example
1curl -X PATCH "http://localhost:8000/ats/library/example" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","subject":"string","body":"string","data":{"competency":"string","round_kind":"applied","look_for":"string","rounds":[{"name":"string","kind":"applied","icon":"string","kit_name":"string","minutes":1,"time_limit_days":1,"location":"meet","panel_size":1,"interviewers":["string"],"scorecards_needed":1,"pay_amount":1.5,"pay_currency":"string","competencies":[{"name":"string","weight":1}],"questions":["string"],"expect":"string"}]},"is_default":{},"archived":{}}'
1fetch("http://localhost:8000/ats/library/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "subject": "string",
7 "body": "string",
8 "data": {
9 "competency": "string",
10 "round_kind": "applied",
11 "look_for": "string",
12 "rounds": [
13 {
14 "name": "string",
15 "kind": "applied",
16 "icon": "string",
17 "kit_name": "string",
18 "minutes": 1,
19 "time_limit_days": 1,
20 "location": "meet",
21 "panel_size": 1,
22 "interviewers": [
23 "string"
24 ],
25 "scorecards_needed": 1,
26 "pay_amount": 1.5,
27 "pay_currency": "string",
28 "competencies": [
29 {
30 "name": "string",
31 "weight": 1
32 }
33 ],
34 "questions": [
35 "string"
36 ],
37 "expect": "string"
38 }
39 ]
40 },
41 "is_default": {},
42 "archived": {}
43}),
44})
45 .then((res) => res.json())
46 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/ats/library/example",
5 json={"name":"string","subject":"string","body":"string","data":{"competency":"string","round_kind":"applied","look_for":"string","rounds":[{"name":"string","kind":"applied","icon":"string","kit_name":"string","minutes":1,"time_limit_days":1,"location":"meet","panel_size":1,"interviewers":["string"],"scorecards_needed":1,"pay_amount":1.5,"pay_currency":"string","competencies":[{"name":"string","weight":1}],"questions":["string"],"expect":"string"}]},"is_default":{},"archived":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /ats/jobs

Create a job

Body · CreateJobapplication/json
title string · min length: 1 · max length: 200
required
team string · max length: 120
location string · max length: 200
workplace
employment
openings integer · min: 1 · max: 999
pay_min number · min: 0
pay_max number · min: 0
pay_currency string · max length: 3
pay_period
show_pay
description string · max length: 60000
requirements array
screening array
visibility
placements array
pipeline_id string · max length: 60
rounds array
people object
approver_mrn string · max length: 200
send
propertyName anything
Responses
200Successful Response
POST /ats/jobs
1curl -X POST "http://localhost:8000/ats/jobs" \
2 -H "Content-Type: application/json" \
3 -d '{"title":"string","team":"string","location":"string","workplace":"office","employment":"full_time","openings":1,"pay_min":1.5,"pay_max":1.5,"pay_currency":"string","pay_period":"hour","show_pay":{},"description":"string","requirements":["string"],"screening":[{"question":"string","kind":"yes_no","key":"string","options":["string"],"rule":"any","required":{}}],"visibility":"public","placements":["string"],"pipeline_id":"string","rounds":[{"name":"string","kind":"applied","icon":"string","kit_name":"string","minutes":1,"time_limit_days":1,"location":"meet","panel_size":1,"interviewers":["string"],"scorecards_needed":1,"pay_amount":1.5,"pay_currency":"string","competencies":[{"name":"string","weight":1}],"questions":["string"],"expect":"string"}],"people":{"hiring_manager":"string","recruiter":"string","interviewers":["string"]},"approver_mrn":"string","send":{}}'
1fetch("http://localhost:8000/ats/jobs", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "title": "string",
6 "team": "string",
7 "location": "string",
8 "workplace": "office",
9 "employment": "full_time",
10 "openings": 1,
11 "pay_min": 1.5,
12 "pay_max": 1.5,
13 "pay_currency": "string",
14 "pay_period": "hour",
15 "show_pay": {},
16 "description": "string",
17 "requirements": [
18 "string"
19 ],
20 "screening": [
21 {
22 "question": "string",
23 "kind": "yes_no",
24 "key": "string",
25 "options": [
26 "string"
27 ],
28 "rule": "any",
29 "required": {}
30 }
31 ],
32 "visibility": "public",
33 "placements": [
34 "string"
35 ],
36 "pipeline_id": "string",
37 "rounds": [
38 {
39 "name": "string",
40 "kind": "applied",
41 "icon": "string",
42 "kit_name": "string",
43 "minutes": 1,
44 "time_limit_days": 1,
45 "location": "meet",
46 "panel_size": 1,
47 "interviewers": [
48 "string"
49 ],
50 "scorecards_needed": 1,
51 "pay_amount": 1.5,
52 "pay_currency": "string",
53 "competencies": [
54 {
55 "name": "string",
56 "weight": 1
57 }
58 ],
59 "questions": [
60 "string"
61 ],
62 "expect": "string"
63 }
64 ],
65 "people": {
66 "hiring_manager": "string",
67 "recruiter": "string",
68 "interviewers": [
69 "string"
70 ]
71 },
72 "approver_mrn": "string",
73 "send": {}
74}),
75})
76 .then((res) => res.json())
77 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/ats/jobs",
5 json={"title":"string","team":"string","location":"string","workplace":"office","employment":"full_time","openings":1,"pay_min":1.5,"pay_max":1.5,"pay_currency":"string","pay_period":"hour","show_pay":{},"description":"string","requirements":["string"],"screening":[{"question":"string","kind":"yes_no","key":"string","options":["string"],"rule":"any","required":{}}],"visibility":"public","placements":["string"],"pipeline_id":"string","rounds":[{"name":"string","kind":"applied","icon":"string","kit_name":"string","minutes":1,"time_limit_days":1,"location":"meet","panel_size":1,"interviewers":["string"],"scorecards_needed":1,"pay_amount":1.5,"pay_currency":"string","competencies":[{"name":"string","weight":1}],"questions":["string"],"expect":"string"}],"people":{"hiring_manager":"string","recruiter":"string","interviewers":["string"]},"approver_mrn":"string","send":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /ats/jobs/:job_id/rounds

Add a round to a job

Parameters
job_id string · path
required
Body · CreateRoundapplication/json
name string · min length: 1 · max length: 80
required
kind
required
position integer · min: 0 · max: 40
minutes integer · min: 0 · max: 600
time_limit_days integer · min: 0 · max: 90
location
propertyName anything
Responses
200Successful Response
POST /ats/jobs/example/rounds
1curl -X POST "http://localhost:8000/ats/jobs/example/rounds" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","kind":"applied","position":1,"minutes":1,"time_limit_days":1,"location":"meet"}'
1fetch("http://localhost:8000/ats/jobs/example/rounds", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "kind": "applied",
7 "position": 1,
8 "minutes": 1,
9 "time_limit_days": 1,
10 "location": "meet"
11}),
12})
13 .then((res) => res.json())
14 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/ats/jobs/example/rounds",
5 json={"name":"string","kind":"applied","position":1,"minutes":1,"time_limit_days":1,"location":"meet"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /ats/candidates

Add a candidate

Body · CreateCandidateapplication/json
name string · min length: 1 · max length: 200
required
email string · max length: 320 · email
required
phone string · max length: 50
location string · max length: 200
headline string · max length: 200
source
source_detail string · max length: 200
referrer_mrn string · max length: 200
notice string · max length: 120
job_id string · max length: 60
cv_key string · max length: 400
cv_name string · max length: 255
cv_type string · max length: 120
cv_size integer · min: 0
keep_on_file
propertyName anything
Responses
200Successful Response
POST /ats/candidates
1curl -X POST "http://localhost:8000/ats/candidates" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","email":"user@example.com","phone":"string","location":"string","headline":"string","source":"careers","source_detail":"string","referrer_mrn":"string","notice":"string","job_id":"string","cv_key":"string","cv_name":"string","cv_type":"string","cv_size":1,"keep_on_file":{}}'
1fetch("http://localhost:8000/ats/candidates", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "email": "user@example.com",
7 "phone": "string",
8 "location": "string",
9 "headline": "string",
10 "source": "careers",
11 "source_detail": "string",
12 "referrer_mrn": "string",
13 "notice": "string",
14 "job_id": "string",
15 "cv_key": "string",
16 "cv_name": "string",
17 "cv_type": "string",
18 "cv_size": 1,
19 "keep_on_file": {}
20}),
21})
22 .then((res) => res.json())
23 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/ats/candidates",
5 json={"name":"string","email":"user@example.com","phone":"string","location":"string","headline":"string","source":"careers","source_detail":"string","referrer_mrn":"string","notice":"string","job_id":"string","cv_key":"string","cv_name":"string","cv_type":"string","cv_size":1,"keep_on_file":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /ats/candidates/:candidate_id/notes

Add a note to a candidate

Parameters
candidate_id string · path
required
Body · CreateNoteapplication/json
html string · min length: 1 · max length: 20000
required
application_id string · max length: 60
propertyName anything
Responses
200Successful Response
POST /ats/candidates/example/notes
1curl -X POST "http://localhost:8000/ats/candidates/example/notes" \
2 -H "Content-Type: application/json" \
3 -d '{"html":"string","application_id":"string"}'
1fetch("http://localhost:8000/ats/candidates/example/notes", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "html": "string",
6 "application_id": "string"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/ats/candidates/example/notes",
5 json={"html":"string","application_id":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /ats/applications

Put a candidate on a job

Body · CreateApplicationapplication/json
candidate_id string · min length: 1 · max length: 60
required
job_id string · min length: 1 · max length: 60
required
source
propertyName anything
Responses
200Successful Response
POST /ats/applications
1curl -X POST "http://localhost:8000/ats/applications" \
2 -H "Content-Type: application/json" \
3 -d '{"candidate_id":"string","job_id":"string","source":"careers"}'
1fetch("http://localhost:8000/ats/applications", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "candidate_id": "string",
6 "job_id": "string",
7 "source": "careers"
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/ats/applications",
5 json={"candidate_id":"string","job_id":"string","source":"careers"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /ats/library

Add a question, pipeline, email or letter

Body · CreateLibraryItemapplication/json
kind
required
name string · max length: 200
subject string · max length: 300
body string · max length: 60000
data object
is_default
propertyName anything
Responses
200Successful Response
POST /ats/library
1curl -X POST "http://localhost:8000/ats/library" \
2 -H "Content-Type: application/json" \
3 -d '{"kind":"question","name":"string","subject":"string","body":"string","data":{"competency":"string","round_kind":"applied","look_for":"string","rounds":[{"name":"string","kind":"applied","icon":"string","kit_name":"string","minutes":1,"time_limit_days":1,"location":"meet","panel_size":1,"interviewers":["string"],"scorecards_needed":1,"pay_amount":1.5,"pay_currency":"string","competencies":[{"name":"string","weight":1}],"questions":["string"],"expect":"string"}]},"is_default":{}}'
1fetch("http://localhost:8000/ats/library", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "kind": "question",
6 "name": "string",
7 "subject": "string",
8 "body": "string",
9 "data": {
10 "competency": "string",
11 "round_kind": "applied",
12 "look_for": "string",
13 "rounds": [
14 {
15 "name": "string",
16 "kind": "applied",
17 "icon": "string",
18 "kit_name": "string",
19 "minutes": 1,
20 "time_limit_days": 1,
21 "location": "meet",
22 "panel_size": 1,
23 "interviewers": [
24 "string"
25 ],
26 "scorecards_needed": 1,
27 "pay_amount": 1.5,
28 "pay_currency": "string",
29 "competencies": [
30 {
31 "name": "string",
32 "weight": 1
33 }
34 ],
35 "questions": [
36 "string"
37 ],
38 "expect": "string"
39 }
40 ]
41 },
42 "is_default": {}
43}),
44})
45 .then((res) => res.json())
46 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/ats/library",
5 json={"kind":"question","name":"string","subject":"string","body":"string","data":{"competency":"string","round_kind":"applied","look_for":"string","rounds":[{"name":"string","kind":"applied","icon":"string","kit_name":"string","minutes":1,"time_limit_days":1,"location":"meet","panel_size":1,"interviewers":["string"],"scorecards_needed":1,"pay_amount":1.5,"pay_currency":"string","competencies":[{"name":"string","weight":1}],"questions":["string"],"expect":"string"}]},"is_default":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /ats/jobs/:job_id/team/:member_id

Put someone on a job with a role

Parameters
job_id string · path
required
member_id string · path
required
Body · SetJobRoleapplication/json
role
required
propertyName anything
Responses
200Successful Response
PUT /ats/jobs/example/team/example
1curl -X PUT "http://localhost:8000/ats/jobs/example/team/example" \
2 -H "Content-Type: application/json" \
3 -d '{"role":"hire"}'
1fetch("http://localhost:8000/ats/jobs/example/team/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "role": "hire"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/ats/jobs/example/team/example",
5 json={"role":"hire"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /me/notification-preferences

Patch notification prefs

Body · UpdateNotificationPrefsapplication/json
channel
required
patch object
required
propertyName anything
Responses
200Successful Response
PATCH /me/notification-preferences
1curl -X PATCH "http://localhost:8000/me/notification-preferences" \
2 -H "Content-Type: application/json" \
3 -d '{"channel":"chat","patch":{"enabled":{},"toast":{},"push":{},"sound":"string"}}'
1fetch("http://localhost:8000/me/notification-preferences", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "channel": "chat",
6 "patch": {
7 "enabled": {},
8 "toast": {},
9 "push": {},
10 "sound": "string"
11 }
12}),
13})
14 .then((res) => res.json())
15 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/me/notification-preferences",
5 json={"channel":"chat","patch":{"enabled":{},"toast":{},"push":{},"sound":"string"}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /push-subscriptions

Turn on notifications for this browser

POST /push-subscriptions: this browser may now show notifications for the signed-in person.

Body · CreatePushSubscriptionapplication/json
endpoint string · min length: 10 · max length: 2000
required
keys object
required
propertyName anything
Responses
200Successful Response
POST /push-subscriptions
1curl -X POST "http://localhost:8000/push-subscriptions" \
2 -H "Content-Type: application/json" \
3 -d '{"endpoint":"string","keys":{"p256dh":"string","auth":"string"}}'
1fetch("http://localhost:8000/push-subscriptions", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "endpoint": "string",
6 "keys": {
7 "p256dh": "string",
8 "auth": "string"
9 }
10}),
11})
12 .then((res) => res.json())
13 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/push-subscriptions",
5 json={"endpoint":"string","keys":{"p256dh":"string","auth":"string"}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /push-devices

Turn on notifications for this phone

POST /push-devices: this phone may now show notifications for the signed-in person.

Body · CreatePushDeviceapplication/json
token string · min length: 20 · max length: 4096
required
platform
required
propertyName anything
Responses
200Successful Response
POST /push-devices
1curl -X POST "http://localhost:8000/push-devices" \
2 -H "Content-Type: application/json" \
3 -d '{"token":"string","platform":"android"}'
1fetch("http://localhost:8000/push-devices", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "token": "string",
6 "platform": "android"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/push-devices",
5 json={"token":"string","platform":"android"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /finance/accounts

Create an account

Body · CreateAccountapplication/json
code string · min length: 1 · max length: 20
required
name string · min length: 1 · max length: 200
required
type
required
parent_id string
description string · max length: 1000
normal_balance
is_contra
is_bank
propertyName anything
Responses
200Successful Response
POST /finance/accounts
1curl -X POST "http://localhost:8000/finance/accounts" \
2 -H "Content-Type: application/json" \
3 -d '{"code":"string","name":"string","type":"asset","parent_id":"string","description":"string","normal_balance":"debit","is_contra":{},"is_bank":{}}'
1fetch("http://localhost:8000/finance/accounts", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "code": "string",
6 "name": "string",
7 "type": "asset",
8 "parent_id": "string",
9 "description": "string",
10 "normal_balance": "debit",
11 "is_contra": {},
12 "is_bank": {}
13}),
14})
15 .then((res) => res.json())
16 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/finance/accounts",
5 json={"code":"string","name":"string","type":"asset","parent_id":"string","description":"string","normal_balance":"debit","is_contra":{},"is_bank":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /finance/accounts/:account_id

Update an account

Parameters
account_id string · path
required
Body · UpdateAccountapplication/json
display_name string · max length: 200
show_in_unified
propertyName anything
Responses
200Successful Response
PUT /finance/accounts/example
1curl -X PUT "http://localhost:8000/finance/accounts/example" \
2 -H "Content-Type: application/json" \
3 -d '{"display_name":"string","show_in_unified":{}}'
1fetch("http://localhost:8000/finance/accounts/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "display_name": "string",
6 "show_in_unified": {}
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/finance/accounts/example",
5 json={"display_name":"string","show_in_unified":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
GET /activity undocumented

/activity

Responses
200Successful Response
GET /activity
1curl "http://localhost:8000/activity"
1fetch("http://localhost:8000/activity")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/activity")
4print(response.json())
200 Example Response
No Body
GET /admin/file-members/:member_mrn/folders undocumented

/admin/file-members/:member_mrn/folders

Parameters
member_mrn string · path
required
Responses
200Successful Response
GET /admin/file-members/example/folders
1curl "http://localhost:8000/admin/file-members/example/folders"
1fetch("http://localhost:8000/admin/file-members/example/folders")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/admin/file-members/example/folders")
4print(response.json())
200 Example Response
No Body
GET /admin/file-members/:member_mrn/files undocumented

/admin/file-members/:member_mrn/files

Parameters
member_mrn string · path
required
Responses
200Successful Response
GET /admin/file-members/example/files
1curl "http://localhost:8000/admin/file-members/example/files"
1fetch("http://localhost:8000/admin/file-members/example/files")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/admin/file-members/example/files")
4print(response.json())
200 Example Response
No Body
GET /admin/file-stats undocumented

/admin/file-stats

GET /admin/file-stats — workspace storage overview for the admin view.

Responses
200Successful Response
GET /admin/file-stats
1curl "http://localhost:8000/admin/file-stats"
1fetch("http://localhost:8000/admin/file-stats")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/admin/file-stats")
4print(response.json())
200 Example Response
No Body
GET /admin/activity-exports undocumented

/admin/activity-exports

GET /admin/activity-exports — the audit trail as a CSV download. Optional ``after`` / ``before`` ISO instants bound the window.

Responses
200Successful Response
GET /admin/activity-exports
1curl "http://localhost:8000/admin/activity-exports"
1fetch("http://localhost:8000/admin/activity-exports")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/admin/activity-exports")
4print(response.json())
200 Example Response
No Body
POST /admin/file-transfers

Transfer file ownership

POST /admin/file-transfers — move every file and folder one member owns to another member (offboarding). Root-level name collisions in the recipient's space are suffixed, never merged or replaced.

Body · TransferFilesapplication/json
from_mrn string · min length: 1
required
to_mrn string · min length: 1
required
propertyName anything
Responses
200Successful Response
POST /admin/file-transfers
1curl -X POST "http://localhost:8000/admin/file-transfers" \
2 -H "Content-Type: application/json" \
3 -d '{"from_mrn":"string","to_mrn":"string"}'
1fetch("http://localhost:8000/admin/file-transfers", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "from_mrn": "string",
6 "to_mrn": "string"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/admin/file-transfers",
5 json={"from_mrn":"string","to_mrn":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /elevations

Break glass into admin mode

POST /elevations — break glass. Re-authentication is the point of the exercise: a stolen session should not be able to elevate itself just because the person it was stolen from happens to be an admin. TOTP when the account has it (a second factor beats a password an attacker may already have), password otherwise, and a recovery code as the way back in for someone who lost their phone. Deliberately never a mailed code: admin actions must not depend on reaching a mailbox, least of all one we host.

Body · StartElevationapplication/json
reason string · min length: 3 · max length: 500
required
code string · min length: 6 · max length: 6
totp string · min length: 6 · max length: 10
propertyName anything
Responses
200Successful Response
POST /elevations
1curl -X POST "http://localhost:8000/elevations" \
2 -H "Content-Type: application/json" \
3 -d '{"reason":"string","code":"string","totp":"string"}'
1fetch("http://localhost:8000/elevations", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "reason": "string",
6 "code": "string",
7 "totp": "string"
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/elevations",
5 json={"reason":"string","code":"string","totp":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
GET /admin-audit undocumented

/admin-audit

GET /admin-audit: what admins did while elevated, newest first. Reads coalesce, so one row can stand for many identical views; `hits` says how many.

Responses
200Successful Response
GET /admin-audit
1curl "http://localhost:8000/admin-audit"
1fetch("http://localhost:8000/admin-audit")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/admin-audit")
4print(response.json())
200 Example Response
No Body
GET /agents undocumented

/agents

GET /agents: everyone who owns a deal, a target or a lead, searched on the server, ranked as the leaderboard ranks them.

Responses
200Successful Response
GET /agents
1curl "http://localhost:8000/agents"
1fetch("http://localhost:8000/agents")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/agents")
4print(response.json())
200 Example Response
No Body
GET /agents/:member_id undocumented

/agents/:member_id

GET /agents/:member_id: one agent's rank, quota, win rate and the size of their book.

Parameters
member_id string · path
required
Responses
200Successful Response
GET /agents/example
1curl "http://localhost:8000/agents/example"
1fetch("http://localhost:8000/agents/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/agents/example")
4print(response.json())
200 Example Response
No Body
GET /agents/:member_id/activity undocumented

/agents/:member_id/activity

GET /agents/:member_id/activity: what they did (scope=by), or everything on the deals they own (scope=book).

Parameters
member_id string · path
required
Responses
200Successful Response
GET /agents/example/activity
1curl "http://localhost:8000/agents/example/activity"
1fetch("http://localhost:8000/agents/example/activity")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/agents/example/activity")
4print(response.json())
200 Example Response
No Body
GET /agents/:member_id/target-logs undocumented

/agents/:member_id/target-logs

GET /agents/:member_id/target-logs: every manual log on one agent's targets, waiting first.

Parameters
member_id string · path
required
Responses
200Successful Response
GET /agents/example/target-logs
1curl "http://localhost:8000/agents/example/target-logs"
1fetch("http://localhost:8000/agents/example/target-logs")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/agents/example/target-logs")
4print(response.json())
200 Example Response
No Body
DELETE /api-keys/:key_id undocumented

/api-keys/:key_id

DELETE /api-keys/:key_id: remove the key and its audit row.

Parameters
key_id string · path
required
Responses
200Successful Response
DELETE /api-keys/example
1curl -X DELETE "http://localhost:8000/api-keys/example"
1fetch("http://localhost:8000/api-keys/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/api-keys/example")
4print(response.json())
200 Example Response
No Body
GET /api-keys undocumented

/api-keys

GET /api-keys: list the workspace's API keys (never the secrets).

Responses
200Successful Response
GET /api-keys
1curl "http://localhost:8000/api-keys"
1fetch("http://localhost:8000/api-keys")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/api-keys")
4print(response.json())
200 Example Response
No Body
GET /applications/:slug/status undocumented

/applications/:slug/status

GET /accounts/apps/status/:slug — Check install status for a specific app.

Parameters
slug string · path
required
Responses
200Successful Response
GET /applications/example/status
1curl "http://localhost:8000/applications/example/status"
1fetch("http://localhost:8000/applications/example/status")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/applications/example/status")
4print(response.json())
200 Example Response
No Body
POST /applications/:slug/requests undocumented

/applications/:slug/requests

POST /applications/:slug/requests — Request app install (any authenticated member).

Parameters
slug string · path
required
Responses
200Successful Response
POST /applications/example/requests
1curl -X POST "http://localhost:8000/applications/example/requests"
1fetch("http://localhost:8000/applications/example/requests", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/applications/example/requests")
4print(response.json())
200 Example Response
No Body
GET /apps/:slug/access undocumented

/apps/:slug/access

GET /apps/:slug/access — everything configured for one app, in one envelope: tile access, permission matrix, config document, and exception grants. The audit surface for "who can see what in this app".

Parameters
slug string · path
required
Responses
200Successful Response
GET /apps/example/access
1curl "http://localhost:8000/apps/example/access"
1fetch("http://localhost:8000/apps/example/access")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/apps/example/access")
4print(response.json())
200 Example Response
No Body
GET /apps/:slug/settings undocumented

/apps/:slug/settings

GET /apps/:slug/settings — the app's effective config document.

Parameters
slug string · path
required
Responses
200Successful Response
GET /apps/example/settings
1curl "http://localhost:8000/apps/example/settings"
1fetch("http://localhost:8000/apps/example/settings")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/apps/example/settings")
4print(response.json())
200 Example Response
No Body
POST /applications/:slug/installations

Install app

POST /accounts/apps/install — Install an app (admin/owner only).

Parameters
slug string · path
required
Body · InstallAppapplication/json
access_policy
allowed_roles array
propertyName anything
Responses
200Successful Response
POST /applications/example/installations
1curl -X POST "http://localhost:8000/applications/example/installations" \
2 -H "Content-Type: application/json" \
3 -d '{"access_policy":"everyone","allowed_roles":["string"]}'
1fetch("http://localhost:8000/applications/example/installations", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "access_policy": "everyone",
6 "allowed_roles": [
7 "string"
8 ]
9}),
10})
11 .then((res) => res.json())
12 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/applications/example/installations",
5 json={"access_policy":"everyone","allowed_roles":["string"]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /applications/:slug/access-requests

Request access to restricted app

POST /apps/:slug/access-requests — Request access to a restricted app. Notifies all workspace admins (owner + admin roles). Mirrors the install- request flow (api_request_install) but for apps that ARE installed yet gated by access_policy='roles' the requester doesn't hold.

Parameters
slug string · path
required
Body · RequestAppAccessapplication/json
message string · max length: 280
propertyName anything
Responses
200Successful Response
POST /applications/example/access-requests
1curl -X POST "http://localhost:8000/applications/example/access-requests" \
2 -H "Content-Type: application/json" \
3 -d '{"message":"string"}'
1fetch("http://localhost:8000/applications/example/access-requests", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "message": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/applications/example/access-requests",
5 json={"message":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /applications/:slug/access

Set app access policy

Update which roles can reach an installed app. Body: {access_policy: "everyone"|"roles"|"approval", allowed_roles?: [role_id]} When access_policy is 'everyone' the allowed_roles list is cleared.

Parameters
slug string · path
required
Body · UpdateAppAccessapplication/json
access_policy
required
allowed_roles array
redlist array
propertyName anything
Responses
200Successful Response
PUT /applications/example/access
1curl -X PUT "http://localhost:8000/applications/example/access" \
2 -H "Content-Type: application/json" \
3 -d '{"access_policy":"everyone","allowed_roles":["string"],"redlist":["string"]}'
1fetch("http://localhost:8000/applications/example/access", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "access_policy": "everyone",
6 "allowed_roles": [
7 "string"
8 ],
9 "redlist": [
10 "string"
11 ]
12}),
13})
14 .then((res) => res.json())
15 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/applications/example/access",
5 json={"access_policy":"everyone","allowed_roles":["string"],"redlist":["string"]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /apps/:slug/roles/:role_id/permissions

Set one app's permission slice on a role

PUT /apps/:slug/roles/:role_id/permissions — replace ONE app's slice of a role's permissions. The only role-editing power an app admin has: other apps' slices, platform roles, and role membership are out of reach.

Parameters
slug string · path
required
role_id string · path
required
Body · UpdateAppRoleSliceapplication/json
permissions array
required
propertyName anything
Responses
200Successful Response
PUT /apps/example/roles/example/permissions
1curl -X PUT "http://localhost:8000/apps/example/roles/example/permissions" \
2 -H "Content-Type: application/json" \
3 -d '{"permissions":["string"]}'
1fetch("http://localhost:8000/apps/example/roles/example/permissions", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "permissions": [
6 "string"
7 ]
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/apps/example/roles/example/permissions",
5 json={"permissions":["string"]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /apps/:slug/settings undocumented

/apps/:slug/settings

PUT /apps/:slug/settings — replace the app's config document. The body is the full document. It is validated against the pytastic schema the app registered via core.appconfig (rule 12's schema-first requirement is satisfied per-app; a static route schema is impossible for a surface whose shape each app defines).

Parameters
slug string · path
required
Responses
200Successful Response
PUT /apps/example/settings
1curl -X PUT "http://localhost:8000/apps/example/settings"
1fetch("http://localhost:8000/apps/example/settings", { method: "PUT" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.put("http://localhost:8000/apps/example/settings")
4print(response.json())
200 Example Response
No Body
DELETE /ats/jobs/:job_id undocumented

/ats/jobs/:job_id

Parameters
job_id string · path
required
Responses
200Successful Response
DELETE /ats/jobs/example
1curl -X DELETE "http://localhost:8000/ats/jobs/example"
1fetch("http://localhost:8000/ats/jobs/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/ats/jobs/example")
4print(response.json())
200 Example Response
No Body
DELETE /ats/jobs/:job_id/team/:member_id undocumented

/ats/jobs/:job_id/team/:member_id

Parameters
job_id string · path
required
member_id string · path
required
Responses
200Successful Response
DELETE /ats/jobs/example/team/example
1curl -X DELETE "http://localhost:8000/ats/jobs/example/team/example"
1fetch("http://localhost:8000/ats/jobs/example/team/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/ats/jobs/example/team/example")
4print(response.json())
200 Example Response
No Body
DELETE /ats/rounds/:round_id undocumented

/ats/rounds/:round_id

Parameters
round_id string · path
required
Responses
200Successful Response
DELETE /ats/rounds/example
1curl -X DELETE "http://localhost:8000/ats/rounds/example"
1fetch("http://localhost:8000/ats/rounds/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/ats/rounds/example")
4print(response.json())
200 Example Response
No Body
DELETE /ats/library/:item_id undocumented

/ats/library/:item_id

Parameters
item_id string · path
required
Responses
200Successful Response
DELETE /ats/library/example
1curl -X DELETE "http://localhost:8000/ats/library/example"
1fetch("http://localhost:8000/ats/library/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/ats/library/example")
4print(response.json())
200 Example Response
No Body
GET /ats/jobs undocumented

/ats/jobs

Responses
200Successful Response
GET /ats/jobs
1curl "http://localhost:8000/ats/jobs"
1fetch("http://localhost:8000/ats/jobs")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/ats/jobs")
4print(response.json())
200 Example Response
No Body
GET /ats/jobs/:job_id undocumented

/ats/jobs/:job_id

Parameters
job_id string · path
required
Responses
200Successful Response
GET /ats/jobs/example
1curl "http://localhost:8000/ats/jobs/example"
1fetch("http://localhost:8000/ats/jobs/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/ats/jobs/example")
4print(response.json())
200 Example Response
No Body
GET /ats/jobs/:job_id/team undocumented

/ats/jobs/:job_id/team

Parameters
job_id string · path
required
Responses
200Successful Response
GET /ats/jobs/example/team
1curl "http://localhost:8000/ats/jobs/example/team"
1fetch("http://localhost:8000/ats/jobs/example/team")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/ats/jobs/example/team")
4print(response.json())
200 Example Response
No Body
GET /ats/jobs/:job_id/rounds undocumented

/ats/jobs/:job_id/rounds

Parameters
job_id string · path
required
Responses
200Successful Response
GET /ats/jobs/example/rounds
1curl "http://localhost:8000/ats/jobs/example/rounds"
1fetch("http://localhost:8000/ats/jobs/example/rounds")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/ats/jobs/example/rounds")
4print(response.json())
200 Example Response
No Body
GET /ats/jobs/:job_id/applications undocumented

/ats/jobs/:job_id/applications

Parameters
job_id string · path
required
Responses
200Successful Response
GET /ats/jobs/example/applications
1curl "http://localhost:8000/ats/jobs/example/applications"
1fetch("http://localhost:8000/ats/jobs/example/applications")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/ats/jobs/example/applications")
4print(response.json())
200 Example Response
No Body
GET /ats/jobs/:job_id/matrix undocumented

/ats/jobs/:job_id/matrix

Parameters
job_id string · path
required
Responses
200Successful Response
GET /ats/jobs/example/matrix
1curl "http://localhost:8000/ats/jobs/example/matrix"
1fetch("http://localhost:8000/ats/jobs/example/matrix")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/ats/jobs/example/matrix")
4print(response.json())
200 Example Response
No Body
GET /ats/candidates undocumented

/ats/candidates

Responses
200Successful Response
GET /ats/candidates
1curl "http://localhost:8000/ats/candidates"
1fetch("http://localhost:8000/ats/candidates")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/ats/candidates")
4print(response.json())
200 Example Response
No Body
GET /ats/candidates/:candidate_id undocumented

/ats/candidates/:candidate_id

Parameters
candidate_id string · path
required
Responses
200Successful Response
GET /ats/candidates/example
1curl "http://localhost:8000/ats/candidates/example"
1fetch("http://localhost:8000/ats/candidates/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/ats/candidates/example")
4print(response.json())
200 Example Response
No Body
GET /ats/candidates/:candidate_id/activities undocumented

/ats/candidates/:candidate_id/activities

Parameters
candidate_id string · path
required
Responses
200Successful Response
GET /ats/candidates/example/activities
1curl "http://localhost:8000/ats/candidates/example/activities"
1fetch("http://localhost:8000/ats/candidates/example/activities")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/ats/candidates/example/activities")
4print(response.json())
200 Example Response
No Body
GET /ats/candidates/:candidate_id/cv undocumented

/ats/candidates/:candidate_id/cv

Parameters
candidate_id string · path
required
Responses
200Successful Response
GET /ats/candidates/example/cv
1curl "http://localhost:8000/ats/candidates/example/cv"
1fetch("http://localhost:8000/ats/candidates/example/cv")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/ats/candidates/example/cv")
4print(response.json())
200 Example Response
No Body
GET /ats/applications/:application_id undocumented

/ats/applications/:application_id

Parameters
application_id string · path
required
Responses
200Successful Response
GET /ats/applications/example
1curl "http://localhost:8000/ats/applications/example"
1fetch("http://localhost:8000/ats/applications/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/ats/applications/example")
4print(response.json())
200 Example Response
No Body
GET /ats/library undocumented

/ats/library

Responses
200Successful Response
GET /ats/library
1curl "http://localhost:8000/ats/library"
1fetch("http://localhost:8000/ats/library")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/ats/library")
4print(response.json())
200 Example Response
No Body
DELETE /attendance/locations/:id undocumented

/attendance/locations/:id

Permanently delete a location. Workers assigned to it must be reassigned first (the Workers app handles that via its own reassignment endpoint, driven by the delete dialog). Here we just remove the row and emit .deleted so projections drop their copy.

Parameters
id string · path
required
Responses
200Successful Response
DELETE /attendance/locations/example
1curl -X DELETE "http://localhost:8000/attendance/locations/example"
1fetch("http://localhost:8000/attendance/locations/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/attendance/locations/example")
4print(response.json())
200 Example Response
No Body
GET /attendance/status undocumented

/attendance/status

Responses
200Successful Response
GET /attendance/status
1curl "http://localhost:8000/attendance/status"
1fetch("http://localhost:8000/attendance/status")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/attendance/status")
4print(response.json())
200 Example Response
No Body
GET /attendance/entries undocumented

/attendance/entries

Responses
200Successful Response
GET /attendance/entries
1curl "http://localhost:8000/attendance/entries"
1fetch("http://localhost:8000/attendance/entries")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/attendance/entries")
4print(response.json())
200 Example Response
No Body
GET /attendance/timesheets undocumented

/attendance/timesheets

Responses
200Successful Response
GET /attendance/timesheets
1curl "http://localhost:8000/attendance/timesheets"
1fetch("http://localhost:8000/attendance/timesheets")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/attendance/timesheets")
4print(response.json())
200 Example Response
No Body
GET /attendance/timesheets/:id undocumented

/attendance/timesheets/:id

Parameters
id string · path
required
Responses
200Successful Response
GET /attendance/timesheets/example
1curl "http://localhost:8000/attendance/timesheets/example"
1fetch("http://localhost:8000/attendance/timesheets/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/attendance/timesheets/example")
4print(response.json())
200 Example Response
No Body
GET /attendance/timezones undocumented

/attendance/timezones

Friendly timezone search for the location form's picker. Searchable by city, US state, country, or zone (e.g. "houston", "texas", "port louis"). Returns {timezone, label}; the picker stores the IANA value and shows the label. Reference data only — no workspace scoping needed, but still requires an authenticated session. See core/timezones.py.

Responses
200Successful Response
GET /attendance/timezones
1curl "http://localhost:8000/attendance/timezones"
1fetch("http://localhost:8000/attendance/timezones")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/attendance/timezones")
4print(response.json())
200 Example Response
No Body
GET /attendance/locations undocumented

/attendance/locations

Responses
200Successful Response
GET /attendance/locations
1curl "http://localhost:8000/attendance/locations"
1fetch("http://localhost:8000/attendance/locations")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/attendance/locations")
4print(response.json())
200 Example Response
No Body
PATCH /attendance/timesheets/:id

Update a timesheet

Parameters
id string · path
required
Body · UpdateTimesheetapplication/json
status string · min length: 1 · max length: 20
required
propertyName anything
Responses
200Successful Response
PATCH /attendance/timesheets/example
1curl -X PATCH "http://localhost:8000/attendance/timesheets/example" \
2 -H "Content-Type: application/json" \
3 -d '{"status":"string"}'
1fetch("http://localhost:8000/attendance/timesheets/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "status": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/attendance/timesheets/example",
5 json={"status":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /attendance/locations/:id

Update a location

Parameters
id string · path
required
Body · UpdateLocationapplication/json
name string · min length: 1 · max length: 120
timezone string · min length: 1 · max length: 64
workdays
work_start string · max length: 5
work_end string · max length: 5
is_default
propertyName anything
Responses
200Successful Response
PATCH /attendance/locations/example
1curl -X PATCH "http://localhost:8000/attendance/locations/example" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","timezone":"string","workdays":1,"work_start":"string","work_end":"string","is_default":{}}'
1fetch("http://localhost:8000/attendance/locations/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "timezone": "string",
7 "workdays": 1,
8 "work_start": "string",
9 "work_end": "string",
10 "is_default": {}
11}),
12})
13 .then((res) => res.json())
14 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/attendance/locations/example",
5 json={"name":"string","timezone":"string","workdays":1,"work_start":"string","work_end":"string","is_default":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /attendance/clock-ins

Clock in

Body · ClockInapplication/json
note string · max length: 500
source string · max length: 50
propertyName anything
Responses
200Successful Response
POST /attendance/clock-ins
1curl -X POST "http://localhost:8000/attendance/clock-ins" \
2 -H "Content-Type: application/json" \
3 -d '{"note":"string","source":"string"}'
1fetch("http://localhost:8000/attendance/clock-ins", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "note": "string",
6 "source": "string"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/attendance/clock-ins",
5 json={"note":"string","source":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /attendance/clock-outs

Clock out

Body · ClockOutapplication/json
note string · max length: 500
propertyName anything
Responses
200Successful Response
POST /attendance/clock-outs
1curl -X POST "http://localhost:8000/attendance/clock-outs" \
2 -H "Content-Type: application/json" \
3 -d '{"note":"string"}'
1fetch("http://localhost:8000/attendance/clock-outs", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "note": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/attendance/clock-outs",
5 json={"note":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /attendance/pings

Record where a clocked-in device has been

Record a device's whereabouts on the caller's open session. A ping inside the resume window reopens a session the dropped socket closed.

Body · CreatePingsapplication/json
pings array
required
propertyName anything
Responses
200Successful Response
POST /attendance/pings
1curl -X POST "http://localhost:8000/attendance/pings" \
2 -H "Content-Type: application/json" \
3 -d '{"pings":[{"latitude":1.5,"longitude":1.5,"accuracy_m":1.5,"recorded_at":"2024-01-01T12:00:00Z"}]}'
1fetch("http://localhost:8000/attendance/pings", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "pings": [
6 {
7 "latitude": 1.5,
8 "longitude": 1.5,
9 "accuracy_m": 1.5,
10 "recorded_at": "2024-01-01T12:00:00Z"
11 }
12 ]
13}),
14})
15 .then((res) => res.json())
16 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/attendance/pings",
5 json={"pings":[{"latitude":1.5,"longitude":1.5,"accuracy_m":1.5,"recorded_at":"2024-01-01T12:00:00Z"}]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /attendance/locations

Create a location

Body · CreateLocationapplication/json
name string · min length: 1 · max length: 120
required
timezone string · min length: 1 · max length: 64
required
workdays
work_start string · max length: 5
work_end string · max length: 5
is_default
propertyName anything
Responses
200Successful Response
POST /attendance/locations
1curl -X POST "http://localhost:8000/attendance/locations" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","timezone":"string","workdays":1,"work_start":"string","work_end":"string","is_default":{}}'
1fetch("http://localhost:8000/attendance/locations", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "timezone": "string",
7 "workdays": 1,
8 "work_start": "string",
9 "work_end": "string",
10 "is_default": {}
11}),
12})
13 .then((res) => res.json())
14 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/attendance/locations",
5 json={"name":"string","timezone":"string","workdays":1,"work_start":"string","work_end":"string","is_default":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /ownership-transfers/:token

Stop an ownership transfer

PATCH /ownership-transfers/:token: the owner's link from the transfer email stops it.

Parameters
token string · path
required
Body · StopOwnershipTransferapplication/json
status
required
propertyName anything
Responses
200Successful Response
PATCH /ownership-transfers/example
1curl -X PATCH "http://localhost:8000/ownership-transfers/example" \
2 -H "Content-Type: application/json" \
3 -d '{"status":"cancelled"}'
1fetch("http://localhost:8000/ownership-transfers/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "status": "cancelled"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/ownership-transfers/example",
5 json={"status":"cancelled"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /sessions/links

Email a sign-in link

POST /sessions/links — mail proof of mailbox for one workspace. Always answers the same way. Whether the address exists, belongs to this workspace, or is a stranger's is not something an unauthenticated caller gets to learn: this endpoint would otherwise be a membership oracle for any workspace whose slug you can guess.

Body · SignInRequestapplication/json
email string · min length: 1 · email
required
workspace string · min length: 1 · max length: 100
required
open string · max length: 30
propertyName anything
Responses
200Successful Response
POST /sessions/links
1curl -X POST "http://localhost:8000/sessions/links" \
2 -H "Content-Type: application/json" \
3 -d '{"email":"user@example.com","workspace":"string","open":"string"}'
1fetch("http://localhost:8000/sessions/links", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "email": "user@example.com",
6 "workspace": "string",
7 "open": "string"
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/sessions/links",
5 json={"email":"user@example.com","workspace":"string","open":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /password-recoveries

Ask for help signing in

POST /password-recoveries: for someone who cannot open their work email either. Answers straight away and the same way for every address; the work happens after the reply.

Body · SignInRequestapplication/json
email string · min length: 1 · email
required
workspace string · min length: 1 · max length: 100
required
open string · max length: 30
propertyName anything
Responses
200Successful Response
POST /password-recoveries
1curl -X POST "http://localhost:8000/password-recoveries" \
2 -H "Content-Type: application/json" \
3 -d '{"email":"user@example.com","workspace":"string","open":"string"}'
1fetch("http://localhost:8000/password-recoveries", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "email": "user@example.com",
6 "workspace": "string",
7 "open": "string"
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/password-recoveries",
5 json={"email":"user@example.com","workspace":"string","open":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /sessions

Sign in

POST /sessions — sign in. Three ways in, all landing on the same seat lookup and 2FA gate: * a password (`email` + `password` + `workspace`), * a confirmed link (`token`), * the fast path (`email` + `workspace`) for a caller already holding a live session for that identity, which mints and mails nothing. Whichever route, 2FA is asked for exactly once at the end, and only if the account has it. There is no mailed code: see core/magiclink.py for why.

Body · Loginapplication/json
email string · min length: 1 · email
workspace string · min length: 1 · max length: 100
password string · min length: 1 · max length: 128
token string · min length: 1 · max length: 200
totp string · min length: 6 · max length: 9
is_recovery_code
open string · max length: 30
return_to string · max length: 4000
propertyName anything
Responses
200Successful Response
POST /sessions
1curl -X POST "http://localhost:8000/sessions" \
2 -H "Content-Type: application/json" \
3 -d '{"email":"user@example.com","workspace":"string","password":"string","token":"string","totp":"string","is_recovery_code":{},"open":"string","return_to":"string"}'
1fetch("http://localhost:8000/sessions", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "email": "user@example.com",
6 "workspace": "string",
7 "password": "string",
8 "token": "string",
9 "totp": "string",
10 "is_recovery_code": {},
11 "open": "string",
12 "return_to": "string"
13}),
14})
15 .then((res) => res.json())
16 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/sessions",
5 json={"email":"user@example.com","workspace":"string","password":"string","token":"string","totp":"string","is_recovery_code":{},"open":"string","return_to":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /workspaces/lookup

Find a workspace by name

POST /workspaces/lookup — resolve a typed workspace name to its address. Unlike the sign-in endpoints this one DOES confirm existence, because a finder that refuses to say whether it found anything is not a finder. The exposure is small: a workspace slug is already its public subdomain, so this tells an enumerator nothing the DNS name does not. Rate limited by IP to keep that from being cheap at scale.

Body · WorkspaceLookupapplication/json
slug string · min length: 1 · max length: 100
required
propertyName anything
Responses
200Successful Response
POST /workspaces/lookup
1curl -X POST "http://localhost:8000/workspaces/lookup" \
2 -H "Content-Type: application/json" \
3 -d '{"slug":"string"}'
1fetch("http://localhost:8000/workspaces/lookup", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "slug": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/workspaces/lookup",
5 json={"slug":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /workspaces/reminders

Email the workspaces an address belongs to

POST /workspaces/reminders: email an address the workspaces it belongs to. Always answers the same way and sends after the response, so neither the reply nor its timing says whether the address has any workspace at all.

Body · WorkspaceReminderapplication/json
email string · min length: 3 · max length: 320 · email
required
propertyName anything
Responses
200Successful Response
POST /workspaces/reminders
1curl -X POST "http://localhost:8000/workspaces/reminders" \
2 -H "Content-Type: application/json" \
3 -d '{"email":"user@example.com"}'
1fetch("http://localhost:8000/workspaces/reminders", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "email": "user@example.com"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/workspaces/reminders",
5 json={"email":"user@example.com"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /workspaces

Sign up

Body · Signupapplication/json
company_name string · min length: 1 · max length: 200
required
full_name string · min length: 1 · max length: 200
required
email string · min length: 1 · email
required
terms_agreed
required
company_location string
industry string
company_size string
job_title string
propertyName anything
Responses
200Successful Response
POST /workspaces
1curl -X POST "http://localhost:8000/workspaces" \
2 -H "Content-Type: application/json" \
3 -d '{"company_name":"string","full_name":"string","email":"user@example.com","terms_agreed":{},"company_location":"string","industry":"string","company_size":"string","job_title":"string"}'
1fetch("http://localhost:8000/workspaces", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "company_name": "string",
6 "full_name": "string",
7 "email": "user@example.com",
8 "terms_agreed": {},
9 "company_location": "string",
10 "industry": "string",
11 "company_size": "string",
12 "job_title": "string"
13}),
14})
15 .then((res) => res.json())
16 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/workspaces",
5 json={"company_name":"string","full_name":"string","email":"user@example.com","terms_agreed":{},"company_location":"string","industry":"string","company_size":"string","job_title":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /verifications

Verify OTP

Body · Verifyapplication/json
code string · min length: 1 · max length: 12
required
password string · min length: 8 · max length: 128
required
propertyName anything
Responses
200Successful Response
POST /verifications
1curl -X POST "http://localhost:8000/verifications" \
2 -H "Content-Type: application/json" \
3 -d '{"code":"string","password":"string"}'
1fetch("http://localhost:8000/verifications", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "code": "string",
6 "password": "string"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/verifications",
5 json={"code":"string","password":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /invitations/:token

Accept invitation

PUT /invitations/:token — Accept a workspace invitation and set a password. Acceptance flips the membership from "invited" to "joined", which is the gate `_seat` enforces on every sign-in afterwards. Holding the invitation mail already proves the mailbox, so the password chosen here is not a second proof: it is the credential for every sign-in after this one, so that getting in never depends on reaching a mailbox again.

Parameters
token string · path
required
Body · AcceptInvitationapplication/json
password string · min length: 8 · max length: 128
required
propertyName anything
Responses
200Successful Response
PUT /invitations/example
1curl -X PUT "http://localhost:8000/invitations/example" \
2 -H "Content-Type: application/json" \
3 -d '{"password":"string"}'
1fetch("http://localhost:8000/invitations/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "password": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/invitations/example",
5 json={"password":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /password-resets/:token

Set a password through a mailed link

PUT /password-resets/:token: set a new password through a mailed link. Rotating the stamp burns the link and signs the account out everywhere.

Parameters
token string · path
required
Body · SetPasswordapplication/json
password string · min length: 8 · max length: 128
required
propertyName anything
Responses
200Successful Response
PUT /password-resets/example
1curl -X PUT "http://localhost:8000/password-resets/example" \
2 -H "Content-Type: application/json" \
3 -d '{"password":"string"}'
1fetch("http://localhost:8000/password-resets/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "password": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/password-resets/example",
5 json={"password":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /email-changes/:token

Confirm a new sign-in email

PUT /email-changes/:token: bind the new sign-in email an admin started. The person proves they hold the login with its current email and password, and 2FA when it is on. One answer for a wrong email or password, rate limited like sign-in. Every session then ends.

Parameters
token string · path
required
Body · ConfirmEmailChangeapplication/json
workspace string · min length: 1 · max length: 100
required
email string · min length: 1 · email
required
password string · min length: 1 · max length: 128
required
totp string · min length: 6 · max length: 9
is_recovery_code
propertyName anything
Responses
200Successful Response
PUT /email-changes/example
1curl -X PUT "http://localhost:8000/email-changes/example" \
2 -H "Content-Type: application/json" \
3 -d '{"workspace":"string","email":"user@example.com","password":"string","totp":"string","is_recovery_code":{}}'
1fetch("http://localhost:8000/email-changes/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "workspace": "string",
6 "email": "user@example.com",
7 "password": "string",
8 "totp": "string",
9 "is_recovery_code": {}
10}),
11})
12 .then((res) => res.json())
13 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/email-changes/example",
5 json={"workspace":"string","email":"user@example.com","password":"string","totp":"string","is_recovery_code":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
GET /auto-reply undocumented

/auto-reply

GET /auto-reply: what a new ticket hears first, in and out of hours, who never gets it, and its last 30 days.

Responses
200Successful Response
GET /auto-reply
1curl "http://localhost:8000/auto-reply"
1fetch("http://localhost:8000/auto-reply")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/auto-reply")
4print(response.json())
200 Example Response
No Body
DELETE /avatars/:member_id undocumented

/avatars/:member_id

DELETE /avatars/:member_id — clear avatar, revert to initials.

Parameters
member_id string · path
required
Responses
200Successful Response
DELETE /avatars/example
1curl -X DELETE "http://localhost:8000/avatars/example"
1fetch("http://localhost:8000/avatars/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/avatars/example")
4print(response.json())
200 Example Response
No Body
POST /avatars/:member_id undocumented

/avatars/:member_id

POST /avatars/:member_id — upload profile avatar to R2.

Parameters
member_id string · path
required
Responses
200Successful Response
POST /avatars/example
1curl -X POST "http://localhost:8000/avatars/example"
1fetch("http://localhost:8000/avatars/example", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/avatars/example")
4print(response.json())
200 Example Response
No Body
POST /payment-methods

Add payment method

POST /accounts/billing/payment-methods — Add a payment method via Flutterwave v4.

Body · AddPaymentMethodapplication/json
card_number string · min length: 13 · max length: 19
required
expiry_month string · min length: 1 · max length: 2
required
expiry_year string · min length: 2 · max length: 4
required
cvv string · min length: 3 · max length: 4
required
propertyName anything
Responses
200Successful Response
POST /payment-methods
1curl -X POST "http://localhost:8000/payment-methods" \
2 -H "Content-Type: application/json" \
3 -d '{"card_number":"string","expiry_month":"string","expiry_year":"string","cvv":"string"}'
1fetch("http://localhost:8000/payment-methods", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "card_number": "string",
6 "expiry_month": "string",
7 "expiry_year": "string",
8 "cvv": "string"
9}),
10})
11 .then((res) => res.json())
12 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/payment-methods",
5 json={"card_number":"string","expiry_month":"string","expiry_year":"string","cvv":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /payment-methods/:pm_id/authorization

Confirm a card with its PIN, OTP or address

PUT /payment-methods/:pm_id/authorization: the PIN, OTP or billing address the bank asked for.

Parameters
pm_id string · path
required
Body · AuthorizeCardapplication/json
type
required
pin string · min length: 4 · max length: 4
otp string · min length: 4 · max length: 8
address object
propertyName anything
Responses
200Successful Response
PUT /payment-methods/example/authorization
1curl -X PUT "http://localhost:8000/payment-methods/example/authorization" \
2 -H "Content-Type: application/json" \
3 -d '{"type":"pin","pin":"string","otp":"string","address":{"line1":"string","line2":"string","city":"string","state":"string","postal_code":"string","country":"string"}}'
1fetch("http://localhost:8000/payment-methods/example/authorization", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "type": "pin",
6 "pin": "string",
7 "otp": "string",
8 "address": {
9 "line1": "string",
10 "line2": "string",
11 "city": "string",
12 "state": "string",
13 "postal_code": "string",
14 "country": "string"
15 }
16}),
17})
18 .then((res) => res.json())
19 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/payment-methods/example/authorization",
5 json={"type":"pin","pin":"string","otp":"string","address":{"line1":"string","line2":"string","city":"string","state":"string","postal_code":"string","country":"string"}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /plan

Switch plan

PUT /plan: switch plan immediately, with upgrade proration.

Body · SwitchPlanapplication/json
plan
required
propertyName anything
Responses
200Successful Response
PUT /plan
1curl -X PUT "http://localhost:8000/plan" \
2 -H "Content-Type: application/json" \
3 -d '{"plan":"starter"}'
1fetch("http://localhost:8000/plan", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "plan": "starter"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/plan",
5 json={"plan":"starter"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /plan/interval

Update billing interval

PUT /plan/interval — Switch billing interval (monthly/annual). The live invoice loop reads the interval fresh on its next firing, so no loop surgery is needed for annual→monthly. Switching an ACTIVE workspace TO annual bills the year upfront now: an immediate 'seats' invoice.due is emitted, and the existing monthly loop converts itself to the usage loop when it next fires.

Body · UpdateBillingIntervalapplication/json
billing_interval
required
propertyName anything
Responses
200Successful Response
PUT /plan/interval
1curl -X PUT "http://localhost:8000/plan/interval" \
2 -H "Content-Type: application/json" \
3 -d '{"billing_interval":"monthly"}'
1fetch("http://localhost:8000/plan/interval", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "billing_interval": "monthly"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/plan/interval",
5 json={"billing_interval":"monthly"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /finance/bills/:entry_id

Receive/approve/void a bill

Parameters
entry_id string · path
required
Body · UpdateBillStatusapplication/json
status
required
propertyName anything
Responses
200Successful Response
PATCH /finance/bills/example
1curl -X PATCH "http://localhost:8000/finance/bills/example" \
2 -H "Content-Type: application/json" \
3 -d '{"status":"received"}'
1fetch("http://localhost:8000/finance/bills/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "status": "received"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/finance/bills/example",
5 json={"status":"received"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /finance/bills

Create a bill

Body · CreateBillapplication/json
date string · min length: 10
required
items array
company_mrn string
contact_mrn string
currency
required
exchange_rate number
due_date string · min length: 10
memo string · max length: 5000
tags array
sources array
adjustments array
dimensions
idempotency_key string · max length: 100
propertyName anything
Responses
200Successful Response
POST /finance/bills
1curl -X POST "http://localhost:8000/finance/bills" \
2 -H "Content-Type: application/json" \
3 -d '{"date":"string","items":[{"description":"string","quantity":1.5,"unit_price":1.5,"discount":1.5,"amount":1.5,"account_code":"string","product_mrn":"string","taxes":[{"name":"string","rate":1.5,"amount":1.5,"reverse_charge":{}}]}],"company_mrn":"string","contact_mrn":"string","currency":"USD","exchange_rate":1.5,"due_date":"string","memo":"string","tags":["string"],"sources":["string"],"adjustments":[{"label":"string","type":"fixed","value":1.5,"amount":1.5,"account_code":"string"}],"dimensions":{},"idempotency_key":"string"}'
1fetch("http://localhost:8000/finance/bills", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "date": "string",
6 "items": [
7 {
8 "description": "string",
9 "quantity": 1.5,
10 "unit_price": 1.5,
11 "discount": 1.5,
12 "amount": 1.5,
13 "account_code": "string",
14 "product_mrn": "string",
15 "taxes": [
16 {
17 "name": "string",
18 "rate": 1.5,
19 "amount": 1.5,
20 "reverse_charge": {}
21 }
22 ]
23 }
24 ],
25 "company_mrn": "string",
26 "contact_mrn": "string",
27 "currency": "USD",
28 "exchange_rate": 1.5,
29 "due_date": "string",
30 "memo": "string",
31 "tags": [
32 "string"
33 ],
34 "sources": [
35 "string"
36 ],
37 "adjustments": [
38 {
39 "label": "string",
40 "type": "fixed",
41 "value": 1.5,
42 "amount": 1.5,
43 "account_code": "string"
44 }
45 ],
46 "dimensions": {},
47 "idempotency_key": "string"
48}),
49})
50 .then((res) => res.json())
51 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/finance/bills",
5 json={"date":"string","items":[{"description":"string","quantity":1.5,"unit_price":1.5,"discount":1.5,"amount":1.5,"account_code":"string","product_mrn":"string","taxes":[{"name":"string","rate":1.5,"amount":1.5,"reverse_charge":{}}]}],"company_mrn":"string","contact_mrn":"string","currency":"USD","exchange_rate":1.5,"due_date":"string","memo":"string","tags":["string"],"sources":["string"],"adjustments":[{"label":"string","type":"fixed","value":1.5,"amount":1.5,"account_code":"string"}],"dimensions":{},"idempotency_key":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /finance/bills/:entry_id

Update a draft bill

Parameters
entry_id string · path
required
Body · UpdateBillapplication/json
date string · min length: 10
items array
company_mrn string
contact_mrn string
currency
exchange_rate number
due_date string · min length: 10
memo string · max length: 5000
tags array
adjustments array
dimensions
propertyName anything
Responses
200Successful Response
PUT /finance/bills/example
1curl -X PUT "http://localhost:8000/finance/bills/example" \
2 -H "Content-Type: application/json" \
3 -d '{"date":"string","items":[{"description":"string","quantity":1.5,"unit_price":1.5,"discount":1.5,"amount":1.5,"account_code":"string","product_mrn":"string","taxes":[{"name":"string","rate":1.5,"amount":1.5,"reverse_charge":{}}]}],"company_mrn":"string","contact_mrn":"string","currency":"USD","exchange_rate":1.5,"due_date":"string","memo":"string","tags":["string"],"adjustments":[{"label":"string","type":"fixed","value":1.5,"amount":1.5,"account_code":"string"}],"dimensions":{}}'
1fetch("http://localhost:8000/finance/bills/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "date": "string",
6 "items": [
7 {
8 "description": "string",
9 "quantity": 1.5,
10 "unit_price": 1.5,
11 "discount": 1.5,
12 "amount": 1.5,
13 "account_code": "string",
14 "product_mrn": "string",
15 "taxes": [
16 {
17 "name": "string",
18 "rate": 1.5,
19 "amount": 1.5,
20 "reverse_charge": {}
21 }
22 ]
23 }
24 ],
25 "company_mrn": "string",
26 "contact_mrn": "string",
27 "currency": "USD",
28 "exchange_rate": 1.5,
29 "due_date": "string",
30 "memo": "string",
31 "tags": [
32 "string"
33 ],
34 "adjustments": [
35 {
36 "label": "string",
37 "type": "fixed",
38 "value": 1.5,
39 "amount": 1.5,
40 "account_code": "string"
41 }
42 ],
43 "dimensions": {}
44}),
45})
46 .then((res) => res.json())
47 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/finance/bills/example",
5 json={"date":"string","items":[{"description":"string","quantity":1.5,"unit_price":1.5,"discount":1.5,"amount":1.5,"account_code":"string","product_mrn":"string","taxes":[{"name":"string","rate":1.5,"amount":1.5,"reverse_charge":{}}]}],"company_mrn":"string","contact_mrn":"string","currency":"USD","exchange_rate":1.5,"due_date":"string","memo":"string","tags":["string"],"adjustments":[{"label":"string","type":"fixed","value":1.5,"amount":1.5,"account_code":"string"}],"dimensions":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
DELETE /boards/:board_id/tasks/:task_id undocumented

/boards/:board_id/tasks/:task_id

Return a single task from the board to the incubator.

Parameters
board_id string · path
required
task_id string · path
required
Responses
200Successful Response
DELETE /boards/example/tasks/example
1curl -X DELETE "http://localhost:8000/boards/example/tasks/example"
1fetch("http://localhost:8000/boards/example/tasks/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/boards/example/tasks/example")
4print(response.json())
200 Example Response
No Body
DELETE /boards/:board_id/tasks undocumented

/boards/:board_id/tasks

DELETE /boards/:board_id/tasks?scheduled=false — clear unplanned tasks from board.

Parameters
board_id string · path
required
Responses
200Successful Response
DELETE /boards/example/tasks
1curl -X DELETE "http://localhost:8000/boards/example/tasks"
1fetch("http://localhost:8000/boards/example/tasks", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/boards/example/tasks")
4print(response.json())
200 Example Response
No Body
DELETE /boards/:board_id

Delete a board

Parameters
board_id string · path
required
Body · DeleteBoardapplication/json
confirm_key string · min length: 1
required
propertyName anything
Responses
200Successful Response
DELETE /boards/example
1curl -X DELETE "http://localhost:8000/boards/example" \
2 -H "Content-Type: application/json" \
3 -d '{"confirm_key":"string"}'
1fetch("http://localhost:8000/boards/example", {
2 method: "DELETE",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "confirm_key": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.delete(
4 "http://localhost:8000/boards/example",
5 json={"confirm_key":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
DELETE /boards/:board_id/topics/:topic_id undocumented

/boards/:board_id/topics/:topic_id

DELETE /boards/:board_id/topics/:topic_id: remove a topic; its tasks keep going with no topic.

Parameters
board_id string · path
required
topic_id string · path
required
Responses
200Successful Response
DELETE /boards/example/topics/example
1curl -X DELETE "http://localhost:8000/boards/example/topics/example"
1fetch("http://localhost:8000/boards/example/topics/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/boards/example/topics/example")
4print(response.json())
200 Example Response
No Body
DELETE /boards/:board_id/members/:member_id undocumented

/boards/:board_id/members/:member_id

Parameters
board_id string · path
required
member_id string · path
required
Responses
200Successful Response
DELETE /boards/example/members/example
1curl -X DELETE "http://localhost:8000/boards/example/members/example"
1fetch("http://localhost:8000/boards/example/members/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/boards/example/members/example")
4print(response.json())
200 Example Response
No Body
GET /boards undocumented

/boards

Responses
200Successful Response
GET /boards
1curl "http://localhost:8000/boards"
1fetch("http://localhost:8000/boards")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/boards")
4print(response.json())
200 Example Response
No Body
GET /boards/:board_id undocumented

/boards/:board_id

GET /boards/:board_id: one project's settings, fields, capacity and intake form.

Parameters
board_id string · path
required
Responses
200Successful Response
GET /boards/example
1curl "http://localhost:8000/boards/example"
1fetch("http://localhost:8000/boards/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/boards/example")
4print(response.json())
200 Example Response
No Body
GET /boards/:board_id/task-filters undocumented

/boards/:board_id/task-filters

GET /boards/:board_id/task-filters: the fields a board's tasks can be filtered by.

Parameters
board_id string · path
required
Responses
200Successful Response
GET /boards/example/task-filters
1curl "http://localhost:8000/boards/example/task-filters"
1fetch("http://localhost:8000/boards/example/task-filters")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/boards/example/task-filters")
4print(response.json())
200 Example Response
No Body
GET /boards/:board_id/task-filters/:key/options undocumented

/boards/:board_id/task-filters/:key/options

GET /boards/:board_id/task-filters/:key/options?q=...: one field's values on a board.

Parameters
board_id string · path
required
key string · path
required
Responses
200Successful Response
GET /boards/example/task-filters/example/options
1curl "http://localhost:8000/boards/example/task-filters/example/options"
1fetch("http://localhost:8000/boards/example/task-filters/example/options")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/boards/example/task-filters/example/options")
4print(response.json())
200 Example Response
No Body
GET /boards/:board_id/incubator-filters undocumented

/boards/:board_id/incubator-filters

GET /boards/:board_id/incubator-filters: the fields a board's incubator can be filtered by.

Parameters
board_id string · path
required
Responses
200Successful Response
GET /boards/example/incubator-filters
1curl "http://localhost:8000/boards/example/incubator-filters"
1fetch("http://localhost:8000/boards/example/incubator-filters")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/boards/example/incubator-filters")
4print(response.json())
200 Example Response
No Body
GET /boards/:board_id/incubator-filters/:key/options undocumented

/boards/:board_id/incubator-filters/:key/options

GET /boards/:board_id/incubator-filters/:key/options?q=...: one field's values among the incubator's tasks.

Parameters
board_id string · path
required
key string · path
required
Responses
200Successful Response
GET /boards/example/incubator-filters/example/options
1curl "http://localhost:8000/boards/example/incubator-filters/example/options"
1fetch("http://localhost:8000/boards/example/incubator-filters/example/options")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/boards/example/incubator-filters/example/options")
4print(response.json())
200 Example Response
No Body
GET /boards/:board_id/topics undocumented

/boards/:board_id/topics

GET /boards/:board_id/topics?q=...: a board's topics.

Parameters
board_id string · path
required
Responses
200Successful Response
GET /boards/example/topics
1curl "http://localhost:8000/boards/example/topics"
1fetch("http://localhost:8000/boards/example/topics")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/boards/example/topics")
4print(response.json())
200 Example Response
No Body
GET /boards/:board_id/members undocumented

/boards/:board_id/members

Parameters
board_id string · path
required
Responses
200Successful Response
GET /boards/example/members
1curl "http://localhost:8000/boards/example/members"
1fetch("http://localhost:8000/boards/example/members")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/boards/example/members")
4print(response.json())
200 Example Response
No Body
GET /boards/:board_id/summaries/:kind undocumented

/boards/:board_id/summaries/:kind

GET /boards/:board_id/summaries/:kind: the saved summary, and whether the tasks moved on since it was written.

Parameters
board_id string · path
required
kind string · path
required
Responses
200Successful Response
GET /boards/example/summaries/example
1curl "http://localhost:8000/boards/example/summaries/example"
1fetch("http://localhost:8000/boards/example/summaries/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/boards/example/summaries/example")
4print(response.json())
200 Example Response
No Body
GET /boards/:board_id/status-updates undocumented

/boards/:board_id/status-updates

GET /boards/:board_id/status-updates: the project's status updates, newest first.

Parameters
board_id string · path
required
Responses
200Successful Response
GET /boards/example/status-updates
1curl "http://localhost:8000/boards/example/status-updates"
1fetch("http://localhost:8000/boards/example/status-updates")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/boards/example/status-updates")
4print(response.json())
200 Example Response
No Body
PATCH /boards/:board_id/columns

Rename a board column

Rename a board column (lane) and update all tasks referencing it.

Parameters
board_id string · path
required
Body · RenameColumnapplication/json
old_name string · min length: 1
required
new_name string · min length: 1
required
propertyName anything
Responses
200Successful Response
PATCH /boards/example/columns
1curl -X PATCH "http://localhost:8000/boards/example/columns" \
2 -H "Content-Type: application/json" \
3 -d '{"old_name":"string","new_name":"string"}'
1fetch("http://localhost:8000/boards/example/columns", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "old_name": "string",
6 "new_name": "string"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/boards/example/columns",
5 json={"old_name":"string","new_name":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /boards/:board_id/members/:member_id

Change a project member's role

Parameters
board_id string · path
required
member_id string · path
required
Body · UpdateBoardMemberapplication/json
role
required
propertyName anything
Responses
200Successful Response
PATCH /boards/example/members/example
1curl -X PATCH "http://localhost:8000/boards/example/members/example" \
2 -H "Content-Type: application/json" \
3 -d '{"role":"read"}'
1fetch("http://localhost:8000/boards/example/members/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "role": "read"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/boards/example/members/example",
5 json={"role":"read"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /boards

Create a board

Body · CreateBoardapplication/json
title string · min length: 1 · max length: 200
required
description string · max length: 2000
template_id string
template_key
is_template
grid object
propertyName anything
Responses
200Successful Response
POST /boards
1curl -X POST "http://localhost:8000/boards" \
2 -H "Content-Type: application/json" \
3 -d '{"title":"string","description":"string","template_id":"string","template_key":"blank","is_template":{},"grid":{"mode":"dotted","spacing":1,"snap":{},"background":"string","default_sticky_color":"string"}}'
1fetch("http://localhost:8000/boards", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "title": "string",
6 "description": "string",
7 "template_id": "string",
8 "template_key": "blank",
9 "is_template": {},
10 "grid": {
11 "mode": "dotted",
12 "spacing": 1,
13 "snap": {},
14 "background": "string",
15 "default_sticky_color": "string"
16 }
17}),
18})
19 .then((res) => res.json())
20 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/boards",
5 json={"title":"string","description":"string","template_id":"string","template_key":"blank","is_template":{},"grid":{"mode":"dotted","spacing":1,"snap":{},"background":"string","default_sticky_color":"string"}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /boards/:board_id/tasks

Pull tasks onto a board

POST /boards/:board_id/tasks — pull tasks from incubator onto a board. Accepts either explicit task_ids or a schedule_id, exactly one. With schedule_id, every incubator task in that schedule is pulled at once.

Parameters
board_id string · path
required
Body · PullTasksapplication/json
task_ids array
schedule_id string
propertyName anything
Responses
200Successful Response
POST /boards/example/tasks
1curl -X POST "http://localhost:8000/boards/example/tasks" \
2 -H "Content-Type: application/json" \
3 -d '{"task_ids":["string"],"schedule_id":"string"}'
1fetch("http://localhost:8000/boards/example/tasks", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "task_ids": [
6 "string"
7 ],
8 "schedule_id": "string"
9}),
10})
11 .then((res) => res.json())
12 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/boards/example/tasks",
5 json={"task_ids":["string"],"schedule_id":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /boards/:board_id/members

Add a project member

Parameters
board_id string · path
required
Body · AddBoardMemberapplication/json
member_id string · min length: 1
required
role
required
propertyName anything
Responses
200Successful Response
POST /boards/example/members
1curl -X POST "http://localhost:8000/boards/example/members" \
2 -H "Content-Type: application/json" \
3 -d '{"member_id":"string","role":"read"}'
1fetch("http://localhost:8000/boards/example/members", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "member_id": "string",
6 "role": "read"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/boards/example/members",
5 json={"member_id":"string","role":"read"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /boards/:board_id/requests

Send a request to a project

POST /boards/:board_id/requests: someone signed in asks the project for work through its intake form.

Parameters
board_id string · path
required
Body · CreateRequestapplication/json
title string · min length: 1 · max length: 200
required
description string · max length: 10000
priority
due_date string
fields array
attachments array
propertyName anything
Responses
200Successful Response
POST /boards/example/requests
1curl -X POST "http://localhost:8000/boards/example/requests" \
2 -H "Content-Type: application/json" \
3 -d '{"title":"string","description":"string","priority":"low","due_date":"string","fields":[{"field_id":"string","value":"string"}],"attachments":[{"key":"string","url":"string","mrn":"string","filename":"string","content_type":"string","size":1}]}'
1fetch("http://localhost:8000/boards/example/requests", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "title": "string",
6 "description": "string",
7 "priority": "low",
8 "due_date": "string",
9 "fields": [
10 {
11 "field_id": "string",
12 "value": "string"
13 }
14 ],
15 "attachments": [
16 {
17 "key": "string",
18 "url": "string",
19 "mrn": "string",
20 "filename": "string",
21 "content_type": "string",
22 "size": 1
23 }
24 ]
25}),
26})
27 .then((res) => res.json())
28 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/boards/example/requests",
5 json={"title":"string","description":"string","priority":"low","due_date":"string","fields":[{"field_id":"string","value":"string"}],"attachments":[{"key":"string","url":"string","mrn":"string","filename":"string","content_type":"string","size":1}]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /boards/:board_id/summaries

Have Saasie summarise a project

POST /boards/:board_id/summaries: Saasie writes a sprint summary or release notes, and it is kept until the tasks change.

Parameters
board_id string · path
required
Body · CreateSummaryapplication/json
kind
required
schedule_id string
propertyName anything
Responses
200Successful Response
POST /boards/example/summaries
1curl -X POST "http://localhost:8000/boards/example/summaries" \
2 -H "Content-Type: application/json" \
3 -d '{"kind":"summary","schedule_id":"string"}'
1fetch("http://localhost:8000/boards/example/summaries", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "kind": "summary",
6 "schedule_id": "string"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/boards/example/summaries",
5 json={"kind":"summary","schedule_id":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /boards/:board_id/status-updates

Post a status update

POST /boards/:board_id/status-updates: post how the project is doing, with its numbers captured.

Parameters
board_id string · path
required
Body · CreateStatusUpdateapplication/json
health
required
body string · min length: 1 · max length: 20000
required
post_to_hub
propertyName anything
Responses
200Successful Response
POST /boards/example/status-updates
1curl -X POST "http://localhost:8000/boards/example/status-updates" \
2 -H "Content-Type: application/json" \
3 -d '{"health":"on","body":"string","post_to_hub":{}}'
1fetch("http://localhost:8000/boards/example/status-updates", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "health": "on",
6 "body": "string",
7 "post_to_hub": {}
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/boards/example/status-updates",
5 json={"health":"on","body":"string","post_to_hub":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /status-updates/:status_update_id/comments

Reply to a status update

POST /status-updates/:status_update_id/comments: reply to a status update.

Parameters
status_update_id string · path
required
Body · AddStatusCommentapplication/json
text string · min length: 1 · max length: 5000
required
propertyName anything
Responses
200Successful Response
POST /status-updates/example/comments
1curl -X POST "http://localhost:8000/status-updates/example/comments" \
2 -H "Content-Type: application/json" \
3 -d '{"text":"string"}'
1fetch("http://localhost:8000/status-updates/example/comments", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "text": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/status-updates/example/comments",
5 json={"text":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /boards/:board_id

Update board settings

Update board settings (name, description, columns).

Parameters
board_id string · path
required
Body · UpdateBoardapplication/json
deleted
title string · min length: 1 · max length: 200
description string · max length: 2000
grid object
propertyName anything
Responses
200Successful Response
PUT /boards/example
1curl -X PUT "http://localhost:8000/boards/example" \
2 -H "Content-Type: application/json" \
3 -d '{"deleted":{},"title":"string","description":"string","grid":{"mode":"dotted","spacing":1,"snap":{},"background":"string","default_sticky_color":"string"}}'
1fetch("http://localhost:8000/boards/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "deleted": {},
6 "title": "string",
7 "description": "string",
8 "grid": {
9 "mode": "dotted",
10 "spacing": 1,
11 "snap": {},
12 "background": "string",
13 "default_sticky_color": "string"
14 }
15}),
16})
17 .then((res) => res.json())
18 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/boards/example",
5 json={"deleted":{},"title":"string","description":"string","grid":{"mode":"dotted","spacing":1,"snap":{},"background":"string","default_sticky_color":"string"}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /finance/budgets/:budget_id

Update a budget

Parameters
budget_id string · path
required
Body · BudgetEntryapplication/json
account_id string · min length: 1
required
period_start string · min length: 10
required
period_end string · min length: 10
required
amount number
required
dimensions object
notes string · max length: 2000
propertyName anything
Responses
200Successful Response
PATCH /finance/budgets/example
1curl -X PATCH "http://localhost:8000/finance/budgets/example" \
2 -H "Content-Type: application/json" \
3 -d '{"account_id":"string","period_start":"string","period_end":"string","amount":1.5,"dimensions":{"department":"string","location":"string","project":"string"},"notes":"string"}'
1fetch("http://localhost:8000/finance/budgets/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "account_id": "string",
6 "period_start": "string",
7 "period_end": "string",
8 "amount": 1.5,
9 "dimensions": {
10 "department": "string",
11 "location": "string",
12 "project": "string"
13 },
14 "notes": "string"
15}),
16})
17 .then((res) => res.json())
18 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/finance/budgets/example",
5 json={"account_id":"string","period_start":"string","period_end":"string","amount":1.5,"dimensions":{"department":"string","location":"string","project":"string"},"notes":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /finance/budgets

Create a budget

Body · BudgetEntryapplication/json
account_id string · min length: 1
required
period_start string · min length: 10
required
period_end string · min length: 10
required
amount number
required
dimensions object
notes string · max length: 2000
propertyName anything
Responses
200Successful Response
POST /finance/budgets
1curl -X POST "http://localhost:8000/finance/budgets" \
2 -H "Content-Type: application/json" \
3 -d '{"account_id":"string","period_start":"string","period_end":"string","amount":1.5,"dimensions":{"department":"string","location":"string","project":"string"},"notes":"string"}'
1fetch("http://localhost:8000/finance/budgets", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "account_id": "string",
6 "period_start": "string",
7 "period_end": "string",
8 "amount": 1.5,
9 "dimensions": {
10 "department": "string",
11 "location": "string",
12 "project": "string"
13 },
14 "notes": "string"
15}),
16})
17 .then((res) => res.json())
18 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/finance/budgets",
5 json={"account_id":"string","period_start":"string","period_end":"string","amount":1.5,"dimensions":{"department":"string","location":"string","project":"string"},"notes":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /business-hours/:schedule_id

Change a business hours schedule

PATCH /business-hours/:schedule_id: change a schedule, and work out again the clocks that count on it.

Parameters
schedule_id string · path
required
Body · ScheduleInapplication/json
name string · max length: 60
zone string · max length: 64
location_id string · max length: 80
days array
hols array
ooh
back
is_default
copy_of string · max length: 60
propertyName anything
Responses
200Successful Response
PATCH /business-hours/example
1curl -X PATCH "http://localhost:8000/business-hours/example" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","zone":"string","location_id":"string","days":[[["string"]]],"hols":[{"date":"string","name":"string","closes":"string","yearly":{},"country":"string","moon":{},"key":"string"}],"ooh":{},"back":{},"is_default":{},"copy_of":"string"}'
1fetch("http://localhost:8000/business-hours/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "zone": "string",
7 "location_id": "string",
8 "days": [
9 [
10 [
11 "string"
12 ]
13 ]
14 ],
15 "hols": [
16 {
17 "date": "string",
18 "name": "string",
19 "closes": "string",
20 "yearly": {},
21 "country": "string",
22 "moon": {},
23 "key": "string"
24 }
25 ],
26 "ooh": {},
27 "back": {},
28 "is_default": {},
29 "copy_of": "string"
30}),
31})
32 .then((res) => res.json())
33 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/business-hours/example",
5 json={"name":"string","zone":"string","location_id":"string","days":[[["string"]]],"hols":[{"date":"string","name":"string","closes":"string","yearly":{},"country":"string","moon":{},"key":"string"}],"ooh":{},"back":{},"is_default":{},"copy_of":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /business-hours

Make a business hours schedule

POST /business-hours: a new schedule. The first one is what new service levels start on.

Body · ScheduleInapplication/json
name string · max length: 60
zone string · max length: 64
location_id string · max length: 80
days array
hols array
ooh
back
is_default
copy_of string · max length: 60
propertyName anything
Responses
200Successful Response
POST /business-hours
1curl -X POST "http://localhost:8000/business-hours" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","zone":"string","location_id":"string","days":[[["string"]]],"hols":[{"date":"string","name":"string","closes":"string","yearly":{},"country":"string","moon":{},"key":"string"}],"ooh":{},"back":{},"is_default":{},"copy_of":"string"}'
1fetch("http://localhost:8000/business-hours", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "zone": "string",
7 "location_id": "string",
8 "days": [
9 [
10 [
11 "string"
12 ]
13 ]
14 ],
15 "hols": [
16 {
17 "date": "string",
18 "name": "string",
19 "closes": "string",
20 "yearly": {},
21 "country": "string",
22 "moon": {},
23 "key": "string"
24 }
25 ],
26 "ooh": {},
27 "back": {},
28 "is_default": {},
29 "copy_of": "string"
30}),
31})
32 .then((res) => res.json())
33 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/business-hours",
5 json={"name":"string","zone":"string","location_id":"string","days":[[["string"]]],"hols":[{"date":"string","name":"string","closes":"string","yearly":{},"country":"string","moon":{},"key":"string"}],"ooh":{},"back":{},"is_default":{},"copy_of":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
DELETE /business-hours/:schedule_id undocumented

/business-hours/:schedule_id

DELETE /business-hours/:schedule_id: its service levels move to another schedule, or count around the clock.

Parameters
schedule_id string · path
required
Responses
200Successful Response
DELETE /business-hours/example
1curl -X DELETE "http://localhost:8000/business-hours/example"
1fetch("http://localhost:8000/business-hours/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/business-hours/example")
4print(response.json())
200 Example Response
No Body
GET /business-hours undocumented

/business-hours

GET /business-hours: every schedule, open or closed right now, its holidays and the service levels on it.

Responses
200Successful Response
GET /business-hours
1curl "http://localhost:8000/business-hours"
1fetch("http://localhost:8000/business-hours")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/business-hours")
4print(response.json())
200 Example Response
No Body
GET /call-links/:slug/participants undocumented

/call-links/:slug/participants

Who is on the call behind a join link, for the greenroom's invited line.

Parameters
slug string · path
required
Responses
200Successful Response
GET /call-links/example/participants
1curl "http://localhost:8000/call-links/example/participants"
1fetch("http://localhost:8000/call-links/example/participants")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/call-links/example/participants")
4print(response.json())
200 Example Response
No Body
DELETE /calls/:id undocumented

/calls/:id

Parameters
id string · path
required
Responses
200Successful Response
DELETE /calls/example
1curl -X DELETE "http://localhost:8000/calls/example"
1fetch("http://localhost:8000/calls/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/calls/example")
4print(response.json())
200 Example Response
No Body
DELETE /calls/:id/participants/:member_mrn undocumented

/calls/:id/participants/:member_mrn

Parameters
id string · path
required
member_mrn string · path
required
Responses
200Successful Response
DELETE /calls/example/participants/example
1curl -X DELETE "http://localhost:8000/calls/example/participants/example"
1fetch("http://localhost:8000/calls/example/participants/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/calls/example/participants/example")
4print(response.json())
200 Example Response
No Body
DELETE /calls/:id/sessions undocumented

/calls/:id/sessions

Parameters
id string · path
required
Responses
200Successful Response
DELETE /calls/example/sessions
1curl -X DELETE "http://localhost:8000/calls/example/sessions"
1fetch("http://localhost:8000/calls/example/sessions", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/calls/example/sessions")
4print(response.json())
200 Example Response
No Body
DELETE /calls/:id/recordings/:recording_id undocumented

/calls/:id/recordings/:recording_id

Parameters
id string · path
required
recording_id string · path
required
Responses
200Successful Response
DELETE /calls/example/recordings/example
1curl -X DELETE "http://localhost:8000/calls/example/recordings/example"
1fetch("http://localhost:8000/calls/example/recordings/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/calls/example/recordings/example")
4print(response.json())
200 Example Response
No Body
GET /calls undocumented

/calls

Responses
200Successful Response
GET /calls
1curl "http://localhost:8000/calls"
1fetch("http://localhost:8000/calls")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/calls")
4print(response.json())
200 Example Response
No Body
GET /calls/:id undocumented

/calls/:id

Parameters
id string · path
required
Responses
200Successful Response
GET /calls/example
1curl "http://localhost:8000/calls/example"
1fetch("http://localhost:8000/calls/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/calls/example")
4print(response.json())
200 Example Response
No Body
GET /calls/:id/participants undocumented

/calls/:id/participants

Parameters
id string · path
required
Responses
200Successful Response
GET /calls/example/participants
1curl "http://localhost:8000/calls/example/participants"
1fetch("http://localhost:8000/calls/example/participants")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/calls/example/participants")
4print(response.json())
200 Example Response
No Body
GET /calls/:id/admission undocumented

/calls/:id/admission

Poll endpoint for a member who knocked under the lobby policy. Mirrors the guest admission poll. Returns one of: - {state: 'waiting'} — host hasn't decided yet - {state: 'denied'} — host declined - {state: 'admitted'} — host let them in; the member then navigates to the room, where api_join_call mints their LK token - {state: 'idle'} — no pending knock for this member

Parameters
id string · path
required
Responses
200Successful Response
GET /calls/example/admission
1curl "http://localhost:8000/calls/example/admission"
1fetch("http://localhost:8000/calls/example/admission")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/calls/example/admission")
4print(response.json())
200 Example Response
No Body
GET /calls/:id/links undocumented

/calls/:id/links

Parameters
id string · path
required
Responses
200Successful Response
GET /calls/example/links
1curl "http://localhost:8000/calls/example/links"
1fetch("http://localhost:8000/calls/example/links")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/calls/example/links")
4print(response.json())
200 Example Response
No Body
GET /calls/:id/messages undocumented

/calls/:id/messages

Parameters
id string · path
required
Responses
200Successful Response
GET /calls/example/messages
1curl "http://localhost:8000/calls/example/messages"
1fetch("http://localhost:8000/calls/example/messages")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/calls/example/messages")
4print(response.json())
200 Example Response
No Body
GET /calls/:id/recordings undocumented

/calls/:id/recordings

Parameters
id string · path
required
Responses
200Successful Response
GET /calls/example/recordings
1curl "http://localhost:8000/calls/example/recordings"
1fetch("http://localhost:8000/calls/example/recordings")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/calls/example/recordings")
4print(response.json())
200 Example Response
No Body
PATCH /calls/:id

Update a call

Parameters
id string · path
required
Body · UpdateCallapplication/json
title string · max length: 200
scheduled_at string
status
format
access_policy
invite_policy
inviters array
settings object
attendees_can_mic
attendees_can_camera
attendees_can_screenshare
attendees_can_chat
hide_attendee_tiles
propertyName anything
Responses
200Successful Response
PATCH /calls/example
1curl -X PATCH "http://localhost:8000/calls/example" \
2 -H "Content-Type: application/json" \
3 -d '{"title":"string","scheduled_at":"string","status":"ended","format":"meeting","access_policy":"open","invite_policy":"internal","inviters":[{"mrn":"string","name":"string"}],"settings":{"waiting_room":{},"allow_screen_share":{},"mute_on_join":{},"record":{}},"attendees_can_mic":{},"attendees_can_camera":{},"attendees_can_screenshare":{},"attendees_can_chat":{},"hide_attendee_tiles":{}}'
1fetch("http://localhost:8000/calls/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "title": "string",
6 "scheduled_at": "string",
7 "status": "ended",
8 "format": "meeting",
9 "access_policy": "open",
10 "invite_policy": "internal",
11 "inviters": [
12 {
13 "mrn": "string",
14 "name": "string"
15 }
16 ],
17 "settings": {
18 "waiting_room": {},
19 "allow_screen_share": {},
20 "mute_on_join": {},
21 "record": {}
22 },
23 "attendees_can_mic": {},
24 "attendees_can_camera": {},
25 "attendees_can_screenshare": {},
26 "attendees_can_chat": {},
27 "hide_attendee_tiles": {}
28}),
29})
30 .then((res) => res.json())
31 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/calls/example",
5 json={"title":"string","scheduled_at":"string","status":"ended","format":"meeting","access_policy":"open","invite_policy":"internal","inviters":[{"mrn":"string","name":"string"}],"settings":{"waiting_room":{},"allow_screen_share":{},"mute_on_join":{},"record":{}},"attendees_can_mic":{},"attendees_can_camera":{},"attendees_can_screenshare":{},"attendees_can_chat":{},"hide_attendee_tiles":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /chats/:id/call-requests

Request a call from chat

POST /chats/:id/call-requests — ask the Calls app to start a call.

Parameters
id string · path
required
Body · RequestCallapplication/json
mode
propertyName anything
Responses
200Successful Response
POST /chats/example/call-requests
1curl -X POST "http://localhost:8000/chats/example/call-requests" \
2 -H "Content-Type: application/json" \
3 -d '{"mode":"video"}'
1fetch("http://localhost:8000/chats/example/call-requests", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "mode": "video"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/chats/example/call-requests",
5 json={"mode":"video"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /calls

Create a call

Body · CreateCallapplication/json
type
required
mode
format
title string · max length: 200
participants array
source_mrn string
scheduled_at string
max_participants integer · min: 2 · max: 200
access_policy
settings object
external_invitees_text string · max length: 4000
propertyName anything
Responses
200Successful Response
POST /calls
1curl -X POST "http://localhost:8000/calls" \
2 -H "Content-Type: application/json" \
3 -d '{"type":"instant","mode":"video","format":"meeting","title":"string","participants":["string"],"source_mrn":"string","scheduled_at":"string","max_participants":1,"access_policy":"open","settings":{"waiting_room":{},"allow_screen_share":{},"mute_on_join":{},"record":{}},"external_invitees_text":"string"}'
1fetch("http://localhost:8000/calls", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "type": "instant",
6 "mode": "video",
7 "format": "meeting",
8 "title": "string",
9 "participants": [
10 "string"
11 ],
12 "source_mrn": "string",
13 "scheduled_at": "string",
14 "max_participants": 1,
15 "access_policy": "open",
16 "settings": {
17 "waiting_room": {},
18 "allow_screen_share": {},
19 "mute_on_join": {},
20 "record": {}
21 },
22 "external_invitees_text": "string"
23}),
24})
25 .then((res) => res.json())
26 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/calls",
5 json={"type":"instant","mode":"video","format":"meeting","title":"string","participants":["string"],"source_mrn":"string","scheduled_at":"string","max_participants":1,"access_policy":"open","settings":{"waiting_room":{},"allow_screen_share":{},"mute_on_join":{},"record":{}},"external_invitees_text":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /calls/:id/sessions undocumented

/calls/:id/sessions

Parameters
id string · path
required
Responses
200Successful Response
POST /calls/example/sessions
1curl -X POST "http://localhost:8000/calls/example/sessions"
1fetch("http://localhost:8000/calls/example/sessions", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/calls/example/sessions")
4print(response.json())
200 Example Response
No Body
POST /calls/:id/sessions/leave undocumented

/calls/:id/sessions/leave

Parameters
id string · path
required
Responses
200Successful Response
POST /calls/example/sessions/leave
1curl -X POST "http://localhost:8000/calls/example/sessions/leave"
1fetch("http://localhost:8000/calls/example/sessions/leave", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/calls/example/sessions/leave")
4print(response.json())
200 Example Response
No Body
POST /calls/:id/token undocumented

/calls/:id/token

Mint a fresh LiveKit token for a call the member is already in. Used by the client's proactive refresh timer before the current token's `exp` kicks in. No side effects — does not update participant status or emit events.

Parameters
id string · path
required
Responses
200Successful Response
POST /calls/example/token
1curl -X POST "http://localhost:8000/calls/example/token"
1fetch("http://localhost:8000/calls/example/token", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/calls/example/token")
4print(response.json())
200 Example Response
No Body
POST /calls/:id/recordings/:recording_id/parts undocumented

/calls/:id/recordings/:recording_id/parts

Receive one chunk of an in-progress recording and stream it into R2 as a multipart part. Binary multipart body (not JSON). Host-only. The server holds at most one part (~8 MiB) in memory, so even long recordings never balloon it.

Parameters
id string · path
required
recording_id string · path
required
Responses
200Successful Response
POST /calls/example/recordings/example/parts
1curl -X POST "http://localhost:8000/calls/example/recordings/example/parts"
1fetch("http://localhost:8000/calls/example/recordings/example/parts", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/calls/example/recordings/example/parts")
4print(response.json())
200 Example Response
No Body
PUT /calls/:id/activity undocumented

/calls/:id/activity

PUT /calls/:id/activity: someone in the call spoke or said they are still here.

Parameters
id string · path
required
Responses
200Successful Response
PUT /calls/example/activity
1curl -X PUT "http://localhost:8000/calls/example/activity"
1fetch("http://localhost:8000/calls/example/activity", { method: "PUT" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.put("http://localhost:8000/calls/example/activity")
4print(response.json())
200 Example Response
No Body
DELETE /canvas/boards/:board_id undocumented

/canvas/boards/:board_id

DELETE /canvas/boards/:board_id — soft-delete + drop grants (owner only).

Parameters
board_id string · path
required
Responses
200Successful Response
DELETE /canvas/boards/example
1curl -X DELETE "http://localhost:8000/canvas/boards/example"
1fetch("http://localhost:8000/canvas/boards/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/canvas/boards/example")
4print(response.json())
200 Example Response
No Body
DELETE /canvas/trash undocumented

/canvas/trash

DELETE /canvas/trash: delete for good every trashed board the caller may purge.

Responses
200Successful Response
DELETE /canvas/trash
1curl -X DELETE "http://localhost:8000/canvas/trash"
1fetch("http://localhost:8000/canvas/trash", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/canvas/trash")
4print(response.json())
200 Example Response
No Body
DELETE /canvas/trash/:board_id undocumented

/canvas/trash/:board_id

DELETE /canvas/trash/:board_id: delete a trashed board for good and free its storage now.

Parameters
board_id string · path
required
Responses
200Successful Response
DELETE /canvas/trash/example
1curl -X DELETE "http://localhost:8000/canvas/trash/example"
1fetch("http://localhost:8000/canvas/trash/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/canvas/trash/example")
4print(response.json())
200 Example Response
No Body
DELETE /canvas/boards/:board_id/star undocumented

/canvas/boards/:board_id/star

DELETE /canvas/boards/:board_id/star: take the caller's star off a board.

Parameters
board_id string · path
required
Responses
200Successful Response
DELETE /canvas/boards/example/star
1curl -X DELETE "http://localhost:8000/canvas/boards/example/star"
1fetch("http://localhost:8000/canvas/boards/example/star", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/canvas/boards/example/star")
4print(response.json())
200 Example Response
No Body
DELETE /canvas/boards/:board_id/walkthroughs/:walkthrough_id undocumented

/canvas/boards/:board_id/walkthroughs/:walkthrough_id

DELETE /canvas/boards/:board_id/walkthroughs/:walkthrough_id: remove a walkthrough and its recording.

Parameters
board_id string · path
required
walkthrough_id string · path
required
Responses
200Successful Response
DELETE /canvas/boards/example/walkthroughs/example
1curl -X DELETE "http://localhost:8000/canvas/boards/example/walkthroughs/example"
1fetch("http://localhost:8000/canvas/boards/example/walkthroughs/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/canvas/boards/example/walkthroughs/example")
4print(response.json())
200 Example Response
No Body
DELETE /canvas/boards/:board_id/comments/:comment_id undocumented

/canvas/boards/:board_id/comments/:comment_id

DELETE /canvas/boards/:board_id/comments/:comment_id — author or board manager.

Parameters
board_id string · path
required
comment_id string · path
required
Responses
200Successful Response
DELETE /canvas/boards/example/comments/example
1curl -X DELETE "http://localhost:8000/canvas/boards/example/comments/example"
1fetch("http://localhost:8000/canvas/boards/example/comments/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/canvas/boards/example/comments/example")
4print(response.json())
200 Example Response
No Body
DELETE /canvas/boards/:board_id/vote-sessions/:session_id/votes/:object_id undocumented

/canvas/boards/:board_id/vote-sessions/:session_id/votes/:object_id

DELETE /canvas/boards/:board_id/vote-sessions/:session_id/votes/:object_id. Takes back ONE of the caller's votes on that object (a session that allows repeats can hold several), and only ever their own.

Parameters
board_id string · path
required
session_id string · path
required
object_id string · path
required
Responses
200Successful Response
DELETE /canvas/boards/example/vote-sessions/example/votes/example
1curl -X DELETE "http://localhost:8000/canvas/boards/example/vote-sessions/example/votes/example"
1fetch("http://localhost:8000/canvas/boards/example/vote-sessions/example/votes/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/canvas/boards/example/vote-sessions/example/votes/example")
4print(response.json())
200 Example Response
No Body
DELETE /canvas/boards/:board_id/exports/:target undocumented

/canvas/boards/:board_id/exports/:target

DELETE /canvas/boards/:board_id/exports/:target — take this board's saved exports back out of Files. Files refuses to delete anything Canvas owns, so removing an export has to happen here, in the app that put it there.

Parameters
board_id string · path
required
target string · path
required
Responses
200Successful Response
DELETE /canvas/boards/example/exports/example
1curl -X DELETE "http://localhost:8000/canvas/boards/example/exports/example"
1fetch("http://localhost:8000/canvas/boards/example/exports/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/canvas/boards/example/exports/example")
4print(response.json())
200 Example Response
No Body
GET /canvas/boards undocumented

/canvas/boards

GET /canvas/boards: one view of the caller's boards (?view=recent|mine|shared|starred), filtered by ?q.

Responses
200Successful Response
GET /canvas/boards
1curl "http://localhost:8000/canvas/boards"
1fetch("http://localhost:8000/canvas/boards")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/canvas/boards")
4print(response.json())
200 Example Response
No Body
GET /canvas/templates undocumented

/canvas/templates

GET /canvas/templates: the built-in templates (?source=builtin) or this workspace's own.

Responses
200Successful Response
GET /canvas/templates
1curl "http://localhost:8000/canvas/templates"
1fetch("http://localhost:8000/canvas/templates")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/canvas/templates")
4print(response.json())
200 Example Response
No Body
GET /canvas/boards/:board_id undocumented

/canvas/boards/:board_id

GET /canvas/boards/:board_id — board metadata (no content).

Parameters
board_id string · path
required
Responses
200Successful Response
GET /canvas/boards/example
1curl "http://localhost:8000/canvas/boards/example"
1fetch("http://localhost:8000/canvas/boards/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/canvas/boards/example")
4print(response.json())
200 Example Response
No Body
GET /canvas/trash undocumented

/canvas/trash

GET /canvas/trash: trashed boards the caller may restore or delete for good.

Responses
200Successful Response
GET /canvas/trash
1curl "http://localhost:8000/canvas/trash"
1fetch("http://localhost:8000/canvas/trash")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/canvas/trash")
4print(response.json())
200 Example Response
No Body
GET /canvas/boards/:board_id/versions undocumented

/canvas/boards/:board_id/versions

GET /canvas/boards/:board_id/versions: saved and autosaved versions, newest first.

Parameters
board_id string · path
required
Responses
200Successful Response
GET /canvas/boards/example/versions
1curl "http://localhost:8000/canvas/boards/example/versions"
1fetch("http://localhost:8000/canvas/boards/example/versions")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/canvas/boards/example/versions")
4print(response.json())
200 Example Response
No Body
GET /canvas/boards/:board_id/versions/:version_id undocumented

/canvas/boards/:board_id/versions/:version_id

GET /canvas/boards/:board_id/versions/:version_id: one version with its content and a preview.

Parameters
board_id string · path
required
version_id string · path
required
Responses
200Successful Response
GET /canvas/boards/example/versions/example
1curl "http://localhost:8000/canvas/boards/example/versions/example"
1fetch("http://localhost:8000/canvas/boards/example/versions/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/canvas/boards/example/versions/example")
4print(response.json())
200 Example Response
No Body
GET /canvas/walkthrough-allowance undocumented

/canvas/walkthrough-allowance

GET /canvas/walkthrough-allowance: the most a new walkthrough recording may weigh, or null when the plan sets no limit.

Responses
200Successful Response
GET /canvas/walkthrough-allowance
1curl "http://localhost:8000/canvas/walkthrough-allowance"
1fetch("http://localhost:8000/canvas/walkthrough-allowance")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/canvas/walkthrough-allowance")
4print(response.json())
200 Example Response
No Body
GET /canvas/boards/:board_id/walkthroughs undocumented

/canvas/boards/:board_id/walkthroughs

GET /canvas/boards/:board_id/walkthroughs: recorded walkthroughs of the board, newest first.

Parameters
board_id string · path
required
Responses
200Successful Response
GET /canvas/boards/example/walkthroughs
1curl "http://localhost:8000/canvas/boards/example/walkthroughs"
1fetch("http://localhost:8000/canvas/boards/example/walkthroughs")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/canvas/boards/example/walkthroughs")
4print(response.json())
200 Example Response
No Body
GET /canvas/boards/:board_id/walkthroughs/:walkthrough_id undocumented

/canvas/boards/:board_id/walkthroughs/:walkthrough_id

GET /canvas/boards/:board_id/walkthroughs/:walkthrough_id: one walkthrough with its recorded board path.

Parameters
board_id string · path
required
walkthrough_id string · path
required
Responses
200Successful Response
GET /canvas/boards/example/walkthroughs/example
1curl "http://localhost:8000/canvas/boards/example/walkthroughs/example"
1fetch("http://localhost:8000/canvas/boards/example/walkthroughs/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/canvas/boards/example/walkthroughs/example")
4print(response.json())
200 Example Response
No Body
GET /canvas/boards/:board_id/guest-links undocumented

/canvas/boards/:board_id/guest-links

GET /canvas/boards/:board_id/guest-links: every link made for this board and the guests who came in on it.

Parameters
board_id string · path
required
Responses
200Successful Response
GET /canvas/boards/example/guest-links
1curl "http://localhost:8000/canvas/boards/example/guest-links"
1fetch("http://localhost:8000/canvas/boards/example/guest-links")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/canvas/boards/example/guest-links")
4print(response.json())
200 Example Response
No Body
GET /canvas/boards/:board_id/comments undocumented

/canvas/boards/:board_id/comments

GET /canvas/boards/:board_id/comments — threaded comments for a board.

Parameters
board_id string · path
required
Responses
200Successful Response
GET /canvas/boards/example/comments
1curl "http://localhost:8000/canvas/boards/example/comments"
1fetch("http://localhost:8000/canvas/boards/example/comments")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/canvas/boards/example/comments")
4print(response.json())
200 Example Response
No Body
GET /canvas/boards/:board_id/vote-sessions undocumented

/canvas/boards/:board_id/vote-sessions

GET /canvas/boards/:board_id/vote-sessions — history, newest first.

Parameters
board_id string · path
required
Responses
200Successful Response
GET /canvas/boards/example/vote-sessions
1curl "http://localhost:8000/canvas/boards/example/vote-sessions"
1fetch("http://localhost:8000/canvas/boards/example/vote-sessions")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/canvas/boards/example/vote-sessions")
4print(response.json())
200 Example Response
No Body
GET /canvas/boards/:board_id/vote-sessions/:session_id undocumented

/canvas/boards/:board_id/vote-sessions/:session_id

GET /canvas/boards/:board_id/vote-sessions/:session_id — one session + counts.

Parameters
board_id string · path
required
session_id string · path
required
Responses
200Successful Response
GET /canvas/boards/example/vote-sessions/example
1curl "http://localhost:8000/canvas/boards/example/vote-sessions/example"
1fetch("http://localhost:8000/canvas/boards/example/vote-sessions/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/canvas/boards/example/vote-sessions/example")
4print(response.json())
200 Example Response
No Body
PATCH /canvas/boards/:board_id

Update a board

PATCH /canvas/boards/:board_id — title, description, grid settings.

Parameters
board_id string · path
required
Body · UpdateBoardapplication/json
deleted
title string · min length: 1 · max length: 200
description string · max length: 2000
grid object
propertyName anything
Responses
200Successful Response
PATCH /canvas/boards/example
1curl -X PATCH "http://localhost:8000/canvas/boards/example" \
2 -H "Content-Type: application/json" \
3 -d '{"deleted":{},"title":"string","description":"string","grid":{"mode":"dotted","spacing":1,"snap":{},"background":"string","default_sticky_color":"string"}}'
1fetch("http://localhost:8000/canvas/boards/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "deleted": {},
6 "title": "string",
7 "description": "string",
8 "grid": {
9 "mode": "dotted",
10 "spacing": 1,
11 "snap": {},
12 "background": "string",
13 "default_sticky_color": "string"
14 }
15}),
16})
17 .then((res) => res.json())
18 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/canvas/boards/example",
5 json={"deleted":{},"title":"string","description":"string","grid":{"mode":"dotted","spacing":1,"snap":{},"background":"string","default_sticky_color":"string"}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /canvas/boards/:board_id/walkthroughs/:walkthrough_id

Rename a walkthrough

PATCH /canvas/boards/:board_id/walkthroughs/:walkthrough_id: rename a walkthrough.

Parameters
board_id string · path
required
walkthrough_id string · path
required
Body · UpdateWalkthroughapplication/json
title string · min length: 1 · max length: 200
required
propertyName anything
Responses
200Successful Response
PATCH /canvas/boards/example/walkthroughs/example
1curl -X PATCH "http://localhost:8000/canvas/boards/example/walkthroughs/example" \
2 -H "Content-Type: application/json" \
3 -d '{"title":"string"}'
1fetch("http://localhost:8000/canvas/boards/example/walkthroughs/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "title": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/canvas/boards/example/walkthroughs/example",
5 json={"title":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /canvas/boards/:board_id/guest-links/:link_id

Change or switch off a guest link

PATCH /canvas/boards/:board_id/guest-links/:link_id: change its level or switch it off, live.

Parameters
board_id string · path
required
link_id string · path
required
Body · UpdateGuestLinkapplication/json
level
revoked
propertyName anything
Responses
200Successful Response
PATCH /canvas/boards/example/guest-links/example
1curl -X PATCH "http://localhost:8000/canvas/boards/example/guest-links/example" \
2 -H "Content-Type: application/json" \
3 -d '{"level":"view","revoked":{}}'
1fetch("http://localhost:8000/canvas/boards/example/guest-links/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "level": "view",
6 "revoked": {}
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/canvas/boards/example/guest-links/example",
5 json={"level":"view","revoked":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /canvas/boards/:board_id/guest-links/:link_id/guests/:guest_id

Change or remove one guest

PATCH /canvas/boards/:board_id/guest-links/:link_id/guests/:guest_id: stop one guest editing, or remove them, live.

Parameters
board_id string · path
required
link_id string · path
required
guest_id string · path
required
Body · UpdateGuestapplication/json
level
removed
propertyName anything
Responses
200Successful Response
PATCH /canvas/boards/example/guest-links/example/guests/example
1curl -X PATCH "http://localhost:8000/canvas/boards/example/guest-links/example/guests/example" \
2 -H "Content-Type: application/json" \
3 -d '{"level":"view","removed":{}}'
1fetch("http://localhost:8000/canvas/boards/example/guest-links/example/guests/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "level": "view",
6 "removed": {}
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/canvas/boards/example/guest-links/example/guests/example",
5 json={"level":"view","removed":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /canvas/boards/:board_id/comments/:comment_id

Edit/resolve a comment

PATCH /canvas/boards/:board_id/comments/:comment_id — edit body (author) or resolve.

Parameters
board_id string · path
required
comment_id string · path
required
Body · UpdateCommentapplication/json
body string · min length: 1 · max length: 4000
resolved
propertyName anything
Responses
200Successful Response
PATCH /canvas/boards/example/comments/example
1curl -X PATCH "http://localhost:8000/canvas/boards/example/comments/example" \
2 -H "Content-Type: application/json" \
3 -d '{"body":"string","resolved":{}}'
1fetch("http://localhost:8000/canvas/boards/example/comments/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "body": "string",
6 "resolved": {}
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/canvas/boards/example/comments/example",
5 json={"body":"string","resolved":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /canvas/boards/:board_id/vote-sessions/:session_id

Close a vote session

PATCH /canvas/boards/:board_id/vote-sessions/:session_id — close the round. Closing freezes the tally into `results` so history survives the board being edited afterwards, and stops badges reading from a session nobody is in.

Parameters
board_id string · path
required
session_id string · path
required
Body · UpdateVoteSessionapplication/json
status
required
object_labels array
propertyName anything
Responses
200Successful Response
PATCH /canvas/boards/example/vote-sessions/example
1curl -X PATCH "http://localhost:8000/canvas/boards/example/vote-sessions/example" \
2 -H "Content-Type: application/json" \
3 -d '{"status":"closed","object_labels":[{"object_id":"string","label":"string"}]}'
1fetch("http://localhost:8000/canvas/boards/example/vote-sessions/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "status": "closed",
6 "object_labels": [
7 {
8 "object_id": "string",
9 "label": "string"
10 }
11 ]
12}),
13})
14 .then((res) => res.json())
15 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/canvas/boards/example/vote-sessions/example",
5 json={"status":"closed","object_labels":[{"object_id":"string","label":"string"}]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /canvas/boards

Create a board

POST /canvas/boards — create a board (optionally cloned from a template).

Body · CreateBoardapplication/json
title string · min length: 1 · max length: 200
required
description string · max length: 2000
template_id string
template_key
is_template
grid object
propertyName anything
Responses
200Successful Response
POST /canvas/boards
1curl -X POST "http://localhost:8000/canvas/boards" \
2 -H "Content-Type: application/json" \
3 -d '{"title":"string","description":"string","template_id":"string","template_key":"blank","is_template":{},"grid":{"mode":"dotted","spacing":1,"snap":{},"background":"string","default_sticky_color":"string"}}'
1fetch("http://localhost:8000/canvas/boards", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "title": "string",
6 "description": "string",
7 "template_id": "string",
8 "template_key": "blank",
9 "is_template": {},
10 "grid": {
11 "mode": "dotted",
12 "spacing": 1,
13 "snap": {},
14 "background": "string",
15 "default_sticky_color": "string"
16 }
17}),
18})
19 .then((res) => res.json())
20 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/canvas/boards",
5 json={"title":"string","description":"string","template_id":"string","template_key":"blank","is_template":{},"grid":{"mode":"dotted","spacing":1,"snap":{},"background":"string","default_sticky_color":"string"}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /canvas/boards/:board_id/duplications

Copy a board, or save it as a template

POST /canvas/boards/:board_id/duplications — copy a board (or instantiate a template).

Parameters
board_id string · path
required
Body · CreateDuplicationapplication/json
is_template
title string · min length: 1 · max length: 200
propertyName anything
Responses
200Successful Response
POST /canvas/boards/example/duplications
1curl -X POST "http://localhost:8000/canvas/boards/example/duplications" \
2 -H "Content-Type: application/json" \
3 -d '{"is_template":{},"title":"string"}'
1fetch("http://localhost:8000/canvas/boards/example/duplications", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "is_template": {},
6 "title": "string"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/canvas/boards/example/duplications",
5 json={"is_template":{},"title":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /canvas/boards/:board_id/calls undocumented

/canvas/boards/:board_id/calls

POST /canvas/boards/:board_id/calls: a camera token for the board's video cursors, while minutes remain.

Parameters
board_id string · path
required
Responses
200Successful Response
POST /canvas/boards/example/calls
1curl -X POST "http://localhost:8000/canvas/boards/example/calls"
1fetch("http://localhost:8000/canvas/boards/example/calls", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/canvas/boards/example/calls")
4print(response.json())
200 Example Response
No Body
POST /canvas/boards/:board_id/versions

Save a version of a board

POST /canvas/boards/:board_id/versions: save the board as it is now under a name.

Parameters
board_id string · path
required
Body · CreateVersionapplication/json
label string · min length: 1 · max length: 120
required
propertyName anything
Responses
200Successful Response
POST /canvas/boards/example/versions
1curl -X POST "http://localhost:8000/canvas/boards/example/versions" \
2 -H "Content-Type: application/json" \
3 -d '{"label":"string"}'
1fetch("http://localhost:8000/canvas/boards/example/versions", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "label": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/canvas/boards/example/versions",
5 json={"label":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /canvas/boards/:board_id/walkthroughs

Keep a recorded walkthrough of a board

POST /canvas/boards/:board_id/walkthroughs: keep a recorded walkthrough, its voice or camera and its path across the board.

Parameters
board_id string · path
required
Body · CreateWalkthroughapplication/json
title string · max length: 200
media_key string · min length: 1 · max length: 600
required
media_type string · min length: 1 · max length: 100
required
media_bytes integer · min: 1
required
track_key string · min length: 1 · max length: 600
required
duration_ms integer · min: 1
required
camera
propertyName anything
Responses
200Successful Response
POST /canvas/boards/example/walkthroughs
1curl -X POST "http://localhost:8000/canvas/boards/example/walkthroughs" \
2 -H "Content-Type: application/json" \
3 -d '{"title":"string","media_key":"string","media_type":"string","media_bytes":1,"track_key":"string","duration_ms":1,"camera":{}}'
1fetch("http://localhost:8000/canvas/boards/example/walkthroughs", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "title": "string",
6 "media_key": "string",
7 "media_type": "string",
8 "media_bytes": 1,
9 "track_key": "string",
10 "duration_ms": 1,
11 "camera": {}
12}),
13})
14 .then((res) => res.json())
15 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/canvas/boards/example/walkthroughs",
5 json={"title":"string","media_key":"string","media_type":"string","media_bytes":1,"track_key":"string","duration_ms":1,"camera":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /canvas/boards/:board_id/tasks

Send stickies to Tasks

POST /canvas/boards/:board_id/tasks: ask Tasks to turn each sticky into a task. Tasks creates them over the bus (rule 6), so this answers 202: the tasks do not exist yet when we reply. A sticky sent twice still makes one task.

Parameters
board_id string · path
required
Body · SendToTasksapplication/json
task_board_id string · min length: 1 · max length: 64
required
items array
required
assignee_mrn string · max length: 120
due_date string · max length: 10
propertyName anything
Responses
200Successful Response
POST /canvas/boards/example/tasks
1curl -X POST "http://localhost:8000/canvas/boards/example/tasks" \
2 -H "Content-Type: application/json" \
3 -d '{"task_board_id":"string","items":[{"object_id":"string","text":"string"}],"assignee_mrn":"string","due_date":"string"}'
1fetch("http://localhost:8000/canvas/boards/example/tasks", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "task_board_id": "string",
6 "items": [
7 {
8 "object_id": "string",
9 "text": "string"
10 }
11 ],
12 "assignee_mrn": "string",
13 "due_date": "string"
14}),
15})
16 .then((res) => res.json())
17 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/canvas/boards/example/tasks",
5 json={"task_board_id":"string","items":[{"object_id":"string","text":"string"}],"assignee_mrn":"string","due_date":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /canvas/boards/:board_id/guest-links

Make a guest link for a board

POST /canvas/boards/:board_id/guest-links: a shared or personal link. The address is shown once.

Parameters
board_id string · path
required
Body · CreateGuestLinkapplication/json
level
required
password string · max length: 200
expires_days integer · min: 0 · max: 365
guest_name string · max length: 80
guest_email string · max length: 200
propertyName anything
Responses
200Successful Response
POST /canvas/boards/example/guest-links
1curl -X POST "http://localhost:8000/canvas/boards/example/guest-links" \
2 -H "Content-Type: application/json" \
3 -d '{"level":"view","password":"string","expires_days":1,"guest_name":"string","guest_email":"string"}'
1fetch("http://localhost:8000/canvas/boards/example/guest-links", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "level": "view",
6 "password": "string",
7 "expires_days": 1,
8 "guest_name": "string",
9 "guest_email": "string"
10}),
11})
12 .then((res) => res.json())
13 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/canvas/boards/example/guest-links",
5 json={"level":"view","password":"string","expires_days":1,"guest_name":"string","guest_email":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /canvas/boards/:board_id/assets

Register a board image

POST /canvas/boards/:board_id/assets — register an uploaded board image. Called by the editor right after the platform upload confirm so the asset is servable immediately, instead of waiting on the upload-confirmed event round trip. The event handler in events.py remains the idempotent backup.

Parameters
board_id string · path
required
Body · CreateAssetapplication/json
asset_id string · min length: 6 · max length: 64
required
storage_key string · min length: 1 · max length: 512
required
filename string · min length: 1 · max length: 255
required
content_type string · min length: 1 · max length: 100
required
size_bytes integer · min: 0
required
width integer · min: 0
height integer · min: 0
kind
propertyName anything
Responses
200Successful Response
POST /canvas/boards/example/assets
1curl -X POST "http://localhost:8000/canvas/boards/example/assets" \
2 -H "Content-Type: application/json" \
3 -d '{"asset_id":"string","storage_key":"string","filename":"string","content_type":"string","size_bytes":1,"width":1,"height":1,"kind":"image"}'
1fetch("http://localhost:8000/canvas/boards/example/assets", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "asset_id": "string",
6 "storage_key": "string",
7 "filename": "string",
8 "content_type": "string",
9 "size_bytes": 1,
10 "width": 1,
11 "height": 1,
12 "kind": "image"
13}),
14})
15 .then((res) => res.json())
16 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/canvas/boards/example/assets",
5 json={"asset_id":"string","storage_key":"string","filename":"string","content_type":"string","size_bytes":1,"width":1,"height":1,"kind":"image"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /canvas/boards/:board_id/comments

Add a comment

POST /canvas/boards/:board_id/comments — add a comment.

Parameters
board_id string · path
required
Body · CreateCommentapplication/json
body string · max length: 4000
asset_id string · max length: 64
object_id string · max length: 64
parent_id string · max length: 64
nx number
ny number
propertyName anything
Responses
200Successful Response
POST /canvas/boards/example/comments
1curl -X POST "http://localhost:8000/canvas/boards/example/comments" \
2 -H "Content-Type: application/json" \
3 -d '{"body":"string","asset_id":"string","object_id":"string","parent_id":"string","nx":1.5,"ny":1.5}'
1fetch("http://localhost:8000/canvas/boards/example/comments", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "body": "string",
6 "asset_id": "string",
7 "object_id": "string",
8 "parent_id": "string",
9 "nx": 1.5,
10 "ny": 1.5
11}),
12})
13 .then((res) => res.json())
14 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/canvas/boards/example/comments",
5 json={"body":"string","asset_id":"string","object_id":"string","parent_id":"string","nx":1.5,"ny":1.5},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /canvas/boards/:board_id/vote-sessions

Start a vote session

POST /canvas/boards/:board_id/vote-sessions — open a round of dot voting.

Parameters
board_id string · path
required
Body · StartVoteSessionapplication/json
label string · max length: 120
max_votes_per_member integer · min: 1 · max: 99
allow_repeat_votes
scope_frame_id string · max length: 64
scope_ids array
propertyName anything
Responses
200Successful Response
POST /canvas/boards/example/vote-sessions
1curl -X POST "http://localhost:8000/canvas/boards/example/vote-sessions" \
2 -H "Content-Type: application/json" \
3 -d '{"label":"string","max_votes_per_member":1,"allow_repeat_votes":{},"scope_frame_id":"string","scope_ids":["string"]}'
1fetch("http://localhost:8000/canvas/boards/example/vote-sessions", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "label": "string",
6 "max_votes_per_member": 1,
7 "allow_repeat_votes": {},
8 "scope_frame_id": "string",
9 "scope_ids": [
10 "string"
11 ]
12}),
13})
14 .then((res) => res.json())
15 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/canvas/boards/example/vote-sessions",
5 json={"label":"string","max_votes_per_member":1,"allow_repeat_votes":{},"scope_frame_id":"string","scope_ids":["string"]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /canvas/boards/:board_id/vote-sessions/:session_id/votes

Cast a vote

POST /canvas/boards/:board_id/vote-sessions/:session_id/votes — spend one vote.

Parameters
board_id string · path
required
session_id string · path
required
Body · CastVoteapplication/json
object_id string · min length: 1 · max length: 64
required
propertyName anything
Responses
200Successful Response
POST /canvas/boards/example/vote-sessions/example/votes
1curl -X POST "http://localhost:8000/canvas/boards/example/vote-sessions/example/votes" \
2 -H "Content-Type: application/json" \
3 -d '{"object_id":"string"}'
1fetch("http://localhost:8000/canvas/boards/example/vote-sessions/example/votes", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "object_id": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/canvas/boards/example/vote-sessions/example/votes",
5 json={"object_id":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /canvas/boards/:board_id/summaries

Summarise board items

POST /canvas/boards/:board_id/summaries: Saasie summarises the items named, or the whole board.

Parameters
board_id string · path
required
Body · BoardItemsapplication/json
object_ids array
propertyName anything
Responses
200Successful Response
POST /canvas/boards/example/summaries
1curl -X POST "http://localhost:8000/canvas/boards/example/summaries" \
2 -H "Content-Type: application/json" \
3 -d '{"object_ids":["string"]}'
1fetch("http://localhost:8000/canvas/boards/example/summaries", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "object_ids": [
6 "string"
7 ]
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/canvas/boards/example/summaries",
5 json={"object_ids":["string"]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /canvas/boards/:board_id/themes

Sort stickies into themes

POST /canvas/boards/:board_id/themes: Qwen names the themes, Jev puts each sticky under one.

Parameters
board_id string · path
required
Body · BoardItemsapplication/json
object_ids array
propertyName anything
Responses
200Successful Response
POST /canvas/boards/example/themes
1curl -X POST "http://localhost:8000/canvas/boards/example/themes" \
2 -H "Content-Type: application/json" \
3 -d '{"object_ids":["string"]}'
1fetch("http://localhost:8000/canvas/boards/example/themes", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "object_ids": [
6 "string"
7 ]
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/canvas/boards/example/themes",
5 json={"object_ids":["string"]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /canvas/boards/:board_id/ideas

Draft ideas for a topic or a mind map node

POST /canvas/boards/:board_id/ideas: Saasie drafts ideas for a topic or a frame, or branches for a mind map node.

Parameters
board_id string · path
required
Body · DraftIdeasapplication/json
topic string · max length: 2000
frame_id string · max length: 64
node_id string · max length: 64
count integer · min: 1 · max: 50
propertyName anything
Responses
200Successful Response
POST /canvas/boards/example/ideas
1curl -X POST "http://localhost:8000/canvas/boards/example/ideas" \
2 -H "Content-Type: application/json" \
3 -d '{"topic":"string","frame_id":"string","node_id":"string","count":1}'
1fetch("http://localhost:8000/canvas/boards/example/ideas", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "topic": "string",
6 "frame_id": "string",
7 "node_id": "string",
8 "count": 1
9}),
10})
11 .then((res) => res.json())
12 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/canvas/boards/example/ideas",
5 json={"topic":"string","frame_id":"string","node_id":"string","count":1},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /canvas/boards/:board_id/task-titles

Draft task titles for stickies

POST /canvas/boards/:board_id/task-titles: a task title Saasie drafts for each item, for the member to review.

Parameters
board_id string · path
required
Body · BoardItemsapplication/json
object_ids array
propertyName anything
Responses
200Successful Response
POST /canvas/boards/example/task-titles
1curl -X POST "http://localhost:8000/canvas/boards/example/task-titles" \
2 -H "Content-Type: application/json" \
3 -d '{"object_ids":["string"]}'
1fetch("http://localhost:8000/canvas/boards/example/task-titles", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "object_ids": [
6 "string"
7 ]
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/canvas/boards/example/task-titles",
5 json={"object_ids":["string"]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /canvas/boards/:board_id/exports

Export a board

POST /canvas/boards/:board_id/exports — download is client-side; target=files persists the client-rendered image to R2 and emits an event Files ingests.

Parameters
board_id string · path
required
Body · ExportBoardapplication/json
format
required
target
data_url string · min length: 1
filename string · max length: 200
propertyName anything
Responses
200Successful Response
POST /canvas/boards/example/exports
1curl -X POST "http://localhost:8000/canvas/boards/example/exports" \
2 -H "Content-Type: application/json" \
3 -d '{"format":"png","target":"download","data_url":"string","filename":"string"}'
1fetch("http://localhost:8000/canvas/boards/example/exports", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "format": "png",
6 "target": "download",
7 "data_url": "string",
8 "filename": "string"
9}),
10})
11 .then((res) => res.json())
12 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/canvas/boards/example/exports",
5 json={"format":"png","target":"download","data_url":"string","filename":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /canvas/boards/:board_id/star undocumented

/canvas/boards/:board_id/star

PUT /canvas/boards/:board_id/star: star a board for the caller.

Parameters
board_id string · path
required
Responses
200Successful Response
PUT /canvas/boards/example/star
1curl -X PUT "http://localhost:8000/canvas/boards/example/star"
1fetch("http://localhost:8000/canvas/boards/example/star", { method: "PUT" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.put("http://localhost:8000/canvas/boards/example/star")
4print(response.json())
200 Example Response
No Body
PATCH /chats/:id

Update a chat

PATCH /chats/:id — update group name, description, or avatar.

Parameters
id string · path
required
Body · UpdateChatapplication/json
name string · max length: 100
description string · max length: 500
avatar_key string
propertyName anything
Responses
200Successful Response
PATCH /chats/example
1curl -X PATCH "http://localhost:8000/chats/example" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","description":"string","avatar_key":"string"}'
1fetch("http://localhost:8000/chats/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "description": "string",
7 "avatar_key": "string"
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/chats/example",
5 json={"name":"string","description":"string","avatar_key":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /chats

Create a chat

POST /chats — create a conversation.

Body · CreateChatapplication/json
type
required
name string · min length: 1 · max length: 100
description string · max length: 500
participants array
required
propertyName anything
Responses
200Successful Response
POST /chats
1curl -X POST "http://localhost:8000/chats" \
2 -H "Content-Type: application/json" \
3 -d '{"type":"dm","name":"string","description":"string","participants":["string"]}'
1fetch("http://localhost:8000/chats", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "type": "dm",
6 "name": "string",
7 "description": "string",
8 "participants": [
9 "string"
10 ]
11}),
12})
13 .then((res) => res.json())
14 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/chats",
5 json={"type":"dm","name":"string","description":"string","participants":["string"]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
DELETE /chats/:id undocumented

/chats/:id

DELETE /chats/:id — delete a conversation. For a DM this is per-member: it clears the chat from the caller's own view only, leaving the other participant's copy and history intact. The chat reappears for them if a new message arrives, showing only the post-delete history. For a group it removes the conversation for everyone, so it needs the in-chat admin role or the workspace-wide manage override.

Parameters
id string · path
required
Responses
200Successful Response
DELETE /chats/example
1curl -X DELETE "http://localhost:8000/chats/example"
1fetch("http://localhost:8000/chats/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/chats/example")
4print(response.json())
200 Example Response
No Body
DELETE /chats/:id/messages undocumented

/chats/:id/messages

DELETE /chats/:id/messages — clear the conversation for the caller only.

Parameters
id string · path
required
Responses
200Successful Response
DELETE /chats/example/messages
1curl -X DELETE "http://localhost:8000/chats/example/messages"
1fetch("http://localhost:8000/chats/example/messages", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/chats/example/messages")
4print(response.json())
200 Example Response
No Body
DELETE /chats/:id/messages/:msg_id undocumented

/chats/:id/messages/:msg_id

DELETE /chats/:id/messages/:msg_id — soft-delete a message.

Parameters
id string · path
required
msg_id string · path
required
Responses
200Successful Response
DELETE /chats/example/messages/example
1curl -X DELETE "http://localhost:8000/chats/example/messages/example"
1fetch("http://localhost:8000/chats/example/messages/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/chats/example/messages/example")
4print(response.json())
200 Example Response
No Body
DELETE /chats/:id/messages/:msg_id/reactions/:emoji undocumented

/chats/:id/messages/:msg_id/reactions/:emoji

DELETE /chats/:id/messages/:msg_id/reactions/:emoji — remove a reaction.

Parameters
id string · path
required
msg_id string · path
required
emoji string · path
required
Responses
200Successful Response
DELETE /chats/example/messages/example/reactions/example
1curl -X DELETE "http://localhost:8000/chats/example/messages/example/reactions/example"
1fetch("http://localhost:8000/chats/example/messages/example/reactions/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/chats/example/messages/example/reactions/example")
4print(response.json())
200 Example Response
No Body
DELETE /chats/:id/participants/:member_mrn undocumented

/chats/:id/participants/:member_mrn

DELETE /chats/:id/participants/:member_mrn — remove from a group, or leave.

Parameters
id string · path
required
member_mrn string · path
required
Responses
200Successful Response
DELETE /chats/example/participants/example
1curl -X DELETE "http://localhost:8000/chats/example/participants/example"
1fetch("http://localhost:8000/chats/example/participants/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/chats/example/participants/example")
4print(response.json())
200 Example Response
No Body
DELETE /chats/lists/:list_id undocumented

/chats/lists/:list_id

DELETE /chats/lists/:list_id — delete a personal list. chat_list_items.list_id cascades, so memberships go with it instead of lingering as tags pointing at a list that no longer exists.

Parameters
list_id string · path
required
Responses
200Successful Response
DELETE /chats/lists/example
1curl -X DELETE "http://localhost:8000/chats/lists/example"
1fetch("http://localhost:8000/chats/lists/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/chats/lists/example")
4print(response.json())
200 Example Response
No Body
DELETE /chats/:id/favourite undocumented

/chats/:id/favourite

DELETE /chats/:id/favourite — remove the favourite mark (per-user).

Parameters
id string · path
required
Responses
200Successful Response
DELETE /chats/example/favourite
1curl -X DELETE "http://localhost:8000/chats/example/favourite"
1fetch("http://localhost:8000/chats/example/favourite", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/chats/example/favourite")
4print(response.json())
200 Example Response
No Body
DELETE /chats/:id/lists/:list_id undocumented

/chats/:id/lists/:list_id

DELETE /chats/:id/lists/:list_id — remove the chat from one of the lists.

Parameters
id string · path
required
list_id string · path
required
Responses
200Successful Response
DELETE /chats/example/lists/example
1curl -X DELETE "http://localhost:8000/chats/example/lists/example"
1fetch("http://localhost:8000/chats/example/lists/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/chats/example/lists/example")
4print(response.json())
200 Example Response
No Body
GET /chats undocumented

/chats

GET /chats — the caller's conversations, newest first.

Responses
200Successful Response
GET /chats
1curl "http://localhost:8000/chats"
1fetch("http://localhost:8000/chats")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/chats")
4print(response.json())
200 Example Response
No Body
GET /chats/:id undocumented

/chats/:id

GET /chats/:id — conversation details.

Parameters
id string · path
required
Responses
200Successful Response
GET /chats/example
1curl "http://localhost:8000/chats/example"
1fetch("http://localhost:8000/chats/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/chats/example")
4print(response.json())
200 Example Response
No Body
GET /chats/:id/messages undocumented

/chats/:id/messages

GET /chats/:id/messages — messages in a conversation.

Parameters
id string · path
required
Responses
200Successful Response
GET /chats/example/messages
1curl "http://localhost:8000/chats/example/messages"
1fetch("http://localhost:8000/chats/example/messages")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/chats/example/messages")
4print(response.json())
200 Example Response
No Body
GET /chats/:id/messages/:msg_id/receipts undocumented

/chats/:id/messages/:msg_id/receipts

GET /chats/:id/messages/:msg_id/receipts — who has read a message.

Parameters
id string · path
required
msg_id string · path
required
Responses
200Successful Response
GET /chats/example/messages/example/receipts
1curl "http://localhost:8000/chats/example/messages/example/receipts"
1fetch("http://localhost:8000/chats/example/messages/example/receipts")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/chats/example/messages/example/receipts")
4print(response.json())
200 Example Response
No Body
GET /chats/:id/participants undocumented

/chats/:id/participants

GET /chats/:id/participants — list participants.

Parameters
id string · path
required
Responses
200Successful Response
GET /chats/example/participants
1curl "http://localhost:8000/chats/example/participants"
1fetch("http://localhost:8000/chats/example/participants")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/chats/example/participants")
4print(response.json())
200 Example Response
No Body
GET /chats/lists undocumented

/chats/lists

GET /chats/lists — the caller's personal chat lists, ordered.

Responses
200Successful Response
GET /chats/lists
1curl "http://localhost:8000/chats/lists"
1fetch("http://localhost:8000/chats/lists")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/chats/lists")
4print(response.json())
200 Example Response
No Body
PUT /chats/:id/read undocumented

/chats/:id/read

PUT /chats/:id/read — mark a conversation as read.

Parameters
id string · path
required
Responses
200Successful Response
PUT /chats/example/read
1curl -X PUT "http://localhost:8000/chats/example/read"
1fetch("http://localhost:8000/chats/example/read", { method: "PUT" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.put("http://localhost:8000/chats/example/read")
4print(response.json())
200 Example Response
No Body
PUT /chats/:id/threads/:thread_id/read undocumented

/chats/:id/threads/:thread_id/read

PUT /chats/:id/threads/:thread_id/read: mark one thread's replies as read.

Parameters
id string · path
required
thread_id string · path
required
Responses
200Successful Response
PUT /chats/example/threads/example/read
1curl -X PUT "http://localhost:8000/chats/example/threads/example/read"
1fetch("http://localhost:8000/chats/example/threads/example/read", { method: "PUT" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.put("http://localhost:8000/chats/example/threads/example/read")
4print(response.json())
200 Example Response
No Body
PUT /chats/:id/favourite undocumented

/chats/:id/favourite

PUT /chats/:id/favourite — mark the chat as a favourite (per-user).

Parameters
id string · path
required
Responses
200Successful Response
PUT /chats/example/favourite
1curl -X PUT "http://localhost:8000/chats/example/favourite"
1fetch("http://localhost:8000/chats/example/favourite", { method: "PUT" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.put("http://localhost:8000/chats/example/favourite")
4print(response.json())
200 Example Response
No Body
PUT /chats/:id/lists/:list_id undocumented

/chats/:id/lists/:list_id

PUT /chats/:id/lists/:list_id — add the chat to one of the caller's lists.

Parameters
id string · path
required
list_id string · path
required
Responses
200Successful Response
PUT /chats/example/lists/example
1curl -X PUT "http://localhost:8000/chats/example/lists/example"
1fetch("http://localhost:8000/chats/example/lists/example", { method: "PUT" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.put("http://localhost:8000/chats/example/lists/example")
4print(response.json())
200 Example Response
No Body
PATCH /checklists/:checklist_id/workers/:worker_id/items/:item_id

Toggle an assignment item

Parameters
checklist_id string · path
required
worker_id string · path
required
item_id string · path
required
Body · UpdateAssignmentItemapplication/json
completed
required
propertyName anything
Responses
200Successful Response
PATCH /checklists/example/workers/example/items/example
1curl -X PATCH "http://localhost:8000/checklists/example/workers/example/items/example" \
2 -H "Content-Type: application/json" \
3 -d '{"completed":{}}'
1fetch("http://localhost:8000/checklists/example/workers/example/items/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "completed": {}
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/checklists/example/workers/example/items/example",
5 json={"completed":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /checklists/:checklist_id/workers

Assign a checklist to a worker

Parameters
checklist_id string · path
required
Body · AssignChecklistapplication/json
worker_id string · min length: 1
required
due_date string
anchor_date string · max length: 10
responsible_worker_id string
propertyName anything
Responses
200Successful Response
POST /checklists/example/workers
1curl -X POST "http://localhost:8000/checklists/example/workers" \
2 -H "Content-Type: application/json" \
3 -d '{"worker_id":"string","due_date":"string","anchor_date":"string","responsible_worker_id":"string"}'
1fetch("http://localhost:8000/checklists/example/workers", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "worker_id": "string",
6 "due_date": "string",
7 "anchor_date": "string",
8 "responsible_worker_id": "string"
9}),
10})
11 .then((res) => res.json())
12 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/checklists/example/workers",
5 json={"worker_id":"string","due_date":"string","anchor_date":"string","responsible_worker_id":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /checklists/:checklist_id/workers/:worker_id

Update assignment status

Parameters
checklist_id string · path
required
worker_id string · path
required
Body · UpdateAssignmentapplication/json
status
due_date string
anchor_date string · max length: 10
responsible_worker_id string
propertyName anything
Responses
200Successful Response
PUT /checklists/example/workers/example
1curl -X PUT "http://localhost:8000/checklists/example/workers/example" \
2 -H "Content-Type: application/json" \
3 -d '{"status":"active","due_date":"string","anchor_date":"string","responsible_worker_id":"string"}'
1fetch("http://localhost:8000/checklists/example/workers/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "status": "active",
6 "due_date": "string",
7 "anchor_date": "string",
8 "responsible_worker_id": "string"
9}),
10})
11 .then((res) => res.json())
12 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/checklists/example/workers/example",
5 json={"status":"active","due_date":"string","anchor_date":"string","responsible_worker_id":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
DELETE /checklists/:checklist_id undocumented

/checklists/:checklist_id

Parameters
checklist_id string · path
required
Responses
200Successful Response
DELETE /checklists/example
1curl -X DELETE "http://localhost:8000/checklists/example"
1fetch("http://localhost:8000/checklists/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/checklists/example")
4print(response.json())
200 Example Response
No Body
DELETE /checklists/:checklist_id/workers/:worker_id undocumented

/checklists/:checklist_id/workers/:worker_id

Parameters
checklist_id string · path
required
worker_id string · path
required
Responses
200Successful Response
DELETE /checklists/example/workers/example
1curl -X DELETE "http://localhost:8000/checklists/example/workers/example"
1fetch("http://localhost:8000/checklists/example/workers/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/checklists/example/workers/example")
4print(response.json())
200 Example Response
No Body
GET /checklists undocumented

/checklists

Responses
200Successful Response
GET /checklists
1curl "http://localhost:8000/checklists"
1fetch("http://localhost:8000/checklists")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/checklists")
4print(response.json())
200 Example Response
No Body
GET /checklists/:checklist_id undocumented

/checklists/:checklist_id

Parameters
checklist_id string · path
required
Responses
200Successful Response
GET /checklists/example
1curl "http://localhost:8000/checklists/example"
1fetch("http://localhost:8000/checklists/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/checklists/example")
4print(response.json())
200 Example Response
No Body
GET /checklists/:checklist_id/workers undocumented

/checklists/:checklist_id/workers

Parameters
checklist_id string · path
required
Responses
200Successful Response
GET /checklists/example/workers
1curl "http://localhost:8000/checklists/example/workers"
1fetch("http://localhost:8000/checklists/example/workers")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/checklists/example/workers")
4print(response.json())
200 Example Response
No Body
POST /checklists

Create a checklist template

Body · CreateChecklistapplication/json
type
required
title string · min length: 1 · max length: 200
required
items array
auto_assign object
propertyName anything
Responses
200Successful Response
POST /checklists
1curl -X POST "http://localhost:8000/checklists" \
2 -H "Content-Type: application/json" \
3 -d '{"type":"onboarding","title":"string","items":[{"name":"string","id":"string","description":"string","link":"string","owner_kind":"worker","owner_worker_id":"string","due_offset_days":1}],"auto_assign":{"enabled":{},"trigger":"hire","department_ids":["string"]}}'
1fetch("http://localhost:8000/checklists", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "type": "onboarding",
6 "title": "string",
7 "items": [
8 {
9 "name": "string",
10 "id": "string",
11 "description": "string",
12 "link": "string",
13 "owner_kind": "worker",
14 "owner_worker_id": "string",
15 "due_offset_days": 1
16 }
17 ],
18 "auto_assign": {
19 "enabled": {},
20 "trigger": "hire",
21 "department_ids": [
22 "string"
23 ]
24 }
25}),
26})
27 .then((res) => res.json())
28 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/checklists",
5 json={"type":"onboarding","title":"string","items":[{"name":"string","id":"string","description":"string","link":"string","owner_kind":"worker","owner_worker_id":"string","due_offset_days":1}],"auto_assign":{"enabled":{},"trigger":"hire","department_ids":["string"]}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /checklists/:checklist_id

Update a checklist template

Parameters
checklist_id string · path
required
Body · UpdateChecklistapplication/json
title string · min length: 1 · max length: 200
type
items array
auto_assign object
propertyName anything
Responses
200Successful Response
PUT /checklists/example
1curl -X PUT "http://localhost:8000/checklists/example" \
2 -H "Content-Type: application/json" \
3 -d '{"title":"string","type":"onboarding","items":[{"name":"string","id":"string","description":"string","link":"string","owner_kind":"worker","owner_worker_id":"string","due_offset_days":1}],"auto_assign":{"enabled":{},"trigger":"hire","department_ids":["string"]}}'
1fetch("http://localhost:8000/checklists/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "title": "string",
6 "type": "onboarding",
7 "items": [
8 {
9 "name": "string",
10 "id": "string",
11 "description": "string",
12 "link": "string",
13 "owner_kind": "worker",
14 "owner_worker_id": "string",
15 "due_offset_days": 1
16 }
17 ],
18 "auto_assign": {
19 "enabled": {},
20 "trigger": "hire",
21 "department_ids": [
22 "string"
23 ]
24 }
25}),
26})
27 .then((res) => res.json())
28 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/checklists/example",
5 json={"title":"string","type":"onboarding","items":[{"name":"string","id":"string","description":"string","link":"string","owner_kind":"worker","owner_worker_id":"string","due_offset_days":1}],"auto_assign":{"enabled":{},"trigger":"hire","department_ids":["string"]}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
DELETE /companies/:company_id undocumented

/companies/:company_id

DELETE /companies/:company_id — delete company (fails if contacts still linked).

Parameters
company_id string · path
required
Responses
200Successful Response
DELETE /companies/example
1curl -X DELETE "http://localhost:8000/companies/example"
1fetch("http://localhost:8000/companies/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/companies/example")
4print(response.json())
200 Example Response
No Body
GET /companies undocumented

/companies

GET /companies — list companies with filters.

Responses
200Successful Response
GET /companies
1curl "http://localhost:8000/companies"
1fetch("http://localhost:8000/companies")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/companies")
4print(response.json())
200 Example Response
No Body
GET /companies/:company_id undocumented

/companies/:company_id

GET /companies/:company_id — get company with contacts and recent interactions.

Parameters
company_id string · path
required
Responses
200Successful Response
GET /companies/example
1curl "http://localhost:8000/companies/example"
1fetch("http://localhost:8000/companies/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/companies/example")
4print(response.json())
200 Example Response
No Body
GET /companies/:company_id/website undocumented

/companies/:company_id/website

GET /companies/:company_id/website: the company's site and whether it may be framed.

Parameters
company_id string · path
required
Responses
200Successful Response
GET /companies/example/website
1curl "http://localhost:8000/companies/example/website"
1fetch("http://localhost:8000/companies/example/website")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/companies/example/website")
4print(response.json())
200 Example Response
No Body
GET /companies/:company_id/interactions undocumented

/companies/:company_id/interactions

GET /companies/:company_id/interactions — interactions for a company (across all contacts).

Parameters
company_id string · path
required
Responses
200Successful Response
GET /companies/example/interactions
1curl "http://localhost:8000/companies/example/interactions"
1fetch("http://localhost:8000/companies/example/interactions")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/companies/example/interactions")
4print(response.json())
200 Example Response
No Body
POST /companies/:company_id/calls

Call a company

Call a company's main number from a number assigned to the caller.

Parameters
company_id string · path
required
Body · PhoneCallapplication/json
line_id string · min length: 1 · max length: 64
required
propertyName anything
Responses
200Successful Response
POST /companies/example/calls
1curl -X POST "http://localhost:8000/companies/example/calls" \
2 -H "Content-Type: application/json" \
3 -d '{"line_id":"string"}'
1fetch("http://localhost:8000/companies/example/calls", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "line_id": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/companies/example/calls",
5 json={"line_id":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /companies

Create a company

POST /companies — create a company.

Body · CreateCompanyapplication/json
name string · min length: 1 · max length: 200
required
domain string · max length: 200
industry string · max length: 100
size string · max length: 20
address string · max length: 500
phone string · max length: 50
annual_revenue string · max length: 50
tags array
relationships array
owner_mrn string
notes string · max length: 5000
contact_name string · max length: 200
contact_email string · max length: 200 · email
contact_title string · max length: 100
contact_source
propertyName anything
Responses
200Successful Response
POST /companies
1curl -X POST "http://localhost:8000/companies" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","domain":"string","industry":"string","size":"string","address":"string","phone":"string","annual_revenue":"string","tags":["string"],"relationships":["string"],"owner_mrn":"string","notes":"string","contact_name":"string","contact_email":"user@example.com","contact_title":"string","contact_source":"manual"}'
1fetch("http://localhost:8000/companies", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "domain": "string",
7 "industry": "string",
8 "size": "string",
9 "address": "string",
10 "phone": "string",
11 "annual_revenue": "string",
12 "tags": [
13 "string"
14 ],
15 "relationships": [
16 "string"
17 ],
18 "owner_mrn": "string",
19 "notes": "string",
20 "contact_name": "string",
21 "contact_email": "user@example.com",
22 "contact_title": "string",
23 "contact_source": "manual"
24}),
25})
26 .then((res) => res.json())
27 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/companies",
5 json={"name":"string","domain":"string","industry":"string","size":"string","address":"string","phone":"string","annual_revenue":"string","tags":["string"],"relationships":["string"],"owner_mrn":"string","notes":"string","contact_name":"string","contact_email":"user@example.com","contact_title":"string","contact_source":"manual"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /companies/:company_id

Update a company

PUT /companies/:company_id — update a company.

Parameters
company_id string · path
required
Body · UpdateCompanyapplication/json
name string · min length: 1 · max length: 200
domain string · max length: 200
industry string · max length: 100
size string · max length: 20
address string · max length: 500
phone string · max length: 50
annual_revenue string · max length: 50
tags array
relationships array
archived
owner_mrn string
notes string · max length: 5000
propertyName anything
Responses
200Successful Response
PUT /companies/example
1curl -X PUT "http://localhost:8000/companies/example" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","domain":"string","industry":"string","size":"string","address":"string","phone":"string","annual_revenue":"string","tags":["string"],"relationships":["string"],"archived":{},"owner_mrn":"string","notes":"string"}'
1fetch("http://localhost:8000/companies/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "domain": "string",
7 "industry": "string",
8 "size": "string",
9 "address": "string",
10 "phone": "string",
11 "annual_revenue": "string",
12 "tags": [
13 "string"
14 ],
15 "relationships": [
16 "string"
17 ],
18 "archived": {},
19 "owner_mrn": "string",
20 "notes": "string"
21}),
22})
23 .then((res) => res.json())
24 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/companies/example",
5 json={"name":"string","domain":"string","industry":"string","size":"string","address":"string","phone":"string","annual_revenue":"string","tags":["string"],"relationships":["string"],"archived":{},"owner_mrn":"string","notes":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /company-migrations/:migration_id

Save the company app's IDs or finish the migration

PATCH /company-migrations/:migration_id: save the app's IDs, or finish the migration.

Parameters
migration_id string · path
required
Body · UpdateCompanyMigrationapplication/json
tenant_id string · max length: 64
client_id string · max length: 64
service_account_key string · min length: 1 · max length: 20000
admin_email string · max length: 254 · email
status
propertyName anything
Responses
200Successful Response
PATCH /company-migrations/example
1curl -X PATCH "http://localhost:8000/company-migrations/example" \
2 -H "Content-Type: application/json" \
3 -d '{"tenant_id":"string","client_id":"string","service_account_key":"string","admin_email":"user@example.com","status":"finished"}'
1fetch("http://localhost:8000/company-migrations/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "tenant_id": "string",
6 "client_id": "string",
7 "service_account_key": "string",
8 "admin_email": "user@example.com",
9 "status": "finished"
10}),
11})
12 .then((res) => res.json())
13 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/company-migrations/example",
5 json={"tenant_id":"string","client_id":"string","service_account_key":"string","admin_email":"user@example.com","status":"finished"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /company-migrations/:migration_id/people/:person_id

Leave a person behind or bring them back

PATCH /company-migrations/:migration_id/people/:person_id: leave a person behind, or bring them back.

Parameters
migration_id string · path
required
person_id string · path
required
Body · UpdateCompanyMigrationPersonapplication/json
left_behind
required
propertyName anything
Responses
200Successful Response
PATCH /company-migrations/example/people/example
1curl -X PATCH "http://localhost:8000/company-migrations/example/people/example" \
2 -H "Content-Type: application/json" \
3 -d '{"left_behind":{}}'
1fetch("http://localhost:8000/company-migrations/example/people/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "left_behind": {}
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/company-migrations/example/people/example",
5 json={"left_behind":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /company-migrations

Start moving the company into Saaslivery

POST /company-migrations: start a migration and generate the certificate the admin uploads.

Body · CreateCompanyMigrationapplication/json
source
required
restart_of string · max length: 64
propertyName anything
Responses
200Successful Response
POST /company-migrations
1curl -X POST "http://localhost:8000/company-migrations" \
2 -H "Content-Type: application/json" \
3 -d '{"source":"microsoft","restart_of":"string"}'
1fetch("http://localhost:8000/company-migrations", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "source": "microsoft",
6 "restart_of": "string"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/company-migrations",
5 json={"source":"microsoft","restart_of":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
GET /company-migrations undocumented

/company-migrations

GET /company-migrations: this workspace's migrations into Saaslivery, newest first.

Responses
200Successful Response
GET /company-migrations
1curl "http://localhost:8000/company-migrations"
1fetch("http://localhost:8000/company-migrations")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/company-migrations")
4print(response.json())
200 Example Response
No Body
GET /company-migrations/:migration_id undocumented

/company-migrations/:migration_id

GET /company-migrations/:migration_id: one migration, with its certificate and counts.

Parameters
migration_id string · path
required
Responses
200Successful Response
GET /company-migrations/example
1curl "http://localhost:8000/company-migrations/example"
1fetch("http://localhost:8000/company-migrations/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/company-migrations/example")
4print(response.json())
200 Example Response
No Body
GET /company-migrations/:migration_id/people undocumented

/company-migrations/:migration_id/people

GET /company-migrations/:migration_id/people: who is moving, searchable, and whether they have joined.

Parameters
migration_id string · path
required
Responses
200Successful Response
GET /company-migrations/example/people
1curl "http://localhost:8000/company-migrations/example/people"
1fetch("http://localhost:8000/company-migrations/example/people")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/company-migrations/example/people")
4print(response.json())
200 Example Response
No Body
GET /company-migrations/:migration_id/runs undocumented

/company-migrations/:migration_id/runs

GET /company-migrations/:migration_id/runs: every move of this migration, newest first.

Parameters
migration_id string · path
required
Responses
200Successful Response
GET /company-migrations/example/runs
1curl "http://localhost:8000/company-migrations/example/runs"
1fetch("http://localhost:8000/company-migrations/example/runs")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/company-migrations/example/runs")
4print(response.json())
200 Example Response
No Body
GET /company-migrations/:migration_id/runs/:run_id undocumented

/company-migrations/:migration_id/runs/:run_id

GET /company-migrations/:migration_id/runs/:run_id: one move and what it has moved so far.

Parameters
migration_id string · path
required
run_id string · path
required
Responses
200Successful Response
GET /company-migrations/example/runs/example
1curl "http://localhost:8000/company-migrations/example/runs/example"
1fetch("http://localhost:8000/company-migrations/example/runs/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/company-migrations/example/runs/example")
4print(response.json())
200 Example Response
No Body
GET /company-migrations/:migration_id/runs/:run_id/mailboxes undocumented

/company-migrations/:migration_id/runs/:run_id/mailboxes

GET /company-migrations/:migration_id/runs/:run_id/mailboxes: each mailbox this move filled.

Parameters
migration_id string · path
required
run_id string · path
required
Responses
200Successful Response
GET /company-migrations/example/runs/example/mailboxes
1curl "http://localhost:8000/company-migrations/example/runs/example/mailboxes"
1fetch("http://localhost:8000/company-migrations/example/runs/example/mailboxes")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/company-migrations/example/runs/example/mailboxes")
4print(response.json())
200 Example Response
No Body
GET /company-migrations/:migration_id/runs/:run_id/drives undocumented

/company-migrations/:migration_id/runs/:run_id/drives

GET /company-migrations/:migration_id/runs/:run_id/drives: each OneDrive, Team and site this move copied.

Parameters
migration_id string · path
required
run_id string · path
required
Responses
200Successful Response
GET /company-migrations/example/runs/example/drives
1curl "http://localhost:8000/company-migrations/example/runs/example/drives"
1fetch("http://localhost:8000/company-migrations/example/runs/example/drives")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/company-migrations/example/runs/example/drives")
4print(response.json())
200 Example Response
No Body
POST /company-migrations/:migration_id/checks undocumented

/company-migrations/:migration_id/checks

POST /company-migrations/:migration_id/checks: sign in as the company's app and test what it can read.

Parameters
migration_id string · path
required
Responses
200Successful Response
POST /company-migrations/example/checks
1curl -X POST "http://localhost:8000/company-migrations/example/checks"
1fetch("http://localhost:8000/company-migrations/example/checks", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/company-migrations/example/checks")
4print(response.json())
200 Example Response
No Body
POST /company-migrations/:migration_id/runs undocumented

/company-migrations/:migration_id/runs

POST /company-migrations/:migration_id/runs: move everyone's mail and files, reading Microsoft only.

Parameters
migration_id string · path
required
Responses
200Successful Response
POST /company-migrations/example/runs
1curl -X POST "http://localhost:8000/company-migrations/example/runs"
1fetch("http://localhost:8000/company-migrations/example/runs", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/company-migrations/example/runs")
4print(response.json())
200 Example Response
No Body
POST /company-migrations/:migration_id/mail-retries undocumented

/company-migrations/:migration_id/mail-retries

POST /company-migrations/:migration_id/mail-retries: copy again every mailbox whose copy stopped.

Parameters
migration_id string · path
required
Responses
200Successful Response
POST /company-migrations/example/mail-retries
1curl -X POST "http://localhost:8000/company-migrations/example/mail-retries"
1fetch("http://localhost:8000/company-migrations/example/mail-retries", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/company-migrations/example/mail-retries")
4print(response.json())
200 Example Response
No Body
DELETE /compensation/:compensation_id undocumented

/compensation/:compensation_id

Parameters
compensation_id string · path
required
Responses
200Successful Response
DELETE /compensation/example
1curl -X DELETE "http://localhost:8000/compensation/example"
1fetch("http://localhost:8000/compensation/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/compensation/example")
4print(response.json())
200 Example Response
No Body
GET /compensation undocumented

/compensation

All workers with their latest compensation record.

Responses
200Successful Response
GET /compensation
1curl "http://localhost:8000/compensation"
1fetch("http://localhost:8000/compensation")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/compensation")
4print(response.json())
200 Example Response
No Body
GET /compensation/changes undocumented

/compensation/changes

Recent compensation changes across all workers.

Responses
200Successful Response
GET /compensation/changes
1curl "http://localhost:8000/compensation/changes"
1fetch("http://localhost:8000/compensation/changes")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/compensation/changes")
4print(response.json())
200 Example Response
No Body
POST /workers/:worker_id/compensation

Add compensation record

Parameters
worker_id string · path
required
Body · CreateCompensationapplication/json
effective_date string · min length: 1
required
items array
required
reason string · max length: 500
notes string · max length: 2000
propertyName anything
Responses
200Successful Response
POST /workers/example/compensation
1curl -X POST "http://localhost:8000/workers/example/compensation" \
2 -H "Content-Type: application/json" \
3 -d '{"effective_date":"string","items":[{"type":"string","label":"string","amount":1.5,"currency":"string","frequency":"hourly"}],"reason":"string","notes":"string"}'
1fetch("http://localhost:8000/workers/example/compensation", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "effective_date": "string",
6 "items": [
7 {
8 "type": "string",
9 "label": "string",
10 "amount": 1.5,
11 "currency": "string",
12 "frequency": "hourly"
13 }
14 ],
15 "reason": "string",
16 "notes": "string"
17}),
18})
19 .then((res) => res.json())
20 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/workers/example/compensation",
5 json={"effective_date":"string","items":[{"type":"string","label":"string","amount":1.5,"currency":"string","frequency":"hourly"}],"reason":"string","notes":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
DELETE /contacts/suggestions/:suggestion_id undocumented

/contacts/suggestions/:suggestion_id

DELETE /contacts/suggestions/:suggestion_id — drop a suggestion outright.

Parameters
suggestion_id string · path
required
Responses
200Successful Response
DELETE /contacts/suggestions/example
1curl -X DELETE "http://localhost:8000/contacts/suggestions/example"
1fetch("http://localhost:8000/contacts/suggestions/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/contacts/suggestions/example")
4print(response.json())
200 Example Response
No Body
DELETE /contacts/relationships/:key undocumented

/contacts/relationships/:key

DELETE /contacts/relationships/:key: remove a workspace value from the list and from every record.

Parameters
key string · path
required
Responses
200Successful Response
DELETE /contacts/relationships/example
1curl -X DELETE "http://localhost:8000/contacts/relationships/example"
1fetch("http://localhost:8000/contacts/relationships/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/contacts/relationships/example")
4print(response.json())
200 Example Response
No Body
DELETE /contacts/support/confirmations/:confirmation_id undocumented

/contacts/support/confirmations/:confirmation_id

DELETE /contacts/support/confirmations/:confirmation_id: stop waiting for an address.

Parameters
confirmation_id string · path
required
Responses
200Successful Response
DELETE /contacts/support/confirmations/example
1curl -X DELETE "http://localhost:8000/contacts/support/confirmations/example"
1fetch("http://localhost:8000/contacts/support/confirmations/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/contacts/support/confirmations/example")
4print(response.json())
200 Example Response
No Body
DELETE /contacts/support/addresses/:mailbox_id undocumented

/contacts/support/addresses/:mailbox_id

DELETE /contacts/support/addresses/:mailbox_id: stop answering support there, and turn off its rules.

Parameters
mailbox_id string · path
required
Responses
200Successful Response
DELETE /contacts/support/addresses/example
1curl -X DELETE "http://localhost:8000/contacts/support/addresses/example"
1fetch("http://localhost:8000/contacts/support/addresses/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/contacts/support/addresses/example")
4print(response.json())
200 Example Response
No Body
DELETE /contacts/:contact_id undocumented

/contacts/:contact_id

DELETE /contacts/:contact_id — delete a contact with soft warning if MRN-referenced.

Parameters
contact_id string · path
required
Responses
200Successful Response
DELETE /contacts/example
1curl -X DELETE "http://localhost:8000/contacts/example"
1fetch("http://localhost:8000/contacts/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/contacts/example")
4print(response.json())
200 Example Response
No Body
GET /contacts undocumented

/contacts

GET /contacts — list contacts with filters.

Responses
200Successful Response
GET /contacts
1curl "http://localhost:8000/contacts"
1fetch("http://localhost:8000/contacts")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/contacts")
4print(response.json())
200 Example Response
No Body
GET /contacts/search undocumented

/contacts/search

GET /contacts/search: unified search across contacts and companies, best match first.

Responses
200Successful Response
GET /contacts/search
1curl "http://localhost:8000/contacts/search"
1fetch("http://localhost:8000/contacts/search")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/contacts/search")
4print(response.json())
200 Example Response
No Body
GET /contacts/suggestions undocumented

/contacts/suggestions

GET /contacts/suggestions: people seen on your mail and not yet in the phone book, latest first.

Responses
200Successful Response
GET /contacts/suggestions
1curl "http://localhost:8000/contacts/suggestions"
1fetch("http://localhost:8000/contacts/suggestions")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/contacts/suggestions")
4print(response.json())
200 Example Response
No Body
GET /contacts/dashboard undocumented

/contacts/dashboard

GET /contacts/dashboard — everything the board renders, in one round trip. Every figure is aggregated in SQL rather than by counting serialized rows, so a workspace with fifty thousand contacts still renders a dashboard. The kit only ever fetches members and preferences itself; app data comes from here (specs/dashboard-kit.md, rule 1).

Responses
200Successful Response
GET /contacts/dashboard
1curl "http://localhost:8000/contacts/dashboard"
1fetch("http://localhost:8000/contacts/dashboard")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/contacts/dashboard")
4print(response.json())
200 Example Response
No Body
GET /contacts/exports undocumented

/contacts/exports

GET /contacts/exports — CSV of contacts or companies, filters applied. The same filters the directory is showing, so what downloads is what the person is looking at rather than the whole table.

Responses
200Successful Response
GET /contacts/exports
1curl "http://localhost:8000/contacts/exports"
1fetch("http://localhost:8000/contacts/exports")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/contacts/exports")
4print(response.json())
200 Example Response
No Body
GET /contacts/duplicates undocumented

/contacts/duplicates

GET /contacts/duplicates — merge candidates, worth-a-look first. Two cheap heuristics, both from the spec: the same name under different addresses, and the same address differing only in casing. No fuzzy matching: a wrong suggestion here costs somebody a destructive merge.

Responses
200Successful Response
GET /contacts/duplicates
1curl "http://localhost:8000/contacts/duplicates"
1fetch("http://localhost:8000/contacts/duplicates")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/contacts/duplicates")
4print(response.json())
200 Example Response
No Body
GET /contacts/settings undocumented

/contacts/settings

GET /contacts/settings — named embed configurations and snippets.

Responses
200Successful Response
GET /contacts/settings
1curl "http://localhost:8000/contacts/settings"
1fetch("http://localhost:8000/contacts/settings")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/contacts/settings")
4print(response.json())
200 Example Response
No Body
GET /contacts/settings/embeds/stats undocumented

/contacts/settings/embeds/stats

GET /contacts/settings/embeds/stats: each embed's chats, first reply and rating over 30 days.

Responses
200Successful Response
GET /contacts/settings/embeds/stats
1curl "http://localhost:8000/contacts/settings/embeds/stats"
1fetch("http://localhost:8000/contacts/settings/embeds/stats")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/contacts/settings/embeds/stats")
4print(response.json())
200 Example Response
No Body
GET /contacts/relationships undocumented

/contacts/relationships

GET /contacts/relationships: the built-in values first, then the workspace's own.

Responses
200Successful Response
GET /contacts/relationships
1curl "http://localhost:8000/contacts/relationships"
1fetch("http://localhost:8000/contacts/relationships")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/contacts/relationships")
4print(response.json())
200 Example Response
No Body
GET /contacts/support/settings undocumented

/contacts/support/settings

GET /contacts/support/settings: statuses, types, groups, rules, saved replies and the auto reply. The addresses answering support are read from /contacts/support/addresses.

Responses
200Successful Response
GET /contacts/support/settings
1curl "http://localhost:8000/contacts/support/settings"
1fetch("http://localhost:8000/contacts/support/settings")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/contacts/support/settings")
4print(response.json())
200 Example Response
No Body
GET /contacts/support/mailboxes undocumented

/contacts/support/mailboxes

GET /contacts/support/mailboxes?q=: SEARCH, never the directory. This used to answer with every mailbox in the workspace and let the browser filter them. A workspace with ten thousand members put ten thousand addresses on the page, which is what got the settings screen rejected. It now answers a query with at most SEARCH_CAP rows, and answers nothing at all when asked for nothing: no query means no results, not everything. Refused mailboxes are returned DISABLED inside those results, never omitted. A workspace that owns an address it cannot designate needs to understand why; a dropped row reads as a missing mailbox rather than a missing capability, and somebody files that as a bug.

Responses
200Successful Response
GET /contacts/support/mailboxes
1curl "http://localhost:8000/contacts/support/mailboxes"
1fetch("http://localhost:8000/contacts/support/mailboxes")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/contacts/support/mailboxes")
4print(response.json())
200 Example Response
No Body
GET /contacts/support/confirmations/:confirmation_id undocumented

/contacts/support/confirmations/:confirmation_id

GET /contacts/support/confirmations/:confirmation_id: has it arrived yet? Takes the pending id and nothing else, so it can never be used to ask what any mailbox holds.

Parameters
confirmation_id string · path
required
Responses
200Successful Response
GET /contacts/support/confirmations/example
1curl "http://localhost:8000/contacts/support/confirmations/example"
1fetch("http://localhost:8000/contacts/support/confirmations/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/contacts/support/confirmations/example")
4print(response.json())
200 Example Response
No Body
GET /contacts/support/confirmations undocumented

/contacts/support/confirmations

GET /contacts/support/confirmations: every address still waiting for our message.

Responses
200Successful Response
GET /contacts/support/confirmations
1curl "http://localhost:8000/contacts/support/confirmations"
1fetch("http://localhost:8000/contacts/support/confirmations")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/contacts/support/confirmations")
4print(response.json())
200 Example Response
No Body
GET /contacts/support/addresses undocumented

/contacts/support/addresses

GET /contacts/support/addresses: every address answering support, whether it works, and its last 30 days.

Responses
200Successful Response
GET /contacts/support/addresses
1curl "http://localhost:8000/contacts/support/addresses"
1fetch("http://localhost:8000/contacts/support/addresses")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/contacts/support/addresses")
4print(response.json())
200 Example Response
No Body
GET /contacts/support/addresses/:mailbox_id undocumented

/contacts/support/addresses/:mailbox_id

GET /contacts/support/addresses/:mailbox_id: one address, its health, and how its replies look.

Parameters
mailbox_id string · path
required
Responses
200Successful Response
GET /contacts/support/addresses/example
1curl "http://localhost:8000/contacts/support/addresses/example"
1fetch("http://localhost:8000/contacts/support/addresses/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/contacts/support/addresses/example")
4print(response.json())
200 Example Response
No Body
GET /contacts/support/addresses/:mailbox_id/tests/:test_id undocumented

/contacts/support/addresses/:mailbox_id/tests/:test_id

GET /contacts/support/addresses/:mailbox_id/tests/:test_id: has the test arrived, and how fast.

Parameters
mailbox_id string · path
required
test_id string · path
required
Responses
200Successful Response
GET /contacts/support/addresses/example/tests/example
1curl "http://localhost:8000/contacts/support/addresses/example/tests/example"
1fetch("http://localhost:8000/contacts/support/addresses/example/tests/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/contacts/support/addresses/example/tests/example")
4print(response.json())
200 Example Response
No Body
GET /contacts/:contact_id undocumented

/contacts/:contact_id

GET /contacts/:contact_id — get contact with company info and recent interactions.

Parameters
contact_id string · path
required
Responses
200Successful Response
GET /contacts/example
1curl "http://localhost:8000/contacts/example"
1fetch("http://localhost:8000/contacts/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/contacts/example")
4print(response.json())
200 Example Response
No Body
GET /contacts/:contact_id/interactions undocumented

/contacts/:contact_id/interactions

GET /contacts/:contact_id/interactions — interactions for a contact.

Parameters
contact_id string · path
required
Responses
200Successful Response
GET /contacts/example/interactions
1curl "http://localhost:8000/contacts/example/interactions"
1fetch("http://localhost:8000/contacts/example/interactions")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/contacts/example/interactions")
4print(response.json())
200 Example Response
No Body
GET /contacts/reports undocumented

/contacts/reports

GET /contacts/reports: every helpdesk figure, in one round trip. Aggregated in SQL rather than by counting serialized rows, so a workspace with fifty thousand conversations still renders the board. Response times are measured from ``first_response_at``, which is stamped once by the first non-internal staff message, so a conversation nobody has answered contributes to the backlog figures and to nothing else. Averaging it in as a zero would report a helpdesk answering instantly while its customers waited.

Responses
200Successful Response
GET /contacts/reports
1curl "http://localhost:8000/contacts/reports"
1fetch("http://localhost:8000/contacts/reports")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/contacts/reports")
4print(response.json())
200 Example Response
No Body
PATCH /contacts/suggestions/:suggestion_id

Accept or dismiss a contact suggestion

PATCH /contacts/suggestions/:suggestion_id: accept into the phone book, or dismiss for good.

Parameters
suggestion_id string · path
required
Body · UpdateSuggestionapplication/json
status
required
name string · min length: 1 · max length: 200
company_id string
relationships array
propertyName anything
Responses
200Successful Response
PATCH /contacts/suggestions/example
1curl -X PATCH "http://localhost:8000/contacts/suggestions/example" \
2 -H "Content-Type: application/json" \
3 -d '{"status":"accepted","name":"string","company_id":"string","relationships":["string"]}'
1fetch("http://localhost:8000/contacts/suggestions/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "status": "accepted",
6 "name": "string",
7 "company_id": "string",
8 "relationships": [
9 "string"
10 ]
11}),
12})
13 .then((res) => res.json())
14 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/contacts/suggestions/example",
5 json={"status":"accepted","name":"string","company_id":"string","relationships":["string"]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /contacts

Create a contact

POST /contacts — create a contact with domain extraction and auto company linking.

Body · CreateContactapplication/json
name string · min length: 1 · max length: 200
required
email string · max length: 200 · email
phone string · max length: 50
mobile string · max length: 50
secondary_email string · max length: 200 · email
title string · max length: 100
department string · max length: 100
company_id string
company_name string · max length: 200
linkedin_url string · max length: 500
website string · max length: 500
social_url string · max length: 500
address string · max length: 500
tags array
role string · max length: 50
lifecycle_stage
preferred_channel
timezone string · max length: 60
birthday string · max length: 10
avatar_url string · max length: 500
notes string · max length: 5000
custom_fields array
relationships array
owner_mrn string
source
propertyName anything
Responses
200Successful Response
POST /contacts
1curl -X POST "http://localhost:8000/contacts" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","email":"user@example.com","phone":"string","mobile":"string","secondary_email":"user@example.com","title":"string","department":"string","company_id":"string","company_name":"string","linkedin_url":"string","website":"string","social_url":"string","address":"string","tags":["string"],"role":"string","lifecycle_stage":"lead","preferred_channel":"email","timezone":"string","birthday":"string","avatar_url":"string","notes":"string","custom_fields":[{"key":"string","value":"string"}],"relationships":["string"],"owner_mrn":"string","source":"manual"}'
1fetch("http://localhost:8000/contacts", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "email": "user@example.com",
7 "phone": "string",
8 "mobile": "string",
9 "secondary_email": "user@example.com",
10 "title": "string",
11 "department": "string",
12 "company_id": "string",
13 "company_name": "string",
14 "linkedin_url": "string",
15 "website": "string",
16 "social_url": "string",
17 "address": "string",
18 "tags": [
19 "string"
20 ],
21 "role": "string",
22 "lifecycle_stage": "lead",
23 "preferred_channel": "email",
24 "timezone": "string",
25 "birthday": "string",
26 "avatar_url": "string",
27 "notes": "string",
28 "custom_fields": [
29 {
30 "key": "string",
31 "value": "string"
32 }
33 ],
34 "relationships": [
35 "string"
36 ],
37 "owner_mrn": "string",
38 "source": "manual"
39}),
40})
41 .then((res) => res.json())
42 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/contacts",
5 json={"name":"string","email":"user@example.com","phone":"string","mobile":"string","secondary_email":"user@example.com","title":"string","department":"string","company_id":"string","company_name":"string","linkedin_url":"string","website":"string","social_url":"string","address":"string","tags":["string"],"role":"string","lifecycle_stage":"lead","preferred_channel":"email","timezone":"string","birthday":"string","avatar_url":"string","notes":"string","custom_fields":[{"key":"string","value":"string"}],"relationships":["string"],"owner_mrn":"string","source":"manual"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /contacts/:contact_id/calls

Call a contact

Call a contact from a number assigned to the caller. The server dials; the browser never needs the digits.

Parameters
contact_id string · path
required
Body · PhoneCallapplication/json
line_id string · min length: 1 · max length: 64
required
propertyName anything
Responses
200Successful Response
POST /contacts/example/calls
1curl -X POST "http://localhost:8000/contacts/example/calls" \
2 -H "Content-Type: application/json" \
3 -d '{"line_id":"string"}'
1fetch("http://localhost:8000/contacts/example/calls", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "line_id": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/contacts/example/calls",
5 json={"line_id":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /contacts/settings/widget-keys undocumented

/contacts/settings/widget-keys

POST /contacts/settings/widget-keys — rotate the first embed's key. Kept for callers that predate named embeds. Prefer ``POST /contacts/settings/embeds/:embed_id/rotate-key``.

Responses
200Successful Response
POST /contacts/settings/widget-keys
1curl -X POST "http://localhost:8000/contacts/settings/widget-keys"
1fetch("http://localhost:8000/contacts/settings/widget-keys", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/contacts/settings/widget-keys")
4print(response.json())
200 Example Response
No Body
POST /contacts/settings/embeds/:embed_id/rotate-key undocumented

/contacts/settings/embeds/:embed_id/rotate-key

POST /contacts/settings/embeds/:embed_id/rotate-key — rotate one embed.

Parameters
embed_id string · path
required
Responses
200Successful Response
POST /contacts/settings/embeds/example/rotate-key
1curl -X POST "http://localhost:8000/contacts/settings/embeds/example/rotate-key"
1fetch("http://localhost:8000/contacts/settings/embeds/example/rotate-key", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/contacts/settings/embeds/example/rotate-key")
4print(response.json())
200 Example Response
No Body
POST /contacts/settings/embeds/:embed_id/previews undocumented

/contacts/settings/embeds/:embed_id/previews

POST /contacts/settings/embeds/:embed_id/previews: a link that shows the embed on a site, live or not.

Parameters
embed_id string · path
required
Responses
200Successful Response
POST /contacts/settings/embeds/example/previews
1curl -X POST "http://localhost:8000/contacts/settings/embeds/example/previews"
1fetch("http://localhost:8000/contacts/settings/embeds/example/previews", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/contacts/settings/embeds/example/previews")
4print(response.json())
200 Example Response
No Body
POST /contacts/settings/embeds/:embed_id/install-emails

Email an embed's code to a developer

POST /contacts/settings/embeds/:embed_id/install-emails: mail the embed's code to a developer.

Parameters
embed_id string · path
required
Body · EmbedInstallEmailapplication/json
to string · min length: 3 · max length: 254 · email
required
note string · max length: 500
propertyName anything
Responses
200Successful Response
POST /contacts/settings/embeds/example/install-emails
1curl -X POST "http://localhost:8000/contacts/settings/embeds/example/install-emails" \
2 -H "Content-Type: application/json" \
3 -d '{"to":"user@example.com","note":"string"}'
1fetch("http://localhost:8000/contacts/settings/embeds/example/install-emails", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "to": "user@example.com",
6 "note": "string"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/contacts/settings/embeds/example/install-emails",
5 json={"to":"user@example.com","note":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /contacts/relationships

Add a relationship value

POST /contacts/relationships: add a relationship value of the workspace's own.

Body · CreateRelationshipapplication/json
label string · min length: 1 · max length: 40
required
propertyName anything
Responses
200Successful Response
POST /contacts/relationships
1curl -X POST "http://localhost:8000/contacts/relationships" \
2 -H "Content-Type: application/json" \
3 -d '{"label":"string"}'
1fetch("http://localhost:8000/contacts/relationships", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "label": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/contacts/relationships",
5 json={"label":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /contacts/support/addresses/:mailbox_id/tests undocumented

/contacts/support/addresses/:mailbox_id/tests

POST /contacts/support/addresses/:mailbox_id/tests: send one message to the address and time it.

Parameters
mailbox_id string · path
required
Responses
200Successful Response
POST /contacts/support/addresses/example/tests
1curl -X POST "http://localhost:8000/contacts/support/addresses/example/tests"
1fetch("http://localhost:8000/contacts/support/addresses/example/tests", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/contacts/support/addresses/example/tests")
4print(response.json())
200 Example Response
No Body
POST /contacts/:contact_id/merges

Merge a duplicate into this contact

POST /contacts/:id/merges — fold a duplicate into this contact. The survivor keeps everything it already had; blanks fill from the duplicate. Interactions, conversations and timeline rows re-point, then the duplicate row is deleted and consuming apps are told to re-point their party projections. Deliberately not reversible, and deliberately not a soft delete: a tombstone row would keep the duplicate resolvable through every lookup that made it a problem in the first place.

Parameters
contact_id string · path
required
Body · MergeContactsapplication/json
duplicate_id string · min length: 1
required
propertyName anything
Responses
200Successful Response
POST /contacts/example/merges
1curl -X POST "http://localhost:8000/contacts/example/merges" \
2 -H "Content-Type: application/json" \
3 -d '{"duplicate_id":"string"}'
1fetch("http://localhost:8000/contacts/example/merges", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "duplicate_id": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/contacts/example/merges",
5 json={"duplicate_id":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /contacts/settings

Configure the website chat widget

PUT /contacts/settings — create or update named website chat embeds. Keys are never taken from the client. Enabling an embed for the first time mints one; rotation is its own endpoint.

Body · UpdateContactsSettingsapplication/json
embeds array
widget object
dormant_after_days integer · min: 1 · max: 3650
propertyName anything
Responses
200Successful Response
PUT /contacts/settings
1curl -X PUT "http://localhost:8000/contacts/settings" \
2 -H "Content-Type: application/json" \
3 -d '{"embeds":[{"id":"string","name":"string","enabled":{},"allowed_origins":["string"],"greeting":"string","subtitle":"string","color":"string","position":"right","allow_uploads":{},"fields":{"name":"off","email":"off","phone":"off"},"help":{"enabled":{},"wiki_mrn":"string"},"real_reply_time":{},"nudge":{}}],"widget":{"enabled":{},"allowed_origins":["string"],"greeting":"string","subtitle":"string","color":"string","position":"right","allow_uploads":{},"fields":{"name":"off","email":"off","phone":"off"}},"dormant_after_days":1}'
1fetch("http://localhost:8000/contacts/settings", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "embeds": [
6 {
7 "id": "string",
8 "name": "string",
9 "enabled": {},
10 "allowed_origins": [
11 "string"
12 ],
13 "greeting": "string",
14 "subtitle": "string",
15 "color": "string",
16 "position": "right",
17 "allow_uploads": {},
18 "fields": {
19 "name": "off",
20 "email": "off",
21 "phone": "off"
22 },
23 "help": {
24 "enabled": {},
25 "wiki_mrn": "string"
26 },
27 "real_reply_time": {},
28 "nudge": {}
29 }
30 ],
31 "widget": {
32 "enabled": {},
33 "allowed_origins": [
34 "string"
35 ],
36 "greeting": "string",
37 "subtitle": "string",
38 "color": "string",
39 "position": "right",
40 "allow_uploads": {},
41 "fields": {
42 "name": "off",
43 "email": "off",
44 "phone": "off"
45 }
46 },
47 "dormant_after_days": 1
48}),
49})
50 .then((res) => res.json())
51 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/contacts/settings",
5 json={"embeds":[{"id":"string","name":"string","enabled":{},"allowed_origins":["string"],"greeting":"string","subtitle":"string","color":"string","position":"right","allow_uploads":{},"fields":{"name":"off","email":"off","phone":"off"},"help":{"enabled":{},"wiki_mrn":"string"},"real_reply_time":{},"nudge":{}}],"widget":{"enabled":{},"allowed_origins":["string"],"greeting":"string","subtitle":"string","color":"string","position":"right","allow_uploads":{},"fields":{"name":"off","email":"off","phone":"off"}},"dormant_after_days":1},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /contacts/:contact_id

Update a contact

PUT /contacts/:contact_id — update a contact.

Parameters
contact_id string · path
required
Body · UpdateContactapplication/json
phone_number string · max length: 50
street string · max length: 300
city string · max length: 100
state string · max length: 100
postal_code string · max length: 20
country string · max length: 100
propertyName anything
Responses
200Successful Response
PUT /contacts/example
1curl -X PUT "http://localhost:8000/contacts/example" \
2 -H "Content-Type: application/json" \
3 -d '{"phone_number":"string","street":"string","city":"string","state":"string","postal_code":"string","country":"string"}'
1fetch("http://localhost:8000/contacts/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "phone_number": "string",
6 "street": "string",
7 "city": "string",
8 "state": "string",
9 "postal_code": "string",
10 "country": "string"
11}),
12})
13 .then((res) => res.json())
14 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/contacts/example",
5 json={"phone_number":"string","street":"string","city":"string","state":"string","postal_code":"string","country":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /contacts/:contact_id/state

Override a contact's state

PUT /contacts/:id/state — a human overriding the derived face. Recorded as ``manual`` and labelled as such in the UI, because a state somebody typed and a state the evidence produced are different claims. It lasts until the next real signal, which then takes the wheel back.

Parameters
contact_id string · path
required
Body · SetContactStateapplication/json
state
required
reason string · max length: 200
propertyName anything
Responses
200Successful Response
PUT /contacts/example/state
1curl -X PUT "http://localhost:8000/contacts/example/state" \
2 -H "Content-Type: application/json" \
3 -d '{"state":"angry","reason":"string"}'
1fetch("http://localhost:8000/contacts/example/state", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "state": "angry",
6 "reason": "string"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/contacts/example/state",
5 json={"state":"angry","reason":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
GET /conversations/:conversation_id/facts undocumented

/conversations/:conversation_id/facts

GET /conversations/:conversation_id/facts: what a rule's conditions read about the ticket.

Parameters
conversation_id string · path
required
Responses
200Successful Response
GET /conversations/example/facts
1curl "http://localhost:8000/conversations/example/facts"
1fetch("http://localhost:8000/conversations/example/facts")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/conversations/example/facts")
4print(response.json())
200 Example Response
No Body
GET /conversations undocumented

/conversations

GET /conversations: the ticket list. Filters: status, status_key, type_key, assignee_mrn, priority, contact_id, channel, overdue, idle_hours, q.

Responses
200Successful Response
GET /conversations
1curl "http://localhost:8000/conversations"
1fetch("http://localhost:8000/conversations")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/conversations")
4print(response.json())
200 Example Response
No Body
GET /conversations/facts undocumented

/conversations/facts

GET /conversations/facts: the queue's header numbers and who holds what.

Responses
200Successful Response
GET /conversations/facts
1curl "http://localhost:8000/conversations/facts"
1fetch("http://localhost:8000/conversations/facts")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/conversations/facts")
4print(response.json())
200 Example Response
No Body
GET /conversations/:conversation_id undocumented

/conversations/:conversation_id

GET /conversations/:id — the thread, including internal notes. This is a staff route behind connect.conversations.view; internal notes are stripped only on the visitor-facing widget routes.

Parameters
conversation_id string · path
required
Responses
200Successful Response
GET /conversations/example
1curl "http://localhost:8000/conversations/example"
1fetch("http://localhost:8000/conversations/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/conversations/example")
4print(response.json())
200 Example Response
No Body
PATCH /contacts/support/addresses/:mailbox_id

Change how replies leave a support address

PATCH /contacts/support/addresses/:mailbox_id: the From line, the ticket number and the signature.

Parameters
mailbox_id string · path
required
Body · SupportAddressInapplication/json
label string · max length: 80
agent
number
signature string · max length: 400
propertyName anything
Responses
200Successful Response
PATCH /contacts/support/addresses/example
1curl -X PATCH "http://localhost:8000/contacts/support/addresses/example" \
2 -H "Content-Type: application/json" \
3 -d '{"label":"string","agent":{},"number":{},"signature":"string"}'
1fetch("http://localhost:8000/contacts/support/addresses/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "label": "string",
6 "agent": {},
7 "number": {},
8 "signature": "string"
9}),
10})
11 .then((res) => res.json())
12 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/contacts/support/addresses/example",
5 json={"label":"string","agent":{},"number":{},"signature":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /conversations/:conversation_id

Assign, prioritise or resolve a conversation

PATCH /conversations/:id — status, assignee, priority and tag moves. Resolution is the CSAT moment: it stamps resolved_at, logs the thread as a touchpoint on the contact, and tells the spawning surface to prompt for a rating.

Parameters
conversation_id string · path
required
Body · UpdateConversationapplication/json
status
status_key string · max length: 40
type_key string · max length: 40
priority
assignee_mrn string · max length: 200
group_key string · max length: 40
fields
snoozed_until string · max length: 40
tags array
contact_id string · max length: 60
service_level string · max length: 60
propertyName anything
Responses
200Successful Response
PATCH /conversations/example
1curl -X PATCH "http://localhost:8000/conversations/example" \
2 -H "Content-Type: application/json" \
3 -d '{"status":"open","status_key":"string","type_key":"string","priority":"low","assignee_mrn":"string","group_key":"string","fields":{},"snoozed_until":"string","tags":["string"],"contact_id":"string","service_level":"string"}'
1fetch("http://localhost:8000/conversations/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "status": "open",
6 "status_key": "string",
7 "type_key": "string",
8 "priority": "low",
9 "assignee_mrn": "string",
10 "group_key": "string",
11 "fields": {},
12 "snoozed_until": "string",
13 "tags": [
14 "string"
15 ],
16 "contact_id": "string",
17 "service_level": "string"
18}),
19})
20 .then((res) => res.json())
21 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/conversations/example",
5 json={"status":"open","status_key":"string","type_key":"string","priority":"low","assignee_mrn":"string","group_key":"string","fields":{},"snoozed_until":"string","tags":["string"],"contact_id":"string","service_level":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /contacts/support/confirmations

Confirm an address as a support inbox

POST /contacts/support/confirmations: mail an address to prove it works. Named by mailbox id, never by address, so the address we send to comes off our own row. Sending again replaces the check still waiting for that address.

Body · StartSupportConfirmationapplication/json
mailbox_id string · min length: 1 · max length: 80
required
propertyName anything
Responses
200Successful Response
POST /contacts/support/confirmations
1curl -X POST "http://localhost:8000/contacts/support/confirmations" \
2 -H "Content-Type: application/json" \
3 -d '{"mailbox_id":"string"}'
1fetch("http://localhost:8000/contacts/support/confirmations", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "mailbox_id": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/contacts/support/confirmations",
5 json={"mailbox_id":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /conversations

Open a ticket for a contact

POST /conversations: a ticket staff opened for a contact. No first reply is owed on it, because nobody outside is waiting for one. The resolution clock runs from the moment it opens, exactly as it does elsewhere.

Body · CreateConversationapplication/json
contact_id string · min length: 1 · max length: 60
required
subject string · min length: 1 · max length: 200
required
body string · min length: 1 · max length: 10000
required
priority
type_key string · max length: 40
assignee_mrn string · max length: 200
propertyName anything
Responses
200Successful Response
POST /conversations
1curl -X POST "http://localhost:8000/conversations" \
2 -H "Content-Type: application/json" \
3 -d '{"contact_id":"string","subject":"string","body":"string","priority":"low","type_key":"string","assignee_mrn":"string"}'
1fetch("http://localhost:8000/conversations", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "contact_id": "string",
6 "subject": "string",
7 "body": "string",
8 "priority": "low",
9 "type_key": "string",
10 "assignee_mrn": "string"
11}),
12})
13 .then((res) => res.json())
14 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/conversations",
5 json={"contact_id":"string","subject":"string","body":"string","priority":"low","type_key":"string","assignee_mrn":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /conversations/:conversation_id/merges

Merge tickets into this one

POST /conversations/:conversation_id/merges: fold other tickets into this one.

Parameters
conversation_id string · path
required
Body · MergeConversationsapplication/json
source_ids array
required
propertyName anything
Responses
200Successful Response
POST /conversations/example/merges
1curl -X POST "http://localhost:8000/conversations/example/merges" \
2 -H "Content-Type: application/json" \
3 -d '{"source_ids":["string"]}'
1fetch("http://localhost:8000/conversations/example/merges", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "source_ids": [
6 "string"
7 ]
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/conversations/example/merges",
5 json={"source_ids":["string"]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /conversations/:conversation_id/messages

Reply in a conversation or add an internal note

POST /conversations/:id/messages — a staff reply, or an internal note. Any holder of connect.conversations.manage may reply in any thread; assignee_mrn is ownership, never exclusivity. An internal note is stored and shown to colleagues but never emitted and never delivered to the visitor.

Parameters
conversation_id string · path
required
Body · CreateConversationMessageapplication/json
body string · min length: 1 · max length: 10000
required
is_internal
saved_reply_id string · max length: 60
propertyName anything
Responses
200Successful Response
POST /conversations/example/messages
1curl -X POST "http://localhost:8000/conversations/example/messages" \
2 -H "Content-Type: application/json" \
3 -d '{"body":"string","is_internal":{},"saved_reply_id":"string"}'
1fetch("http://localhost:8000/conversations/example/messages", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "body": "string",
6 "is_internal": {},
7 "saved_reply_id": "string"
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/conversations/example/messages",
5 json={"body":"string","is_internal":{},"saved_reply_id":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /conversations/:conversation_id/messages/:message_id/deliveries

Send again a reply that did not go out

POST /conversations/:id/messages/:message_id/deliveries: send again a reply that did not go out. The reply is claimed before it is sent, so two clicks send it once.

Parameters
conversation_id string · path
required
message_id string · path
required
Body · CreateMessageDeliveryapplication/json
draft_id string · max length: 64
propertyName anything
Responses
200Successful Response
POST /conversations/example/messages/example/deliveries
1curl -X POST "http://localhost:8000/conversations/example/messages/example/deliveries" \
2 -H "Content-Type: application/json" \
3 -d '{"draft_id":"string"}'
1fetch("http://localhost:8000/conversations/example/messages/example/deliveries", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "draft_id": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/conversations/example/messages/example/deliveries",
5 json={"draft_id":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /conversations/:conversation_id/drafts undocumented

/conversations/:conversation_id/drafts

POST /conversations/:id/drafts: start a co-written reply. Composing a reply IS composing mail, so this creates a MAIL draft through the mail layer's own creator rather than a table of its own. Contacts owns no mail table, and a second draft store would be a second thing to keep in step with sending. The draft is created BEFORE the socket is opened, which is what lets the shared transport refuse an unknown id outright instead of trusting that a client will save one shortly.

Parameters
conversation_id string · path
required
Responses
200Successful Response
POST /conversations/example/drafts
1curl -X POST "http://localhost:8000/conversations/example/drafts"
1fetch("http://localhost:8000/conversations/example/drafts", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/conversations/example/drafts")
4print(response.json())
200 Example Response
No Body
POST /conversations/:conversation_id/drafts/:draft_id/send undocumented

/conversations/:conversation_id/drafts/:draft_id/send

POST /conversations/:id/drafts/:draft_id/send: send the co-written reply. Reads the draft's body, stores it on the conversation like any other staff reply, and lets it out through the one send path, from the conversation's own mailbox.

Parameters
conversation_id string · path
required
draft_id string · path
required
Responses
200Successful Response
POST /conversations/example/drafts/example/send
1curl -X POST "http://localhost:8000/conversations/example/drafts/example/send"
1fetch("http://localhost:8000/conversations/example/drafts/example/send", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/conversations/example/drafts/example/send")
4print(response.json())
200 Example Response
No Body
PUT /conversations/:conversation_id/drafts/:draft_id

Save a co-written reply

PUT /conversations/:id/drafts/:draft_id: keep the HTML of the co-written reply. Behind the same ticket permission as starting and sending it, so everyone who may answer the ticket can write the reply, whatever their tier in the mailbox's group.

Parameters
conversation_id string · path
required
draft_id string · path
required
Body · SaveConversationDraftapplication/json
body_html string
required
propertyName anything
Responses
200Successful Response
PUT /conversations/example/drafts/example
1curl -X PUT "http://localhost:8000/conversations/example/drafts/example" \
2 -H "Content-Type: application/json" \
3 -d '{"body_html":"string"}'
1fetch("http://localhost:8000/conversations/example/drafts/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "body_html": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/conversations/example/drafts/example",
5 json={"body_html":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /coupons/:code/redemptions undocumented

/coupons/:code/redemptions

POST /coupons/:code/redemptions — apply a coupon to the current workspace.

Parameters
code string · path
required
Responses
200Successful Response
POST /coupons/example/redemptions
1curl -X POST "http://localhost:8000/coupons/example/redemptions"
1fetch("http://localhost:8000/coupons/example/redemptions", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/coupons/example/redemptions")
4print(response.json())
200 Example Response
No Body
PATCH /finance/credit-notes/:entry_id

Issue/void credit note

Parameters
entry_id string · path
required
Body · UpdateCreditNoteStatusapplication/json
status
required
propertyName anything
Responses
200Successful Response
PATCH /finance/credit-notes/example
1curl -X PATCH "http://localhost:8000/finance/credit-notes/example" \
2 -H "Content-Type: application/json" \
3 -d '{"status":"issued"}'
1fetch("http://localhost:8000/finance/credit-notes/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "status": "issued"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/finance/credit-notes/example",
5 json={"status":"issued"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /finance/credit-notes

Create a credit note

Body · CreateCreditNoteapplication/json
date string · min length: 10
required
items array
source_entry_id string · min length: 1
required
contact_mrn string
company_mrn string
currency
exchange_rate number
memo string · max length: 5000
adjustments array
dimensions
idempotency_key string · max length: 100
propertyName anything
Responses
200Successful Response
POST /finance/credit-notes
1curl -X POST "http://localhost:8000/finance/credit-notes" \
2 -H "Content-Type: application/json" \
3 -d '{"date":"string","items":[{"description":"string","quantity":1.5,"unit_price":1.5,"discount":1.5,"amount":1.5,"account_code":"string","product_mrn":"string","taxes":[{"name":"string","rate":1.5,"amount":1.5,"reverse_charge":{}}]}],"source_entry_id":"string","contact_mrn":"string","company_mrn":"string","currency":"USD","exchange_rate":1.5,"memo":"string","adjustments":[{"label":"string","type":"fixed","value":1.5,"amount":1.5,"account_code":"string"}],"dimensions":{},"idempotency_key":"string"}'
1fetch("http://localhost:8000/finance/credit-notes", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "date": "string",
6 "items": [
7 {
8 "description": "string",
9 "quantity": 1.5,
10 "unit_price": 1.5,
11 "discount": 1.5,
12 "amount": 1.5,
13 "account_code": "string",
14 "product_mrn": "string",
15 "taxes": [
16 {
17 "name": "string",
18 "rate": 1.5,
19 "amount": 1.5,
20 "reverse_charge": {}
21 }
22 ]
23 }
24 ],
25 "source_entry_id": "string",
26 "contact_mrn": "string",
27 "company_mrn": "string",
28 "currency": "USD",
29 "exchange_rate": 1.5,
30 "memo": "string",
31 "adjustments": [
32 {
33 "label": "string",
34 "type": "fixed",
35 "value": 1.5,
36 "amount": 1.5,
37 "account_code": "string"
38 }
39 ],
40 "dimensions": {},
41 "idempotency_key": "string"
42}),
43})
44 .then((res) => res.json())
45 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/finance/credit-notes",
5 json={"date":"string","items":[{"description":"string","quantity":1.5,"unit_price":1.5,"discount":1.5,"amount":1.5,"account_code":"string","product_mrn":"string","taxes":[{"name":"string","rate":1.5,"amount":1.5,"reverse_charge":{}}]}],"source_entry_id":"string","contact_mrn":"string","company_mrn":"string","currency":"USD","exchange_rate":1.5,"memo":"string","adjustments":[{"label":"string","type":"fixed","value":1.5,"amount":1.5,"account_code":"string"}],"dimensions":{},"idempotency_key":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /finance/credit-notes/:entry_id/allocations

Set credit against an invoice

Parameters
entry_id string · path
required
Body · CreateCreditNoteAllocationapplication/json
entry_id string · min length: 1
required
amount number
required
entry_amount number
propertyName anything
Responses
200Successful Response
POST /finance/credit-notes/example/allocations
1curl -X POST "http://localhost:8000/finance/credit-notes/example/allocations" \
2 -H "Content-Type: application/json" \
3 -d '{"entry_id":"string","amount":1.5,"entry_amount":1.5}'
1fetch("http://localhost:8000/finance/credit-notes/example/allocations", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "entry_id": "string",
6 "amount": 1.5,
7 "entry_amount": 1.5
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/finance/credit-notes/example/allocations",
5 json={"entry_id":"string","amount":1.5,"entry_amount":1.5},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /finance/credit-notes/:entry_id/pdfs

Generate credit note PDF

Parameters
entry_id string · path
required
Body · GeneratePdfapplication/json
template string · max length: 100
propertyName anything
Responses
200Successful Response
POST /finance/credit-notes/example/pdfs
1curl -X POST "http://localhost:8000/finance/credit-notes/example/pdfs" \
2 -H "Content-Type: application/json" \
3 -d '{"template":"string"}'
1fetch("http://localhost:8000/finance/credit-notes/example/pdfs", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "template": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/finance/credit-notes/example/pdfs",
5 json={"template":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /finance/credit-notes/:entry_id/sends

Email a credit note

Parameters
entry_id string · path
required
Body · SendCreditNoteapplication/json
to string · min length: 1 · max length: 500
required
cc string · max length: 500
subject string · max length: 300
message string · max length: 5000
propertyName anything
Responses
200Successful Response
POST /finance/credit-notes/example/sends
1curl -X POST "http://localhost:8000/finance/credit-notes/example/sends" \
2 -H "Content-Type: application/json" \
3 -d '{"to":"string","cc":"string","subject":"string","message":"string"}'
1fetch("http://localhost:8000/finance/credit-notes/example/sends", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "to": "string",
6 "cc": "string",
7 "subject": "string",
8 "message": "string"
9}),
10})
11 .then((res) => res.json())
12 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/finance/credit-notes/example/sends",
5 json={"to":"string","cc":"string","subject":"string","message":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /finance/credit-notes/:entry_id

Update a credit note

Parameters
entry_id string · path
required
Body · UpdateCreditNoteapplication/json
date string · min length: 10
items array
contact_mrn string
company_mrn string
currency
exchange_rate number
memo string · max length: 5000
adjustments array
dimensions
propertyName anything
Responses
200Successful Response
PUT /finance/credit-notes/example
1curl -X PUT "http://localhost:8000/finance/credit-notes/example" \
2 -H "Content-Type: application/json" \
3 -d '{"date":"string","items":[{"description":"string","quantity":1.5,"unit_price":1.5,"discount":1.5,"amount":1.5,"account_code":"string","product_mrn":"string","taxes":[{"name":"string","rate":1.5,"amount":1.5,"reverse_charge":{}}]}],"contact_mrn":"string","company_mrn":"string","currency":"USD","exchange_rate":1.5,"memo":"string","adjustments":[{"label":"string","type":"fixed","value":1.5,"amount":1.5,"account_code":"string"}],"dimensions":{}}'
1fetch("http://localhost:8000/finance/credit-notes/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "date": "string",
6 "items": [
7 {
8 "description": "string",
9 "quantity": 1.5,
10 "unit_price": 1.5,
11 "discount": 1.5,
12 "amount": 1.5,
13 "account_code": "string",
14 "product_mrn": "string",
15 "taxes": [
16 {
17 "name": "string",
18 "rate": 1.5,
19 "amount": 1.5,
20 "reverse_charge": {}
21 }
22 ]
23 }
24 ],
25 "contact_mrn": "string",
26 "company_mrn": "string",
27 "currency": "USD",
28 "exchange_rate": 1.5,
29 "memo": "string",
30 "adjustments": [
31 {
32 "label": "string",
33 "type": "fixed",
34 "value": 1.5,
35 "amount": 1.5,
36 "account_code": "string"
37 }
38 ],
39 "dimensions": {}
40}),
41})
42 .then((res) => res.json())
43 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/finance/credit-notes/example",
5 json={"date":"string","items":[{"description":"string","quantity":1.5,"unit_price":1.5,"discount":1.5,"amount":1.5,"account_code":"string","product_mrn":"string","taxes":[{"name":"string","rate":1.5,"amount":1.5,"reverse_charge":{}}]}],"contact_mrn":"string","company_mrn":"string","currency":"USD","exchange_rate":1.5,"memo":"string","adjustments":[{"label":"string","type":"fixed","value":1.5,"amount":1.5,"account_code":"string"}],"dimensions":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
GET /crm/reports/pipeline undocumented

/crm/reports/pipeline

Responses
200Successful Response
GET /crm/reports/pipeline
1curl "http://localhost:8000/crm/reports/pipeline"
1fetch("http://localhost:8000/crm/reports/pipeline")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/crm/reports/pipeline")
4print(response.json())
200 Example Response
No Body
GET /crm/reports/performance undocumented

/crm/reports/performance

Responses
200Successful Response
GET /crm/reports/performance
1curl "http://localhost:8000/crm/reports/performance"
1fetch("http://localhost:8000/crm/reports/performance")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/crm/reports/performance")
4print(response.json())
200 Example Response
No Body
GET /crm/reports/forecast undocumented

/crm/reports/forecast

Responses
200Successful Response
GET /crm/reports/forecast
1curl "http://localhost:8000/crm/reports/forecast"
1fetch("http://localhost:8000/crm/reports/forecast")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/crm/reports/forecast")
4print(response.json())
200 Example Response
No Body
GET /crm/reports/activity undocumented

/crm/reports/activity

Activity report: target progress per rep.

Responses
200Successful Response
GET /crm/reports/activity
1curl "http://localhost:8000/crm/reports/activity"
1fetch("http://localhost:8000/crm/reports/activity")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/crm/reports/activity")
4print(response.json())
200 Example Response
No Body
GET /crm/reports/funnel undocumented

/crm/reports/funnel

Stage entry counts + conversion, from the indexed timeline.

Responses
200Successful Response
GET /crm/reports/funnel
1curl "http://localhost:8000/crm/reports/funnel"
1fetch("http://localhost:8000/crm/reports/funnel")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/crm/reports/funnel")
4print(response.json())
200 Example Response
No Body
GET /crm/reports/trends undocumented

/crm/reports/trends

Monthly won and lost counts, win rate and won value in the home currency, last 12 months.

Responses
200Successful Response
GET /crm/reports/trends
1curl "http://localhost:8000/crm/reports/trends"
1fetch("http://localhost:8000/crm/reports/trends")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/crm/reports/trends")
4print(response.json())
200 Example Response
No Body
GET /crm/reports/losses undocumented

/crm/reports/losses

Loss reasons with their deal count and lost value in the home currency.

Responses
200Successful Response
GET /crm/reports/losses
1curl "http://localhost:8000/crm/reports/losses"
1fetch("http://localhost:8000/crm/reports/losses")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/crm/reports/losses")
4print(response.json())
200 Example Response
No Body
GET /csv/:name undocumented

/csv/:name

GET /csv/:name: the heading row a file for this resource needs.

Parameters
name string · path
required
Responses
200Successful Response
GET /csv/example
1curl "http://localhost:8000/csv/example"
1fetch("http://localhost:8000/csv/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/csv/example")
4print(response.json())
200 Example Response
No Body
POST /csv/:name undocumented

/csv/:name

POST /csv/:name: check every row of a CSV, pasted CSV or workbook sheet; with `create`, write them. `create=all` writes only a file with no problems, `create=valid` writes the rows that have none. A workbook with several filled sheets is answered with the sheets until one is named.

Parameters
name string · path
required
Responses
200Successful Response
POST /csv/example
1curl -X POST "http://localhost:8000/csv/example"
1fetch("http://localhost:8000/csv/example", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/csv/example")
4print(response.json())
200 Example Response
No Body
DELETE /deals/:deal_id undocumented

/deals/:deal_id

Parameters
deal_id string · path
required
Responses
200Successful Response
DELETE /deals/example
1curl -X DELETE "http://localhost:8000/deals/example"
1fetch("http://localhost:8000/deals/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/deals/example")
4print(response.json())
200 Example Response
No Body
DELETE /deals/:deal_id/line-items/:item_id undocumented

/deals/:deal_id/line-items/:item_id

Parameters
deal_id string · path
required
item_id string · path
required
Responses
200Successful Response
DELETE /deals/example/line-items/example
1curl -X DELETE "http://localhost:8000/deals/example/line-items/example"
1fetch("http://localhost:8000/deals/example/line-items/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/deals/example/line-items/example")
4print(response.json())
200 Example Response
No Body
DELETE /deals/:deal_id/links/:link_id undocumented

/deals/:deal_id/links/:link_id

Parameters
deal_id string · path
required
link_id string · path
required
Responses
200Successful Response
DELETE /deals/example/links/example
1curl -X DELETE "http://localhost:8000/deals/example/links/example"
1fetch("http://localhost:8000/deals/example/links/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/deals/example/links/example")
4print(response.json())
200 Example Response
No Body
DELETE /deals/:deal_id/attachments/:file_id undocumented

/deals/:deal_id/attachments/:file_id

Parameters
deal_id string · path
required
file_id string · path
required
Responses
200Successful Response
DELETE /deals/example/attachments/example
1curl -X DELETE "http://localhost:8000/deals/example/attachments/example"
1fetch("http://localhost:8000/deals/example/attachments/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/deals/example/attachments/example")
4print(response.json())
200 Example Response
No Body
DELETE /deals/:deal_id/activities/:activity_id undocumented

/deals/:deal_id/activities/:activity_id

DELETE /deals/:deal_id/activities/:activity_id. Its author removes a note; the timeline keeps a line saying so.

Parameters
deal_id string · path
required
activity_id string · path
required
Responses
200Successful Response
DELETE /deals/example/activities/example
1curl -X DELETE "http://localhost:8000/deals/example/activities/example"
1fetch("http://localhost:8000/deals/example/activities/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/deals/example/activities/example")
4print(response.json())
200 Example Response
No Body
DELETE /deals/:deal_id/checklist-items/:item_id undocumented

/deals/:deal_id/checklist-items/:item_id

Parameters
deal_id string · path
required
item_id string · path
required
Responses
200Successful Response
DELETE /deals/example/checklist-items/example
1curl -X DELETE "http://localhost:8000/deals/example/checklist-items/example"
1fetch("http://localhost:8000/deals/example/checklist-items/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/deals/example/checklist-items/example")
4print(response.json())
200 Example Response
No Body
GET /deals undocumented

/deals

Every deal matching the filters, a page at a time, each with its stage, pipeline, owner and home value.

Responses
200Successful Response
GET /deals
1curl "http://localhost:8000/deals"
1fetch("http://localhost:8000/deals")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/deals")
4print(response.json())
200 Example Response
No Body
GET /deals/facts undocumented

/deals/facts

GET /deals/facts: the quick facts, status counts and summary line for the filters the Deals list is showing.

Responses
200Successful Response
GET /deals/facts
1curl "http://localhost:8000/deals/facts"
1fetch("http://localhost:8000/deals/facts")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/deals/facts")
4print(response.json())
200 Example Response
No Body
GET /deals/:deal_id undocumented

/deals/:deal_id

Parameters
deal_id string · path
required
Responses
200Successful Response
GET /deals/example
1curl "http://localhost:8000/deals/example"
1fetch("http://localhost:8000/deals/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/deals/example")
4print(response.json())
200 Example Response
No Body
GET /deals/:deal_id/line-items undocumented

/deals/:deal_id/line-items

Parameters
deal_id string · path
required
Responses
200Successful Response
GET /deals/example/line-items
1curl "http://localhost:8000/deals/example/line-items"
1fetch("http://localhost:8000/deals/example/line-items")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/deals/example/line-items")
4print(response.json())
200 Example Response
No Body
GET /deals/:deal_id/links undocumented

/deals/:deal_id/links

Parameters
deal_id string · path
required
Responses
200Successful Response
GET /deals/example/links
1curl "http://localhost:8000/deals/example/links"
1fetch("http://localhost:8000/deals/example/links")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/deals/example/links")
4print(response.json())
200 Example Response
No Body
GET /deals/:deal_id/activities undocumented

/deals/:deal_id/activities

Parameters
deal_id string · path
required
Responses
200Successful Response
GET /deals/example/activities
1curl "http://localhost:8000/deals/example/activities"
1fetch("http://localhost:8000/deals/example/activities")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/deals/example/activities")
4print(response.json())
200 Example Response
No Body
GET /deals/:deal_id/checklist-items undocumented

/deals/:deal_id/checklist-items

Parameters
deal_id string · path
required
Responses
200Successful Response
GET /deals/example/checklist-items
1curl "http://localhost:8000/deals/example/checklist-items"
1fetch("http://localhost:8000/deals/example/checklist-items")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/deals/example/checklist-items")
4print(response.json())
200 Example Response
No Body
PATCH /deals/:deal_id/stage

Move a deal to another stage

Parameters
deal_id string · path
required
Body · MoveDealStageapplication/json
stage_id string · min length: 1
required
pipeline_id string
loss_reason string · max length: 1000
propertyName anything
Responses
200Successful Response
PATCH /deals/example/stage
1curl -X PATCH "http://localhost:8000/deals/example/stage" \
2 -H "Content-Type: application/json" \
3 -d '{"stage_id":"string","pipeline_id":"string","loss_reason":"string"}'
1fetch("http://localhost:8000/deals/example/stage", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "stage_id": "string",
6 "pipeline_id": "string",
7 "loss_reason": "string"
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/deals/example/stage",
5 json={"stage_id":"string","pipeline_id":"string","loss_reason":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /deals/:deal_id/activities/:activity_id

Edit or pin a note on a deal

PATCH /deals/:deal_id/activities/:activity_id. Edit a note's text (its author only) or pin and unpin it.

Parameters
deal_id string · path
required
activity_id string · path
required
Body · UpdateNoteapplication/json
content string · min length: 1 · max length: 10000
pinned
propertyName anything
Responses
200Successful Response
PATCH /deals/example/activities/example
1curl -X PATCH "http://localhost:8000/deals/example/activities/example" \
2 -H "Content-Type: application/json" \
3 -d '{"content":"string","pinned":{}}'
1fetch("http://localhost:8000/deals/example/activities/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "content": "string",
6 "pinned": {}
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/deals/example/activities/example",
5 json={"content":"string","pinned":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /deals

Create a deal

Body · CreateDealapplication/json
pipeline_id string
required
title string · min length: 1 · max length: 300
required
value number
currency string · min length: 3 · max length: 3
stage_id string
contact_mrn string
contact_role
company_mrn string
owner_mrn string
expected_close_date string
source
line_items array
tags array
propertyName anything
Responses
200Successful Response
POST /deals
1curl -X POST "http://localhost:8000/deals" \
2 -H "Content-Type: application/json" \
3 -d '{"pipeline_id":"string","title":"string","value":1.5,"currency":"string","stage_id":"string","contact_mrn":"string","contact_role":"","company_mrn":"string","owner_mrn":"string","expected_close_date":"string","source":"inbound","line_items":[{"name":"string","product_mrn":"string","quantity":1.5,"unit_price":1.5,"currency":"string","period":"one_time"}],"tags":["string"]}'
1fetch("http://localhost:8000/deals", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "pipeline_id": "string",
6 "title": "string",
7 "value": 1.5,
8 "currency": "string",
9 "stage_id": "string",
10 "contact_mrn": "string",
11 "contact_role": "",
12 "company_mrn": "string",
13 "owner_mrn": "string",
14 "expected_close_date": "string",
15 "source": "inbound",
16 "line_items": [
17 {
18 "name": "string",
19 "product_mrn": "string",
20 "quantity": 1.5,
21 "unit_price": 1.5,
22 "currency": "string",
23 "period": "one_time"
24 }
25 ],
26 "tags": [
27 "string"
28 ]
29}),
30})
31 .then((res) => res.json())
32 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/deals",
5 json={"pipeline_id":"string","title":"string","value":1.5,"currency":"string","stage_id":"string","contact_mrn":"string","contact_role":"","company_mrn":"string","owner_mrn":"string","expected_close_date":"string","source":"inbound","line_items":[{"name":"string","product_mrn":"string","quantity":1.5,"unit_price":1.5,"currency":"string","period":"one_time"}],"tags":["string"]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /deals/:deal_id/line-items

Add a line item to a deal

Parameters
deal_id string · path
required
Body · LineItemInapplication/json
name string · min length: 1 · max length: 200
required
product_mrn string
quantity number
unit_price number
currency string
period
propertyName anything
Responses
200Successful Response
POST /deals/example/line-items
1curl -X POST "http://localhost:8000/deals/example/line-items" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","product_mrn":"string","quantity":1.5,"unit_price":1.5,"currency":"string","period":"one_time"}'
1fetch("http://localhost:8000/deals/example/line-items", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "product_mrn": "string",
7 "quantity": 1.5,
8 "unit_price": 1.5,
9 "currency": "string",
10 "period": "one_time"
11}),
12})
13 .then((res) => res.json())
14 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/deals/example/line-items",
5 json={"name":"string","product_mrn":"string","quantity":1.5,"unit_price":1.5,"currency":"string","period":"one_time"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /deals/:deal_id/links

Mint a deal room link for a customer

Parameters
deal_id string · path
required
Body · CreateDealLinkapplication/json
label string · max length: 200
propertyName anything
Responses
200Successful Response
POST /deals/example/links
1curl -X POST "http://localhost:8000/deals/example/links" \
2 -H "Content-Type: application/json" \
3 -d '{"label":"string"}'
1fetch("http://localhost:8000/deals/example/links", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "label": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/deals/example/links",
5 json={"label":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /deals/:deal_id/attachments

Attach a shared file to the deal room

Parameters
deal_id string · path
required
Body · CreateDealAttachmentapplication/json
mrn string · min length: 15 · max length: 200
required
name string · min length: 1 · max length: 300
required
url string · min length: 1 · max length: 500
required
share_id string · max length: 100
propertyName anything
Responses
200Successful Response
POST /deals/example/attachments
1curl -X POST "http://localhost:8000/deals/example/attachments" \
2 -H "Content-Type: application/json" \
3 -d '{"mrn":"string","name":"string","url":"string","share_id":"string"}'
1fetch("http://localhost:8000/deals/example/attachments", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "mrn": "string",
6 "name": "string",
7 "url": "string",
8 "share_id": "string"
9}),
10})
11 .then((res) => res.json())
12 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/deals/example/attachments",
5 json={"mrn":"string","name":"string","url":"string","share_id":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /deals/:deal_id/activities

Add a note to a deal

Parameters
deal_id string · path
required
Body · CreateNoteapplication/json
html string · min length: 1 · max length: 20000
required
application_id string · max length: 60
propertyName anything
Responses
200Successful Response
POST /deals/example/activities
1curl -X POST "http://localhost:8000/deals/example/activities" \
2 -H "Content-Type: application/json" \
3 -d '{"html":"string","application_id":"string"}'
1fetch("http://localhost:8000/deals/example/activities", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "html": "string",
6 "application_id": "string"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/deals/example/activities",
5 json={"html":"string","application_id":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /deals/:deal_id/checklist-items

Add a checklist item to a deal

Parameters
deal_id string · path
required
Body · CreateChecklistItemapplication/json
label string · min length: 1 · max length: 200
required
stage_id string
assignee_mrn string
due_date string
propertyName anything
Responses
200Successful Response
POST /deals/example/checklist-items
1curl -X POST "http://localhost:8000/deals/example/checklist-items" \
2 -H "Content-Type: application/json" \
3 -d '{"label":"string","stage_id":"string","assignee_mrn":"string","due_date":"string"}'
1fetch("http://localhost:8000/deals/example/checklist-items", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "label": "string",
6 "stage_id": "string",
7 "assignee_mrn": "string",
8 "due_date": "string"
9}),
10})
11 .then((res) => res.json())
12 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/deals/example/checklist-items",
5 json={"label":"string","stage_id":"string","assignee_mrn":"string","due_date":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /deals/:deal_id/quote-requests

Ask Finance to draft a quote from this deal

POST /deals/:deal_id/quote-requests. Emits deal.quote_requested; Finance drafts the quote from the line items (apps/finance/events.py).

Parameters
deal_id string · path
required
Body · CreateQuoteRequestapplication/json
memo string · max length: 2000
propertyName anything
Responses
200Successful Response
POST /deals/example/quote-requests
1curl -X POST "http://localhost:8000/deals/example/quote-requests" \
2 -H "Content-Type: application/json" \
3 -d '{"memo":"string"}'
1fetch("http://localhost:8000/deals/example/quote-requests", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "memo": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/deals/example/quote-requests",
5 json={"memo":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /deals/:deal_id

Update a deal

Parameters
deal_id string · path
required
Body · UpdateDealapplication/json
title string · min length: 1 · max length: 300
value number
currency string · min length: 3 · max length: 3
contact_mrn string
contact_role
company_mrn string
owner_mrn string
expected_close_date string
source
tags array
loss_reason string
proposal string · max length: 100000
propertyName anything
Responses
200Successful Response
PUT /deals/example
1curl -X PUT "http://localhost:8000/deals/example" \
2 -H "Content-Type: application/json" \
3 -d '{"title":"string","value":1.5,"currency":"string","contact_mrn":"string","contact_role":"","company_mrn":"string","owner_mrn":"string","expected_close_date":"string","source":"inbound","tags":["string"],"loss_reason":"string","proposal":"string"}'
1fetch("http://localhost:8000/deals/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "title": "string",
6 "value": 1.5,
7 "currency": "string",
8 "contact_mrn": "string",
9 "contact_role": "",
10 "company_mrn": "string",
11 "owner_mrn": "string",
12 "expected_close_date": "string",
13 "source": "inbound",
14 "tags": [
15 "string"
16 ],
17 "loss_reason": "string",
18 "proposal": "string"
19}),
20})
21 .then((res) => res.json())
22 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/deals/example",
5 json={"title":"string","value":1.5,"currency":"string","contact_mrn":"string","contact_role":"","company_mrn":"string","owner_mrn":"string","expected_close_date":"string","source":"inbound","tags":["string"],"loss_reason":"string","proposal":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /deals/:deal_id/line-items/:item_id

Update a deal line item

Parameters
deal_id string · path
required
item_id string · path
required
Body · UpdateLineItemapplication/json
name string · min length: 1 · max length: 200
product_mrn string
quantity number
unit_price number
currency string
period
position integer
propertyName anything
Responses
200Successful Response
PUT /deals/example/line-items/example
1curl -X PUT "http://localhost:8000/deals/example/line-items/example" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","product_mrn":"string","quantity":1.5,"unit_price":1.5,"currency":"string","period":"one_time","position":1}'
1fetch("http://localhost:8000/deals/example/line-items/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "product_mrn": "string",
7 "quantity": 1.5,
8 "unit_price": 1.5,
9 "currency": "string",
10 "period": "one_time",
11 "position": 1
12}),
13})
14 .then((res) => res.json())
15 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/deals/example/line-items/example",
5 json={"name":"string","product_mrn":"string","quantity":1.5,"unit_price":1.5,"currency":"string","period":"one_time","position":1},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /deals/:deal_id/checklist-items/:item_id

Update a deal checklist item

Parameters
deal_id string · path
required
item_id string · path
required
Body · UpdateChecklistItemapplication/json
done
label string · min length: 1 · max length: 200
assignee_mrn string
due_date string
position integer
propertyName anything
Responses
200Successful Response
PUT /deals/example/checklist-items/example
1curl -X PUT "http://localhost:8000/deals/example/checklist-items/example" \
2 -H "Content-Type: application/json" \
3 -d '{"done":{},"label":"string","assignee_mrn":"string","due_date":"string","position":1}'
1fetch("http://localhost:8000/deals/example/checklist-items/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "done": {},
6 "label": "string",
7 "assignee_mrn": "string",
8 "due_date": "string",
9 "position": 1
10}),
11})
12 .then((res) => res.json())
13 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/deals/example/checklist-items/example",
5 json={"done":{},"label":"string","assignee_mrn":"string","due_date":"string","position":1},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
DELETE /decks/trash undocumented

/decks/trash

DELETE /decks/trash. Destroy every trashed deck the caller manages.

Responses
200Successful Response
DELETE /decks/trash
1curl -X DELETE "http://localhost:8000/decks/trash"
1fetch("http://localhost:8000/decks/trash", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/decks/trash")
4print(response.json())
200 Example Response
No Body
DELETE /decks/trash/:id undocumented

/decks/trash/:id

DELETE /decks/trash/:id. Destroy a trashed deck. Gate loaded ctx.authz.deck.

Parameters
id string · path
required
Responses
200Successful Response
DELETE /decks/trash/example
1curl -X DELETE "http://localhost:8000/decks/trash/example"
1fetch("http://localhost:8000/decks/trash/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/decks/trash/example")
4print(response.json())
200 Example Response
No Body
DELETE /decks/:id undocumented

/decks/:id

DELETE /decks/:id. Soft-delete. Grants stay so restore still works.

Parameters
id string · path
required
Responses
200Successful Response
DELETE /decks/example
1curl -X DELETE "http://localhost:8000/decks/example"
1fetch("http://localhost:8000/decks/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/decks/example")
4print(response.json())
200 Example Response
No Body
DELETE /decks/:id/comments/:comment_id undocumented

/decks/:id/comments/:comment_id

DELETE /decks/:id/comments/:comment_id: remove a thread you started, or any thread on a deck you manage.

Parameters
id string · path
required
comment_id string · path
required
Responses
200Successful Response
DELETE /decks/example/comments/example
1curl -X DELETE "http://localhost:8000/decks/example/comments/example"
1fetch("http://localhost:8000/decks/example/comments/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/decks/example/comments/example")
4print(response.json())
200 Example Response
No Body
DELETE /decks/:id/comments/:comment_id/replies/:reply_id undocumented

/decks/:id/comments/:comment_id/replies/:reply_id

DELETE /decks/:id/comments/:comment_id/replies/:reply_id: remove your own reply, or any on a deck you manage.

Parameters
id string · path
required
comment_id string · path
required
reply_id string · path
required
Responses
200Successful Response
DELETE /decks/example/comments/example/replies/example
1curl -X DELETE "http://localhost:8000/decks/example/comments/example/replies/example"
1fetch("http://localhost:8000/decks/example/comments/example/replies/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/decks/example/comments/example/replies/example")
4print(response.json())
200 Example Response
No Body
DELETE /decks/:id/polls/:poll_id undocumented

/decks/:id/polls/:poll_id

DELETE /decks/:id/polls/:poll_id: the poll and every answer it collected.

Parameters
id string · path
required
poll_id string · path
required
Responses
200Successful Response
DELETE /decks/example/polls/example
1curl -X DELETE "http://localhost:8000/decks/example/polls/example"
1fetch("http://localhost:8000/decks/example/polls/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/decks/example/polls/example")
4print(response.json())
200 Example Response
No Body
GET /decks undocumented

/decks

GET /decks. Decks the caller can access.

Responses
200Successful Response
GET /decks
1curl "http://localhost:8000/decks"
1fetch("http://localhost:8000/decks")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/decks")
4print(response.json())
200 Example Response
No Body
GET /decks/trash undocumented

/decks/trash

GET /decks/trash. Decks in the trash that the caller can restore.

Responses
200Successful Response
GET /decks/trash
1curl "http://localhost:8000/decks/trash"
1fetch("http://localhost:8000/decks/trash")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/decks/trash")
4print(response.json())
200 Example Response
No Body
GET /decks/:id undocumented

/decks/:id

GET /decks/:id. Metadata + deck_json. Gate loaded ctx.authz.deck.

Parameters
id string · path
required
Responses
200Successful Response
GET /decks/example
1curl "http://localhost:8000/decks/example"
1fetch("http://localhost:8000/decks/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/decks/example")
4print(response.json())
200 Example Response
No Body
GET /decks/:id/exports/:format undocumented

/decks/:id/exports/:format

GET /decks/:id/exports/:format: the deck as an .odp, .pptx, .ppsx, .potx or .pdf download.

Parameters
id string · path
required
format string · path
required
Responses
200Successful Response
GET /decks/example/exports/example
1curl "http://localhost:8000/decks/example/exports/example"
1fetch("http://localhost:8000/decks/example/exports/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/decks/example/exports/example")
4print(response.json())
200 Example Response
No Body
GET /decks/:id/linked-charts undocumented

/decks/:id/linked-charts

GET /decks/:id/linked-charts: the latest Tables values for each linked chart in this deck.

Parameters
id string · path
required
Responses
200Successful Response
GET /decks/example/linked-charts
1curl "http://localhost:8000/decks/example/linked-charts"
1fetch("http://localhost:8000/decks/example/linked-charts")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/decks/example/linked-charts")
4print(response.json())
200 Example Response
No Body
GET /decks/:id/assets undocumented

/decks/:id/assets

GET /decks/:id/assets. Images uploaded to this deck. Gate loaded ctx.authz.deck.

Parameters
id string · path
required
Responses
200Successful Response
GET /decks/example/assets
1curl "http://localhost:8000/decks/example/assets"
1fetch("http://localhost:8000/decks/example/assets")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/decks/example/assets")
4print(response.json())
200 Example Response
No Body
GET /decks/:id/audiences undocumented

/decks/:id/audiences

GET /decks/:id/audiences: every session this deck has had, newest first.

Parameters
id string · path
required
Responses
200Successful Response
GET /decks/example/audiences
1curl "http://localhost:8000/decks/example/audiences"
1fetch("http://localhost:8000/decks/example/audiences")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/decks/example/audiences")
4print(response.json())
200 Example Response
No Body
GET /decks/:id/audiences/:audience_id undocumented

/decks/:id/audiences/:audience_id

GET /decks/:id/audiences/:audience_id: the session with its questions, poll results and attendance.

Parameters
id string · path
required
audience_id string · path
required
Responses
200Successful Response
GET /decks/example/audiences/example
1curl "http://localhost:8000/decks/example/audiences/example"
1fetch("http://localhost:8000/decks/example/audiences/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/decks/example/audiences/example")
4print(response.json())
200 Example Response
No Body
GET /decks/:id/versions undocumented

/decks/:id/versions

GET /decks/:id/versions: the deck's saved versions, newest first.

Parameters
id string · path
required
Responses
200Successful Response
GET /decks/example/versions
1curl "http://localhost:8000/decks/example/versions"
1fetch("http://localhost:8000/decks/example/versions")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/decks/example/versions")
4print(response.json())
200 Example Response
No Body
GET /decks/:id/versions/:version_id undocumented

/decks/:id/versions/:version_id

GET /decks/:id/versions/:version_id: one version with its slides, for a preview.

Parameters
id string · path
required
version_id string · path
required
Responses
200Successful Response
GET /decks/example/versions/example
1curl "http://localhost:8000/decks/example/versions/example"
1fetch("http://localhost:8000/decks/example/versions/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/decks/example/versions/example")
4print(response.json())
200 Example Response
No Body
GET /decks/:id/comments undocumented

/decks/:id/comments

GET /decks/:id/comments: the deck's comment threads, oldest first.

Parameters
id string · path
required
Responses
200Successful Response
GET /decks/example/comments
1curl "http://localhost:8000/decks/example/comments"
1fetch("http://localhost:8000/decks/example/comments")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/decks/example/comments")
4print(response.json())
200 Example Response
No Body
GET /decks/:id/polls undocumented

/decks/:id/polls

GET /decks/:id/polls: the polls written for this deck.

Parameters
id string · path
required
Responses
200Successful Response
GET /decks/example/polls
1curl "http://localhost:8000/decks/example/polls"
1fetch("http://localhost:8000/decks/example/polls")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/decks/example/polls")
4print(response.json())
200 Example Response
No Body
GET /definitions/:word undocumented

/definitions/:word

GET /definitions/:word: what a word means, from Wiktionary in the viewer's language.

Parameters
word string · path
required
Responses
200Successful Response
GET /definitions/example
1curl "http://localhost:8000/definitions/example"
1fetch("http://localhost:8000/definitions/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/definitions/example")
4print(response.json())
200 Example Response
No Body
DELETE /deliverables/:deliverable_id undocumented

/deliverables/:deliverable_id

Delete a deliverable. Linked tasks keep existing — their deliverable link clears via the ON DELETE SET NULL foreign key.

Parameters
deliverable_id string · path
required
Responses
200Successful Response
DELETE /deliverables/example
1curl -X DELETE "http://localhost:8000/deliverables/example"
1fetch("http://localhost:8000/deliverables/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/deliverables/example")
4print(response.json())
200 Example Response
No Body
GET /deliverables undocumented

/deliverables

GET /deliverables?board_id=...&q=... — list a board's deliverables.

Responses
200Successful Response
GET /deliverables
1curl "http://localhost:8000/deliverables"
1fetch("http://localhost:8000/deliverables")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/deliverables")
4print(response.json())
200 Example Response
No Body
POST /deliverables

Create a deliverable

Body · CreateDeliverableapplication/json
board_id string
required
name string · min length: 1 · max length: 200
required
due_date string · min length: 1
required
description string · max length: 5000
status
schedule_id string
owner_mrn string
propertyName anything
Responses
200Successful Response
POST /deliverables
1curl -X POST "http://localhost:8000/deliverables" \
2 -H "Content-Type: application/json" \
3 -d '{"board_id":"string","name":"string","due_date":"string","description":"string","status":"pending","schedule_id":"string","owner_mrn":"string"}'
1fetch("http://localhost:8000/deliverables", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "board_id": "string",
6 "name": "string",
7 "due_date": "string",
8 "description": "string",
9 "status": "pending",
10 "schedule_id": "string",
11 "owner_mrn": "string"
12}),
13})
14 .then((res) => res.json())
15 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/deliverables",
5 json={"board_id":"string","name":"string","due_date":"string","description":"string","status":"pending","schedule_id":"string","owner_mrn":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /deliverables/:deliverable_id

Update a deliverable

Parameters
deliverable_id string · path
required
Body · UpdateDeliverableapplication/json
name string · min length: 1 · max length: 200
description string · max length: 5000
due_date string
status
schedule_id string
owner_mrn string
propertyName anything
Responses
200Successful Response
PUT /deliverables/example
1curl -X PUT "http://localhost:8000/deliverables/example" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","description":"string","due_date":"string","status":"pending","schedule_id":"string","owner_mrn":"string"}'
1fetch("http://localhost:8000/deliverables/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "description": "string",
7 "due_date": "string",
8 "status": "pending",
9 "schedule_id": "string",
10 "owner_mrn": "string"
11}),
12})
13 .then((res) => res.json())
14 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/deliverables/example",
5 json={"name":"string","description":"string","due_date":"string","status":"pending","schedule_id":"string","owner_mrn":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
GET /demo-requests/availability undocumented

/demo-requests/availability

GET /demo-requests/availability — open demo slots for the next weekdays.

Responses
200Successful Response
GET /demo-requests/availability
1curl "http://localhost:8000/demo-requests/availability"
1fetch("http://localhost:8000/demo-requests/availability")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/demo-requests/availability")
4print(response.json())
200 Example Response
No Body
DELETE /departments/:department_id undocumented

/departments/:department_id

Parameters
department_id string · path
required
Responses
200Successful Response
DELETE /departments/example
1curl -X DELETE "http://localhost:8000/departments/example"
1fetch("http://localhost:8000/departments/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/departments/example")
4print(response.json())
200 Example Response
No Body
DELETE /departments/:department_id/members/:worker_id undocumented

/departments/:department_id/members/:worker_id

DELETE /departments/:department_id/members/:worker_id. The method is the verb, so there is no PATCH-to-null variant of this route.

Parameters
department_id string · path
required
worker_id string · path
required
Responses
200Successful Response
DELETE /departments/example/members/example
1curl -X DELETE "http://localhost:8000/departments/example/members/example"
1fetch("http://localhost:8000/departments/example/members/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/departments/example/members/example")
4print(response.json())
200 Example Response
No Body
GET /departments undocumented

/departments

Responses
200Successful Response
GET /departments
1curl "http://localhost:8000/departments"
1fetch("http://localhost:8000/departments")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/departments")
4print(response.json())
200 Example Response
No Body
GET /departments/:department_id undocumented

/departments/:department_id

Parameters
department_id string · path
required
Responses
200Successful Response
GET /departments/example
1curl "http://localhost:8000/departments/example"
1fetch("http://localhost:8000/departments/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/departments/example")
4print(response.json())
200 Example Response
No Body
PATCH /departments/:department_id

Update a department

Parameters
department_id string · path
required
Body · UpdateDepartmentapplication/json
name string · min length: 1 · max length: 100
description string · max length: 1000
parent_id string
head_mrn string
propertyName anything
Responses
200Successful Response
PATCH /departments/example
1curl -X PATCH "http://localhost:8000/departments/example" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","description":"string","parent_id":"string","head_mrn":"string"}'
1fetch("http://localhost:8000/departments/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "description": "string",
7 "parent_id": "string",
8 "head_mrn": "string"
9}),
10})
11 .then((res) => res.json())
12 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/departments/example",
5 json={"name":"string","description":"string","parent_id":"string","head_mrn":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /departments

Create a department

Body · CreateDepartmentapplication/json
name string · min length: 1 · max length: 100
required
description string · max length: 1000
parent_id string
head_mrn string
propertyName anything
Responses
200Successful Response
POST /departments
1curl -X POST "http://localhost:8000/departments" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","description":"string","parent_id":"string","head_mrn":"string"}'
1fetch("http://localhost:8000/departments", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "description": "string",
7 "parent_id": "string",
8 "head_mrn": "string"
9}),
10})
11 .then((res) => res.json())
12 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/departments",
5 json={"name":"string","description":"string","parent_id":"string","head_mrn":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /departments/:department_id/members/:worker_id undocumented

/departments/:department_id/members/:worker_id

PUT /departments/:department_id/members/:worker_id. Idempotent: putting a worker into the department they are already in is a no-op that still answers with the worker, which is what PUT should do.

Parameters
department_id string · path
required
worker_id string · path
required
Responses
200Successful Response
PUT /departments/example/members/example
1curl -X PUT "http://localhost:8000/departments/example/members/example"
1fetch("http://localhost:8000/departments/example/members/example", { method: "PUT" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.put("http://localhost:8000/departments/example/members/example")
4print(response.json())
200 Example Response
No Body
PATCH /finance/dimensions/:dimension_key

Update a dimension

Parameters
dimension_key string · path
required
Body · DimensionDefapplication/json
name string · min length: 1 · max length: 100
required
key string · min length: 1 · max length: 50
required
values array
required
propertyName anything
Responses
200Successful Response
PATCH /finance/dimensions/example
1curl -X PATCH "http://localhost:8000/finance/dimensions/example" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","key":"string","values":["string"]}'
1fetch("http://localhost:8000/finance/dimensions/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "key": "string",
7 "values": [
8 "string"
9 ]
10}),
11})
12 .then((res) => res.json())
13 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/finance/dimensions/example",
5 json={"name":"string","key":"string","values":["string"]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /finance/dimensions

Define a dimension

Body · DimensionDefapplication/json
name string · min length: 1 · max length: 100
required
key string · min length: 1 · max length: 50
required
values array
required
propertyName anything
Responses
200Successful Response
POST /finance/dimensions
1curl -X POST "http://localhost:8000/finance/dimensions" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","key":"string","values":["string"]}'
1fetch("http://localhost:8000/finance/dimensions", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "key": "string",
7 "values": [
8 "string"
9 ]
10}),
11})
12 .then((res) => res.json())
13 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/finance/dimensions",
5 json={"name":"string","key":"string","values":["string"]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /sign/envelopes/:envelope_id

Update document metadata

PATCH /sign/envelopes/:envelope_id — update metadata OR transition state (sent/voided).

Parameters
envelope_id string · path
required
Body · UpdateEnvelopeapplication/json
title string · min length: 1 · max length: 300
subject string · max length: 300
message string · max length: 2000
signing_order_mode
jurisdiction string · max length: 10
expires_at string
status
reason string · max length: 1000
propertyName anything
Responses
200Successful Response
PATCH /sign/envelopes/example
1curl -X PATCH "http://localhost:8000/sign/envelopes/example" \
2 -H "Content-Type: application/json" \
3 -d '{"title":"string","subject":"string","message":"string","signing_order_mode":"parallel","jurisdiction":"string","expires_at":"string","status":"sent","reason":"string"}'
1fetch("http://localhost:8000/sign/envelopes/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "title": "string",
6 "subject": "string",
7 "message": "string",
8 "signing_order_mode": "parallel",
9 "jurisdiction": "string",
10 "expires_at": "string",
11 "status": "sent",
12 "reason": "string"
13}),
14})
15 .then((res) => res.json())
16 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/sign/envelopes/example",
5 json={"title":"string","subject":"string","message":"string","signing_order_mode":"parallel","jurisdiction":"string","expires_at":"string","status":"sent","reason":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /sign/envelopes

Create a draft document

POST /sign/envelopes — create a draft (optionally cloning ?template_id).

Body · CreateEnvelopeapplication/json
title string · min length: 1 · max length: 300
required
subject string · max length: 300
message string · max length: 2000
template_id string
signing_order_mode
jurisdiction string · max length: 10
is_template
source_mrn string · max length: 200
propertyName anything
Responses
200Successful Response
POST /sign/envelopes
1curl -X POST "http://localhost:8000/sign/envelopes" \
2 -H "Content-Type: application/json" \
3 -d '{"title":"string","subject":"string","message":"string","template_id":"string","signing_order_mode":"parallel","jurisdiction":"string","is_template":{},"source_mrn":"string"}'
1fetch("http://localhost:8000/sign/envelopes", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "title": "string",
6 "subject": "string",
7 "message": "string",
8 "template_id": "string",
9 "signing_order_mode": "parallel",
10 "jurisdiction": "string",
11 "is_template": {},
12 "source_mrn": "string"
13}),
14})
15 .then((res) => res.json())
16 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/sign/envelopes",
5 json={"title":"string","subject":"string","message":"string","template_id":"string","signing_order_mode":"parallel","jurisdiction":"string","is_template":{},"source_mrn":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /sign/envelopes/:envelope_id/documents

Append a source PDF to the envelope

POST /sign/envelopes/:envelope_id/documents {storage_key, title, page_count} — append a source PDF. The first add on a legacy envelope promotes its single PDF into a row, so an envelope is always pure-legacy or pure-rows.

Parameters
envelope_id string · path
required
Body · AttachDocumentapplication/json
storage_key string · min length: 1 · max length: 500
required
title string · max length: 300
page_count integer
propertyName anything
Responses
200Successful Response
POST /sign/envelopes/example/documents
1curl -X POST "http://localhost:8000/sign/envelopes/example/documents" \
2 -H "Content-Type: application/json" \
3 -d '{"storage_key":"string","title":"string","page_count":1}'
1fetch("http://localhost:8000/sign/envelopes/example/documents", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "storage_key": "string",
6 "title": "string",
7 "page_count": 1
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/sign/envelopes/example/documents",
5 json={"storage_key":"string","title":"string","page_count":1},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /sign/envelopes/:envelope_id/exports

Save sealed document to Files

POST /sign/envelopes/:envelope_id/exports {target:"files"} — copy the sealed PDF into the caller's Files. Sign never auto-mirrors; this explicit action is the only path.

Parameters
envelope_id string · path
required
Body · ExportEnvelopeapplication/json
target
required
propertyName anything
Responses
200Successful Response
POST /sign/envelopes/example/exports
1curl -X POST "http://localhost:8000/sign/envelopes/example/exports" \
2 -H "Content-Type: application/json" \
3 -d '{"target":"files"}'
1fetch("http://localhost:8000/sign/envelopes/example/exports", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "target": "files"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/sign/envelopes/example/exports",
5 json={"target":"files"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /sign/envelopes/:envelope_id/source

Attach the uploaded source PDF

PUT /sign/envelopes/:envelope_id/source {storage_key, page_count} — attach the uploaded source PDF SYNCHRONOUSLY. The client calls this right after PUTting the file to R2, so the document is attached deterministically instead of depending on the async upload-confirmed event (which, if the event bus doesn't deliver it, leaves the PDF unattached forever). The key must live under this workspace's own sign/ prefix — a client can't point the envelope at another workspace's or app's object.

Parameters
envelope_id string · path
required
Body · AttachSourceapplication/json
storage_key string · min length: 1 · max length: 500
required
page_count integer
propertyName anything
Responses
200Successful Response
PUT /sign/envelopes/example/source
1curl -X PUT "http://localhost:8000/sign/envelopes/example/source" \
2 -H "Content-Type: application/json" \
3 -d '{"storage_key":"string","page_count":1}'
1fetch("http://localhost:8000/sign/envelopes/example/source", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "storage_key": "string",
6 "page_count": 1
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/sign/envelopes/example/source",
5 json={"storage_key":"string","page_count":1},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /sign/settings

Choose the contract template

PUT /sign/settings {contract_template_id}: choose the contract template. An empty value clears the choice, which switches the cross-app handoff off: requests then arrive and are ignored rather than drafting the wrong document. Written through the registered config contract so the platform Settings editor and this picker stay one document with one validator.

Body · UpdateSignSettingsapplication/json
contract_template_id string · max length: 64
propertyName anything
Responses
200Successful Response
PUT /sign/settings
1curl -X PUT "http://localhost:8000/sign/settings" \
2 -H "Content-Type: application/json" \
3 -d '{"contract_template_id":"string"}'
1fetch("http://localhost:8000/sign/settings", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "contract_template_id": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/sign/settings",
5 json={"contract_template_id":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
DELETE /elevations undocumented

/elevations

DELETE /elevations — leave admin mode without waiting for the timer.

Responses
200Successful Response
DELETE /elevations
1curl -X DELETE "http://localhost:8000/elevations"
1fetch("http://localhost:8000/elevations", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/elevations")
4print(response.json())
200 Example Response
No Body
GET /elevations/current undocumented

/elevations/current

GET /elevations/current — the caller's window, for the shell's ring. `totp_enabled` says which factor the prompt should ask for, because only the server knows. Without it the modal had to guess, guessed password, and an account with TOTP paid for a password that api_start_elevation never even looks at before being asked for a code anyway. Having a second factor should cost fewer steps, not more.

Responses
200Successful Response
GET /elevations/current
1curl "http://localhost:8000/elevations/current"
1fetch("http://localhost:8000/elevations/current")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/elevations/current")
4print(response.json())
200 Example Response
No Body
GET /elevations undocumented

/elevations

GET /elevations: admin mode sessions, newest first, with who broke the glass, why, and how much they did.

Responses
200Successful Response
GET /elevations
1curl "http://localhost:8000/elevations"
1fetch("http://localhost:8000/elevations")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/elevations")
4print(response.json())
200 Example Response
No Body
POST /workers/:worker_id/employment

Add an employment record

Parameters
worker_id string · path
required
Body · CreateEmploymentapplication/json
job_title string · min length: 1 · max length: 200
required
start_date string · min length: 1 · max length: 10
required
member_mrn string · max length: 120
employment_type
end_date string · max length: 10
reason string · max length: 500
reminder_enabled
reminder_days_before integer
propertyName anything
Responses
200Successful Response
POST /workers/example/employment
1curl -X POST "http://localhost:8000/workers/example/employment" \
2 -H "Content-Type: application/json" \
3 -d '{"job_title":"string","start_date":"string","member_mrn":"string","employment_type":"employee","end_date":"string","reason":"string","reminder_enabled":{},"reminder_days_before":1}'
1fetch("http://localhost:8000/workers/example/employment", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "job_title": "string",
6 "start_date": "string",
7 "member_mrn": "string",
8 "employment_type": "employee",
9 "end_date": "string",
10 "reason": "string",
11 "reminder_enabled": {},
12 "reminder_days_before": 1
13}),
14})
15 .then((res) => res.json())
16 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/workers/example/employment",
5 json={"job_title":"string","start_date":"string","member_mrn":"string","employment_type":"employee","end_date":"string","reason":"string","reminder_enabled":{},"reminder_days_before":1},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /workers/:worker_id/employment/termination

Terminate a worker's employment

Terminate employment: close every open/future contract at the effective date, set status=terminated, and fire the terminated event. Reason is required.

Parameters
worker_id string · path
required
Body · TerminateWorkerapplication/json
reason string · min length: 1 · max length: 500
required
effective_date string · min length: 1 · max length: 10
required
propertyName anything
Responses
200Successful Response
POST /workers/example/employment/termination
1curl -X POST "http://localhost:8000/workers/example/employment/termination" \
2 -H "Content-Type: application/json" \
3 -d '{"reason":"string","effective_date":"string"}'
1fetch("http://localhost:8000/workers/example/employment/termination", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "reason": "string",
6 "effective_date": "string"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/workers/example/employment/termination",
5 json={"reason":"string","effective_date":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /workers/:worker_id/employment/:record_id

Update an employment record

Parameters
worker_id string · path
required
record_id string · path
required
Body · UpdateEmploymentapplication/json
job_title string · min length: 1 · max length: 200
employment_type
start_date string · max length: 10
end_date string · max length: 10
reason string · max length: 500
reminder_enabled
reminder_days_before integer
propertyName anything
Responses
200Successful Response
PUT /workers/example/employment/example
1curl -X PUT "http://localhost:8000/workers/example/employment/example" \
2 -H "Content-Type: application/json" \
3 -d '{"job_title":"string","employment_type":"employee","start_date":"string","end_date":"string","reason":"string","reminder_enabled":{},"reminder_days_before":1}'
1fetch("http://localhost:8000/workers/example/employment/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "job_title": "string",
6 "employment_type": "employee",
7 "start_date": "string",
8 "end_date": "string",
9 "reason": "string",
10 "reminder_enabled": {},
11 "reminder_days_before": 1
12}),
13})
14 .then((res) => res.json())
15 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/workers/example/employment/example",
5 json={"job_title":"string","employment_type":"employee","start_date":"string","end_date":"string","reason":"string","reminder_enabled":{},"reminder_days_before":1},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
GET /exchanges/:exchange_id undocumented

/exchanges/:exchange_id

GET /exchanges/:exchange_id — one audit row, for the mint-capable caller only, which since the shared-only amendment means a workspace owner/admin. Anyone else gets the same 404 as a nonexistent id. No list-all-workspace-exchanges in V1.

Parameters
exchange_id string · path
required
Responses
200Successful Response
GET /exchanges/example
1curl "http://localhost:8000/exchanges/example"
1fetch("http://localhost:8000/exchanges/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/exchanges/example")
4print(response.json())
200 Example Response
No Body
PATCH /sign/envelopes/:envelope_id/fields/:field_id

Move/resize/reassign a field

PATCH /sign/envelopes/:envelope_id/fields/:field_id — move/resize/reassign a field.

Parameters
envelope_id string · path
required
field_id string · path
required
Body · UpdateFieldapplication/json
role string · min length: 1 · max length: 100
recipient_id string
kind
page_number integer
nx number
ny number
nw number
nh number
label string · max length: 200
required
default_value string
options object
propertyName anything
Responses
200Successful Response
PATCH /sign/envelopes/example/fields/example
1curl -X PATCH "http://localhost:8000/sign/envelopes/example/fields/example" \
2 -H "Content-Type: application/json" \
3 -d '{"role":"string","recipient_id":"string","kind":"signature","page_number":1,"nx":1.5,"ny":1.5,"nw":1.5,"nh":1.5,"label":"string","required":{},"default_value":"string","options":{"choices":["string"],"show_if":{"field_id":"string","equals":"string"}}}'
1fetch("http://localhost:8000/sign/envelopes/example/fields/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "role": "string",
6 "recipient_id": "string",
7 "kind": "signature",
8 "page_number": 1,
9 "nx": 1.5,
10 "ny": 1.5,
11 "nw": 1.5,
12 "nh": 1.5,
13 "label": "string",
14 "required": {},
15 "default_value": "string",
16 "options": {
17 "choices": [
18 "string"
19 ],
20 "show_if": {
21 "field_id": "string",
22 "equals": "string"
23 }
24 }
25}),
26})
27 .then((res) => res.json())
28 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/sign/envelopes/example/fields/example",
5 json={"role":"string","recipient_id":"string","kind":"signature","page_number":1,"nx":1.5,"ny":1.5,"nw":1.5,"nh":1.5,"label":"string","required":{},"default_value":"string","options":{"choices":["string"],"show_if":{"field_id":"string","equals":"string"}}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /sign/envelopes/:envelope_id/fields

Add field placements

POST /sign/envelopes/:envelope_id/fields — add one or more field placements (bulk).

Parameters
envelope_id string · path
required
Body · CreateFieldsapplication/json
fields array
required
propertyName anything
Responses
200Successful Response
POST /sign/envelopes/example/fields
1curl -X POST "http://localhost:8000/sign/envelopes/example/fields" \
2 -H "Content-Type: application/json" \
3 -d '{"fields":[{"role":"string","recipient_id":"string","kind":"signature","page_number":1,"nx":1.5,"ny":1.5,"nw":1.5,"nh":1.5,"label":"string","required":{},"default_value":"string","options":{"choices":["string"],"show_if":{"field_id":"string","equals":"string"}}}]}'
1fetch("http://localhost:8000/sign/envelopes/example/fields", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "fields": [
6 {
7 "role": "string",
8 "recipient_id": "string",
9 "kind": "signature",
10 "page_number": 1,
11 "nx": 1.5,
12 "ny": 1.5,
13 "nw": 1.5,
14 "nh": 1.5,
15 "label": "string",
16 "required": {},
17 "default_value": "string",
18 "options": {
19 "choices": [
20 "string"
21 ],
22 "show_if": {
23 "field_id": "string",
24 "equals": "string"
25 }
26 }
27 }
28 ]
29}),
30})
31 .then((res) => res.json())
32 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/sign/envelopes/example/fields",
5 json={"fields":[{"role":"string","recipient_id":"string","kind":"signature","page_number":1,"nx":1.5,"ny":1.5,"nw":1.5,"nh":1.5,"label":"string","required":{},"default_value":"string","options":{"choices":["string"],"show_if":{"field_id":"string","equals":"string"}}}]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
GET /file-statistics undocumented

/file-statistics

GET /file-statistics — the caller's own storage and sharing overview. One call, because the dashboard draws every widget at once and a dozen round trips would show a dozen skeletons resolving at different times. Each aggregate is indexed on (workspace_id, owner_mrn, ...).

Responses
200Successful Response
GET /file-statistics
1curl "http://localhost:8000/file-statistics"
1fetch("http://localhost:8000/file-statistics")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/file-statistics")
4print(response.json())
200 Example Response
No Body
DELETE /files/:file_id undocumented

/files/:file_id

Parameters
file_id string · path
required
Responses
200Successful Response
DELETE /files/example
1curl -X DELETE "http://localhost:8000/files/example"
1fetch("http://localhost:8000/files/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/files/example")
4print(response.json())
200 Example Response
No Body
DELETE /files/:file_id/stars undocumented

/files/:file_id/stars

DELETE /files/:file_id/stars — remove the current member's star.

Parameters
file_id string · path
required
Responses
200Successful Response
DELETE /files/example/stars
1curl -X DELETE "http://localhost:8000/files/example/stars"
1fetch("http://localhost:8000/files/example/stars", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/files/example/stars")
4print(response.json())
200 Example Response
No Body
DELETE /files/:file_id/permissions undocumented

/files/:file_id/permissions

Parameters
file_id string · path
required
Responses
200Successful Response
DELETE /files/example/permissions
1curl -X DELETE "http://localhost:8000/files/example/permissions"
1fetch("http://localhost:8000/files/example/permissions", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/files/example/permissions")
4print(response.json())
200 Example Response
No Body
GET /files undocumented

/files

Responses
200Successful Response
GET /files
1curl "http://localhost:8000/files"
1fetch("http://localhost:8000/files")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/files")
4print(response.json())
200 Example Response
No Body
GET /files/:file_id undocumented

/files/:file_id

Parameters
file_id string · path
required
Responses
200Successful Response
GET /files/example
1curl "http://localhost:8000/files/example"
1fetch("http://localhost:8000/files/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/files/example")
4print(response.json())
200 Example Response
No Body
GET /files/:file_id/download undocumented

/files/:file_id/download

Parameters
file_id string · path
required
Responses
200Successful Response
GET /files/example/download
1curl "http://localhost:8000/files/example/download"
1fetch("http://localhost:8000/files/example/download")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/files/example/download")
4print(response.json())
200 Example Response
No Body
GET /files/:file_id/preview undocumented

/files/:file_id/preview

GET /files/:file_id/preview — presigned URL for inline preview.

Parameters
file_id string · path
required
Responses
200Successful Response
GET /files/example/preview
1curl "http://localhost:8000/files/example/preview"
1fetch("http://localhost:8000/files/example/preview")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/files/example/preview")
4print(response.json())
200 Example Response
No Body
GET /files/:file_id/rendition undocumented

/files/:file_id/rendition

GET /files/:file_id/rendition: a Word, PowerPoint or spreadsheet file drawn for the preview.

Parameters
file_id string · path
required
Responses
200Successful Response
GET /files/example/rendition
1curl "http://localhost:8000/files/example/rendition"
1fetch("http://localhost:8000/files/example/rendition")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/files/example/rendition")
4print(response.json())
200 Example Response
No Body
GET /files/:file_id/versions undocumented

/files/:file_id/versions

GET /files/:file_id/versions — version history, newest first.

Parameters
file_id string · path
required
Responses
200Successful Response
GET /files/example/versions
1curl "http://localhost:8000/files/example/versions"
1fetch("http://localhost:8000/files/example/versions")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/files/example/versions")
4print(response.json())
200 Example Response
No Body
GET /files/:file_id/permissions undocumented

/files/:file_id/permissions

Parameters
file_id string · path
required
Responses
200Successful Response
GET /files/example/permissions
1curl "http://localhost:8000/files/example/permissions"
1fetch("http://localhost:8000/files/example/permissions")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/files/example/permissions")
4print(response.json())
200 Example Response
No Body
PATCH /files/:file_id

Update a file

Parameters
file_id string · path
required
Body · UpdateFileapplication/json
name string · min length: 1 · max length: 255
folder_id string
is_starred
restore_version_id string
propertyName anything
Responses
200Successful Response
PATCH /files/example
1curl -X PATCH "http://localhost:8000/files/example" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","folder_id":"string","is_starred":{},"restore_version_id":"string"}'
1fetch("http://localhost:8000/files/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "folder_id": "string",
7 "is_starred": {},
8 "restore_version_id": "string"
9}),
10})
11 .then((res) => res.json())
12 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/files/example",
5 json={"name":"string","folder_id":"string","is_starred":{},"restore_version_id":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /files/:file_id/handoffs

Open a copy in Papers, Slides or Tables

POST /files/:file_id/handoffs: hand a copy of this file to Papers, Slides or Tables to open.

Parameters
file_id string · path
required
Body · CreateHandoffapplication/json
target
required
propertyName anything
Responses
200Successful Response
POST /files/example/handoffs
1curl -X POST "http://localhost:8000/files/example/handoffs" \
2 -H "Content-Type: application/json" \
3 -d '{"target":"papers"}'
1fetch("http://localhost:8000/files/example/handoffs", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "target": "papers"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/files/example/handoffs",
5 json={"target":"papers"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /files/:file_id/stars undocumented

/files/:file_id/stars

POST /files/:file_id/stars — star a file for the current member.

Parameters
file_id string · path
required
Responses
200Successful Response
POST /files/example/stars
1curl -X POST "http://localhost:8000/files/example/stars"
1fetch("http://localhost:8000/files/example/stars", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/files/example/stars")
4print(response.json())
200 Example Response
No Body
POST /files/:file_id/copies

Copy a file

POST /files/:file_id/copies — duplicate a file (optionally into another folder). View access on the source suffices; the destination needs write.

Parameters
file_id string · path
required
Body · CopyFileapplication/json
folder_id string
propertyName anything
Responses
200Successful Response
POST /files/example/copies
1curl -X POST "http://localhost:8000/files/example/copies" \
2 -H "Content-Type: application/json" \
3 -d '{"folder_id":"string"}'
1fetch("http://localhost:8000/files/example/copies", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "folder_id": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/files/example/copies",
5 json={"folder_id":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /files/bulk

Bulk file operation

Body · BulkOperationapplication/json
action
required
ids array
required
folder_id string
propertyName anything
Responses
200Successful Response
POST /files/bulk
1curl -X POST "http://localhost:8000/files/bulk" \
2 -H "Content-Type: application/json" \
3 -d '{"action":"move","ids":["string"],"folder_id":"string"}'
1fetch("http://localhost:8000/files/bulk", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "action": "move",
6 "ids": [
7 "string"
8 ],
9 "folder_id": "string"
10}),
11})
12 .then((res) => res.json())
13 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/files/bulk",
5 json={"action":"move","ids":["string"],"folder_id":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
DELETE /finance/quotes/:entry_id undocumented

/finance/quotes/:entry_id

Parameters
entry_id string · path
required
Responses
200Successful Response
DELETE /finance/quotes/example
1curl -X DELETE "http://localhost:8000/finance/quotes/example"
1fetch("http://localhost:8000/finance/quotes/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/finance/quotes/example")
4print(response.json())
200 Example Response
No Body
DELETE /finance/purchase-orders/:entry_id undocumented

/finance/purchase-orders/:entry_id

Parameters
entry_id string · path
required
Responses
200Successful Response
DELETE /finance/purchase-orders/example
1curl -X DELETE "http://localhost:8000/finance/purchase-orders/example"
1fetch("http://localhost:8000/finance/purchase-orders/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/finance/purchase-orders/example")
4print(response.json())
200 Example Response
No Body
DELETE /finance/orders/:entry_id undocumented

/finance/orders/:entry_id

Parameters
entry_id string · path
required
Responses
200Successful Response
DELETE /finance/orders/example
1curl -X DELETE "http://localhost:8000/finance/orders/example"
1fetch("http://localhost:8000/finance/orders/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/finance/orders/example")
4print(response.json())
200 Example Response
No Body
DELETE /finance/invoices/:entry_id undocumented

/finance/invoices/:entry_id

Parameters
entry_id string · path
required
Responses
200Successful Response
DELETE /finance/invoices/example
1curl -X DELETE "http://localhost:8000/finance/invoices/example"
1fetch("http://localhost:8000/finance/invoices/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/finance/invoices/example")
4print(response.json())
200 Example Response
No Body
DELETE /finance/invoices/:entry_id/attachments/:attachment_id undocumented

/finance/invoices/:entry_id/attachments/:attachment_id

Parameters
entry_id string · path
required
attachment_id string · path
required
Responses
200Successful Response
DELETE /finance/invoices/example/attachments/example
1curl -X DELETE "http://localhost:8000/finance/invoices/example/attachments/example"
1fetch("http://localhost:8000/finance/invoices/example/attachments/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/finance/invoices/example/attachments/example")
4print(response.json())
200 Example Response
No Body
DELETE /finance/bills/:entry_id undocumented

/finance/bills/:entry_id

Parameters
entry_id string · path
required
Responses
200Successful Response
DELETE /finance/bills/example
1curl -X DELETE "http://localhost:8000/finance/bills/example"
1fetch("http://localhost:8000/finance/bills/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/finance/bills/example")
4print(response.json())
200 Example Response
No Body
DELETE /finance/credit-notes/:entry_id undocumented

/finance/credit-notes/:entry_id

Parameters
entry_id string · path
required
Responses
200Successful Response
DELETE /finance/credit-notes/example
1curl -X DELETE "http://localhost:8000/finance/credit-notes/example"
1fetch("http://localhost:8000/finance/credit-notes/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/finance/credit-notes/example")
4print(response.json())
200 Example Response
No Body
DELETE /finance/credit-notes/:entry_id/allocations/:target_entry_id undocumented

/finance/credit-notes/:entry_id/allocations/:target_entry_id

Parameters
entry_id string · path
required
target_entry_id string · path
required
Responses
200Successful Response
DELETE /finance/credit-notes/example/allocations/example
1curl -X DELETE "http://localhost:8000/finance/credit-notes/example/allocations/example"
1fetch("http://localhost:8000/finance/credit-notes/example/allocations/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/finance/credit-notes/example/allocations/example")
4print(response.json())
200 Example Response
No Body
DELETE /finance/credit-notes/:entry_id/attachments/:attachment_id undocumented

/finance/credit-notes/:entry_id/attachments/:attachment_id

Parameters
entry_id string · path
required
attachment_id string · path
required
Responses
200Successful Response
DELETE /finance/credit-notes/example/attachments/example
1curl -X DELETE "http://localhost:8000/finance/credit-notes/example/attachments/example"
1fetch("http://localhost:8000/finance/credit-notes/example/attachments/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/finance/credit-notes/example/attachments/example")
4print(response.json())
200 Example Response
No Body
DELETE /finance/purchase-credit-notes/:entry_id undocumented

/finance/purchase-credit-notes/:entry_id

Parameters
entry_id string · path
required
Responses
200Successful Response
DELETE /finance/purchase-credit-notes/example
1curl -X DELETE "http://localhost:8000/finance/purchase-credit-notes/example"
1fetch("http://localhost:8000/finance/purchase-credit-notes/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/finance/purchase-credit-notes/example")
4print(response.json())
200 Example Response
No Body
DELETE /finance/purchase-credit-notes/:entry_id/allocations/:target_entry_id undocumented

/finance/purchase-credit-notes/:entry_id/allocations/:target_entry_id

Parameters
entry_id string · path
required
target_entry_id string · path
required
Responses
200Successful Response
DELETE /finance/purchase-credit-notes/example/allocations/example
1curl -X DELETE "http://localhost:8000/finance/purchase-credit-notes/example/allocations/example"
1fetch("http://localhost:8000/finance/purchase-credit-notes/example/allocations/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/finance/purchase-credit-notes/example/allocations/example")
4print(response.json())
200 Example Response
No Body
DELETE /finance/journal-entries/:entry_id undocumented

/finance/journal-entries/:entry_id

Parameters
entry_id string · path
required
Responses
200Successful Response
DELETE /finance/journal-entries/example
1curl -X DELETE "http://localhost:8000/finance/journal-entries/example"
1fetch("http://localhost:8000/finance/journal-entries/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/finance/journal-entries/example")
4print(response.json())
200 Example Response
No Body
DELETE /finance/accounts/:account_id undocumented

/finance/accounts/:account_id

Parameters
account_id string · path
required
Responses
200Successful Response
DELETE /finance/accounts/example
1curl -X DELETE "http://localhost:8000/finance/accounts/example"
1fetch("http://localhost:8000/finance/accounts/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/finance/accounts/example")
4print(response.json())
200 Example Response
No Body
DELETE /finance/bank-imports/:import_id undocumented

/finance/bank-imports/:import_id

Parameters
import_id string · path
required
Responses
200Successful Response
DELETE /finance/bank-imports/example
1curl -X DELETE "http://localhost:8000/finance/bank-imports/example"
1fetch("http://localhost:8000/finance/bank-imports/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/finance/bank-imports/example")
4print(response.json())
200 Example Response
No Body
DELETE /finance/requests/:request_id undocumented

/finance/requests/:request_id

DELETE /finance/requests/:id — the owner withdraws a submitted request.

Parameters
request_id string · path
required
Responses
200Successful Response
DELETE /finance/requests/example
1curl -X DELETE "http://localhost:8000/finance/requests/example"
1fetch("http://localhost:8000/finance/requests/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/finance/requests/example")
4print(response.json())
200 Example Response
No Body
DELETE /finance/links/:link_id undocumented

/finance/links/:link_id

Parameters
link_id string · path
required
Responses
200Successful Response
DELETE /finance/links/example
1curl -X DELETE "http://localhost:8000/finance/links/example"
1fetch("http://localhost:8000/finance/links/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/finance/links/example")
4print(response.json())
200 Example Response
No Body
DELETE /finance/payment-credentials/:provider undocumented

/finance/payment-credentials/:provider

Parameters
provider string · path
required
Responses
200Successful Response
DELETE /finance/payment-credentials/example
1curl -X DELETE "http://localhost:8000/finance/payment-credentials/example"
1fetch("http://localhost:8000/finance/payment-credentials/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/finance/payment-credentials/example")
4print(response.json())
200 Example Response
No Body
DELETE /finance/bank-connections/:id undocumented

/finance/bank-connections/:id

Parameters
id string · path
required
Responses
200Successful Response
DELETE /finance/bank-connections/example
1curl -X DELETE "http://localhost:8000/finance/bank-connections/example"
1fetch("http://localhost:8000/finance/bank-connections/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/finance/bank-connections/example")
4print(response.json())
200 Example Response
No Body
DELETE /finance/settings/logo undocumented

/finance/settings/logo

DELETE /finance/settings/logo: take the logo off every document. Deletes the object for real, because "remove my logo" has to mean the image stops being served, not merely that documents stop pointing at it. The key is dropped too, so the next upload mints a fresh unguessable one rather than resurrecting a URL that was already handed out.

Responses
200Successful Response
DELETE /finance/settings/logo
1curl -X DELETE "http://localhost:8000/finance/settings/logo"
1fetch("http://localhost:8000/finance/settings/logo", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/finance/settings/logo")
4print(response.json())
200 Example Response
No Body
DELETE /finance/fiscal-periods/:period_id undocumented

/finance/fiscal-periods/:period_id

Parameters
period_id string · path
required
Responses
200Successful Response
DELETE /finance/fiscal-periods/example
1curl -X DELETE "http://localhost:8000/finance/fiscal-periods/example"
1fetch("http://localhost:8000/finance/fiscal-periods/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/finance/fiscal-periods/example")
4print(response.json())
200 Example Response
No Body
DELETE /finance/dimensions/:dimension_key undocumented

/finance/dimensions/:dimension_key

Parameters
dimension_key string · path
required
Responses
200Successful Response
DELETE /finance/dimensions/example
1curl -X DELETE "http://localhost:8000/finance/dimensions/example"
1fetch("http://localhost:8000/finance/dimensions/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/finance/dimensions/example")
4print(response.json())
200 Example Response
No Body
DELETE /finance/tax-rates/:tax_id undocumented

/finance/tax-rates/:tax_id

Parameters
tax_id string · path
required
Responses
200Successful Response
DELETE /finance/tax-rates/example
1curl -X DELETE "http://localhost:8000/finance/tax-rates/example"
1fetch("http://localhost:8000/finance/tax-rates/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/finance/tax-rates/example")
4print(response.json())
200 Example Response
No Body
DELETE /finance/payment-terms/:term_id undocumented

/finance/payment-terms/:term_id

Parameters
term_id string · path
required
Responses
200Successful Response
DELETE /finance/payment-terms/example
1curl -X DELETE "http://localhost:8000/finance/payment-terms/example"
1fetch("http://localhost:8000/finance/payment-terms/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/finance/payment-terms/example")
4print(response.json())
200 Example Response
No Body
DELETE /finance/bank-rules/:rule_id undocumented

/finance/bank-rules/:rule_id

Parameters
rule_id string · path
required
Responses
200Successful Response
DELETE /finance/bank-rules/example
1curl -X DELETE "http://localhost:8000/finance/bank-rules/example"
1fetch("http://localhost:8000/finance/bank-rules/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/finance/bank-rules/example")
4print(response.json())
200 Example Response
No Body
DELETE /finance/budgets/:budget_id undocumented

/finance/budgets/:budget_id

Parameters
budget_id string · path
required
Responses
200Successful Response
DELETE /finance/budgets/example
1curl -X DELETE "http://localhost:8000/finance/budgets/example"
1fetch("http://localhost:8000/finance/budgets/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/finance/budgets/example")
4print(response.json())
200 Example Response
No Body
DELETE /finance/recurring-entries/:recurring_id undocumented

/finance/recurring-entries/:recurring_id

Parameters
recurring_id string · path
required
Responses
200Successful Response
DELETE /finance/recurring-entries/example
1curl -X DELETE "http://localhost:8000/finance/recurring-entries/example"
1fetch("http://localhost:8000/finance/recurring-entries/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/finance/recurring-entries/example")
4print(response.json())
200 Example Response
No Body
GET /finance/quotes undocumented

/finance/quotes

Responses
200Successful Response
GET /finance/quotes
1curl "http://localhost:8000/finance/quotes"
1fetch("http://localhost:8000/finance/quotes")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/quotes")
4print(response.json())
200 Example Response
No Body
GET /finance/quotes/:entry_id undocumented

/finance/quotes/:entry_id

Parameters
entry_id string · path
required
Responses
200Successful Response
GET /finance/quotes/example
1curl "http://localhost:8000/finance/quotes/example"
1fetch("http://localhost:8000/finance/quotes/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/quotes/example")
4print(response.json())
200 Example Response
No Body
GET /finance/purchase-orders undocumented

/finance/purchase-orders

Responses
200Successful Response
GET /finance/purchase-orders
1curl "http://localhost:8000/finance/purchase-orders"
1fetch("http://localhost:8000/finance/purchase-orders")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/purchase-orders")
4print(response.json())
200 Example Response
No Body
GET /finance/purchase-orders/:entry_id undocumented

/finance/purchase-orders/:entry_id

Parameters
entry_id string · path
required
Responses
200Successful Response
GET /finance/purchase-orders/example
1curl "http://localhost:8000/finance/purchase-orders/example"
1fetch("http://localhost:8000/finance/purchase-orders/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/purchase-orders/example")
4print(response.json())
200 Example Response
No Body
GET /finance/purchase-orders/:entry_id/receipts undocumented

/finance/purchase-orders/:entry_id/receipts

Parameters
entry_id string · path
required
Responses
200Successful Response
GET /finance/purchase-orders/example/receipts
1curl "http://localhost:8000/finance/purchase-orders/example/receipts"
1fetch("http://localhost:8000/finance/purchase-orders/example/receipts")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/purchase-orders/example/receipts")
4print(response.json())
200 Example Response
No Body
GET /finance/orders undocumented

/finance/orders

Responses
200Successful Response
GET /finance/orders
1curl "http://localhost:8000/finance/orders"
1fetch("http://localhost:8000/finance/orders")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/orders")
4print(response.json())
200 Example Response
No Body
GET /finance/orders/:entry_id undocumented

/finance/orders/:entry_id

Parameters
entry_id string · path
required
Responses
200Successful Response
GET /finance/orders/example
1curl "http://localhost:8000/finance/orders/example"
1fetch("http://localhost:8000/finance/orders/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/orders/example")
4print(response.json())
200 Example Response
No Body
GET /finance/orders/:entry_id/fulfillments undocumented

/finance/orders/:entry_id/fulfillments

Parameters
entry_id string · path
required
Responses
200Successful Response
GET /finance/orders/example/fulfillments
1curl "http://localhost:8000/finance/orders/example/fulfillments"
1fetch("http://localhost:8000/finance/orders/example/fulfillments")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/orders/example/fulfillments")
4print(response.json())
200 Example Response
No Body
GET /finance/invoices undocumented

/finance/invoices

Responses
200Successful Response
GET /finance/invoices
1curl "http://localhost:8000/finance/invoices"
1fetch("http://localhost:8000/finance/invoices")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/invoices")
4print(response.json())
200 Example Response
No Body
GET /finance/invoices/:entry_id undocumented

/finance/invoices/:entry_id

Parameters
entry_id string · path
required
Responses
200Successful Response
GET /finance/invoices/example
1curl "http://localhost:8000/finance/invoices/example"
1fetch("http://localhost:8000/finance/invoices/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/invoices/example")
4print(response.json())
200 Example Response
No Body
GET /finance/invoices/:entry_id/payments undocumented

/finance/invoices/:entry_id/payments

Parameters
entry_id string · path
required
Responses
200Successful Response
GET /finance/invoices/example/payments
1curl "http://localhost:8000/finance/invoices/example/payments"
1fetch("http://localhost:8000/finance/invoices/example/payments")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/invoices/example/payments")
4print(response.json())
200 Example Response
No Body
GET /finance/invoices/:entry_id/ledger-lines undocumented

/finance/invoices/:entry_id/ledger-lines

Parameters
entry_id string · path
required
Responses
200Successful Response
GET /finance/invoices/example/ledger-lines
1curl "http://localhost:8000/finance/invoices/example/ledger-lines"
1fetch("http://localhost:8000/finance/invoices/example/ledger-lines")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/invoices/example/ledger-lines")
4print(response.json())
200 Example Response
No Body
GET /finance/invoices/:entry_id/pdfs undocumented

/finance/invoices/:entry_id/pdfs

Parameters
entry_id string · path
required
Responses
200Successful Response
GET /finance/invoices/example/pdfs
1curl "http://localhost:8000/finance/invoices/example/pdfs"
1fetch("http://localhost:8000/finance/invoices/example/pdfs")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/invoices/example/pdfs")
4print(response.json())
200 Example Response
No Body
GET /finance/bills undocumented

/finance/bills

Responses
200Successful Response
GET /finance/bills
1curl "http://localhost:8000/finance/bills"
1fetch("http://localhost:8000/finance/bills")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/bills")
4print(response.json())
200 Example Response
No Body
GET /finance/bills/:entry_id undocumented

/finance/bills/:entry_id

Parameters
entry_id string · path
required
Responses
200Successful Response
GET /finance/bills/example
1curl "http://localhost:8000/finance/bills/example"
1fetch("http://localhost:8000/finance/bills/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/bills/example")
4print(response.json())
200 Example Response
No Body
GET /finance/bills/:entry_id/payments undocumented

/finance/bills/:entry_id/payments

Parameters
entry_id string · path
required
Responses
200Successful Response
GET /finance/bills/example/payments
1curl "http://localhost:8000/finance/bills/example/payments"
1fetch("http://localhost:8000/finance/bills/example/payments")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/bills/example/payments")
4print(response.json())
200 Example Response
No Body
GET /finance/bills/:entry_id/ledger-lines undocumented

/finance/bills/:entry_id/ledger-lines

Parameters
entry_id string · path
required
Responses
200Successful Response
GET /finance/bills/example/ledger-lines
1curl "http://localhost:8000/finance/bills/example/ledger-lines"
1fetch("http://localhost:8000/finance/bills/example/ledger-lines")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/bills/example/ledger-lines")
4print(response.json())
200 Example Response
No Body
GET /finance/credit-notes undocumented

/finance/credit-notes

Responses
200Successful Response
GET /finance/credit-notes
1curl "http://localhost:8000/finance/credit-notes"
1fetch("http://localhost:8000/finance/credit-notes")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/credit-notes")
4print(response.json())
200 Example Response
No Body
GET /finance/credit-notes/:entry_id undocumented

/finance/credit-notes/:entry_id

Parameters
entry_id string · path
required
Responses
200Successful Response
GET /finance/credit-notes/example
1curl "http://localhost:8000/finance/credit-notes/example"
1fetch("http://localhost:8000/finance/credit-notes/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/credit-notes/example")
4print(response.json())
200 Example Response
No Body
GET /finance/credit-notes/:entry_id/ledger-lines undocumented

/finance/credit-notes/:entry_id/ledger-lines

Parameters
entry_id string · path
required
Responses
200Successful Response
GET /finance/credit-notes/example/ledger-lines
1curl "http://localhost:8000/finance/credit-notes/example/ledger-lines"
1fetch("http://localhost:8000/finance/credit-notes/example/ledger-lines")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/credit-notes/example/ledger-lines")
4print(response.json())
200 Example Response
No Body
GET /finance/credit-notes/:entry_id/pdfs undocumented

/finance/credit-notes/:entry_id/pdfs

Parameters
entry_id string · path
required
Responses
200Successful Response
GET /finance/credit-notes/example/pdfs
1curl "http://localhost:8000/finance/credit-notes/example/pdfs"
1fetch("http://localhost:8000/finance/credit-notes/example/pdfs")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/credit-notes/example/pdfs")
4print(response.json())
200 Example Response
No Body
GET /finance/purchase-credit-notes undocumented

/finance/purchase-credit-notes

Responses
200Successful Response
GET /finance/purchase-credit-notes
1curl "http://localhost:8000/finance/purchase-credit-notes"
1fetch("http://localhost:8000/finance/purchase-credit-notes")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/purchase-credit-notes")
4print(response.json())
200 Example Response
No Body
GET /finance/purchase-credit-notes/:entry_id undocumented

/finance/purchase-credit-notes/:entry_id

Parameters
entry_id string · path
required
Responses
200Successful Response
GET /finance/purchase-credit-notes/example
1curl "http://localhost:8000/finance/purchase-credit-notes/example"
1fetch("http://localhost:8000/finance/purchase-credit-notes/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/purchase-credit-notes/example")
4print(response.json())
200 Example Response
No Body
GET /finance/purchase-credit-notes/:entry_id/ledger-lines undocumented

/finance/purchase-credit-notes/:entry_id/ledger-lines

Parameters
entry_id string · path
required
Responses
200Successful Response
GET /finance/purchase-credit-notes/example/ledger-lines
1curl "http://localhost:8000/finance/purchase-credit-notes/example/ledger-lines"
1fetch("http://localhost:8000/finance/purchase-credit-notes/example/ledger-lines")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/purchase-credit-notes/example/ledger-lines")
4print(response.json())
200 Example Response
No Body
GET /finance/journal-entries undocumented

/finance/journal-entries

Responses
200Successful Response
GET /finance/journal-entries
1curl "http://localhost:8000/finance/journal-entries"
1fetch("http://localhost:8000/finance/journal-entries")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/journal-entries")
4print(response.json())
200 Example Response
No Body
GET /finance/journal-entries/:entry_id undocumented

/finance/journal-entries/:entry_id

Parameters
entry_id string · path
required
Responses
200Successful Response
GET /finance/journal-entries/example
1curl "http://localhost:8000/finance/journal-entries/example"
1fetch("http://localhost:8000/finance/journal-entries/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/journal-entries/example")
4print(response.json())
200 Example Response
No Body
GET /finance/journal-entries/:entry_id/ledger-lines undocumented

/finance/journal-entries/:entry_id/ledger-lines

Parameters
entry_id string · path
required
Responses
200Successful Response
GET /finance/journal-entries/example/ledger-lines
1curl "http://localhost:8000/finance/journal-entries/example/ledger-lines"
1fetch("http://localhost:8000/finance/journal-entries/example/ledger-lines")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/journal-entries/example/ledger-lines")
4print(response.json())
200 Example Response
No Body
GET /finance/accounts undocumented

/finance/accounts

List the chart of accounts. Filters: ?type=, ?active=, ?bank=true, ?q= (matches code or name — the Lookup widget in every account picker sends q). Raw SQL because supersql renders OR conditions unparenthesized, which would break workspace scoping.

Responses
200Successful Response
GET /finance/accounts
1curl "http://localhost:8000/finance/accounts"
1fetch("http://localhost:8000/finance/accounts")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/accounts")
4print(response.json())
200 Example Response
No Body
GET /finance/accounts/:account_id undocumented

/finance/accounts/:account_id

Parameters
account_id string · path
required
Responses
200Successful Response
GET /finance/accounts/example
1curl "http://localhost:8000/finance/accounts/example"
1fetch("http://localhost:8000/finance/accounts/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/accounts/example")
4print(response.json())
200 Example Response
No Body
GET /finance/accounts/:account_id/ledger-lines undocumented

/finance/accounts/:account_id/ledger-lines

Parameters
account_id string · path
required
Responses
200Successful Response
GET /finance/accounts/example/ledger-lines
1curl "http://localhost:8000/finance/accounts/example/ledger-lines"
1fetch("http://localhost:8000/finance/accounts/example/ledger-lines")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/accounts/example/ledger-lines")
4print(response.json())
200 Example Response
No Body
GET /finance/chart-advice undocumented

/finance/chart-advice

Advisory guidance for the new-account form (see core.forms Form.advice). Returns the derived normal balance, a suggested free code in the chosen type's block, and a warning when the typed code sits in a different type's block. Nothing here rejects anything, because the code-range convention is advisory by design (ACCOUNT_CODE_RANGES explains why), and the rule that IS enforceable is enforced in api_create_account instead.

Responses
200Successful Response
GET /finance/chart-advice
1curl "http://localhost:8000/finance/chart-advice"
1fetch("http://localhost:8000/finance/chart-advice")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/chart-advice")
4print(response.json())
200 Example Response
No Body
GET /finance/ledger undocumented

/finance/ledger

Responses
200Successful Response
GET /finance/ledger
1curl "http://localhost:8000/finance/ledger"
1fetch("http://localhost:8000/finance/ledger")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/ledger")
4print(response.json())
200 Example Response
No Body
GET /finance/ledger/:line_id undocumented

/finance/ledger/:line_id

Parameters
line_id string · path
required
Responses
200Successful Response
GET /finance/ledger/example
1curl "http://localhost:8000/finance/ledger/example"
1fetch("http://localhost:8000/finance/ledger/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/ledger/example")
4print(response.json())
200 Example Response
No Body
GET /finance/payments undocumented

/finance/payments

Responses
200Successful Response
GET /finance/payments
1curl "http://localhost:8000/finance/payments"
1fetch("http://localhost:8000/finance/payments")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/payments")
4print(response.json())
200 Example Response
No Body
GET /finance/payments/:payment_id undocumented

/finance/payments/:payment_id

Parameters
payment_id string · path
required
Responses
200Successful Response
GET /finance/payments/example
1curl "http://localhost:8000/finance/payments/example"
1fetch("http://localhost:8000/finance/payments/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/payments/example")
4print(response.json())
200 Example Response
No Body
GET /finance/payments/:payment_id/reversals undocumented

/finance/payments/:payment_id/reversals

Parameters
payment_id string · path
required
Responses
200Successful Response
GET /finance/payments/example/reversals
1curl "http://localhost:8000/finance/payments/example/reversals"
1fetch("http://localhost:8000/finance/payments/example/reversals")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/payments/example/reversals")
4print(response.json())
200 Example Response
No Body
GET /finance/bank-imports undocumented

/finance/bank-imports

Responses
200Successful Response
GET /finance/bank-imports
1curl "http://localhost:8000/finance/bank-imports"
1fetch("http://localhost:8000/finance/bank-imports")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/bank-imports")
4print(response.json())
200 Example Response
No Body
GET /finance/bank-imports/:import_id undocumented

/finance/bank-imports/:import_id

Parameters
import_id string · path
required
Responses
200Successful Response
GET /finance/bank-imports/example
1curl "http://localhost:8000/finance/bank-imports/example"
1fetch("http://localhost:8000/finance/bank-imports/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/bank-imports/example")
4print(response.json())
200 Example Response
No Body
GET /finance/bank-imports/:import_id/matches undocumented

/finance/bank-imports/:import_id/matches

Parameters
import_id string · path
required
Responses
200Successful Response
GET /finance/bank-imports/example/matches
1curl "http://localhost:8000/finance/bank-imports/example/matches"
1fetch("http://localhost:8000/finance/bank-imports/example/matches")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/bank-imports/example/matches")
4print(response.json())
200 Example Response
No Body
GET /finance/requests undocumented

/finance/requests

GET /finance/requests — reviewers see all, everyone else their own. The scope is deposited by the authz chain (scope_requests).

Responses
200Successful Response
GET /finance/requests
1curl "http://localhost:8000/finance/requests"
1fetch("http://localhost:8000/finance/requests")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/requests")
4print(response.json())
200 Example Response
No Body
GET /finance/requests/:request_id undocumented

/finance/requests/:request_id

Parameters
request_id string · path
required
Responses
200Successful Response
GET /finance/requests/example
1curl "http://localhost:8000/finance/requests/example"
1fetch("http://localhost:8000/finance/requests/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/requests/example")
4print(response.json())
200 Example Response
No Body
GET /finance/quotes/:entry_id/links undocumented

/finance/quotes/:entry_id/links

Parameters
entry_id string · path
required
Responses
200Successful Response
GET /finance/quotes/example/links
1curl "http://localhost:8000/finance/quotes/example/links"
1fetch("http://localhost:8000/finance/quotes/example/links")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/quotes/example/links")
4print(response.json())
200 Example Response
No Body
GET /finance/invoices/:entry_id/links undocumented

/finance/invoices/:entry_id/links

Parameters
entry_id string · path
required
Responses
200Successful Response
GET /finance/invoices/example/links
1curl "http://localhost:8000/finance/invoices/example/links"
1fetch("http://localhost:8000/finance/invoices/example/links")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/invoices/example/links")
4print(response.json())
200 Example Response
No Body
GET /finance/credit-notes/:entry_id/links undocumented

/finance/credit-notes/:entry_id/links

Parameters
entry_id string · path
required
Responses
200Successful Response
GET /finance/credit-notes/example/links
1curl "http://localhost:8000/finance/credit-notes/example/links"
1fetch("http://localhost:8000/finance/credit-notes/example/links")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/credit-notes/example/links")
4print(response.json())
200 Example Response
No Body
GET /finance/payment-credentials undocumented

/finance/payment-credentials

Responses
200Successful Response
GET /finance/payment-credentials
1curl "http://localhost:8000/finance/payment-credentials"
1fetch("http://localhost:8000/finance/payment-credentials")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/payment-credentials")
4print(response.json())
200 Example Response
No Body
GET /finance/bank-connections undocumented

/finance/bank-connections

Responses
200Successful Response
GET /finance/bank-connections
1curl "http://localhost:8000/finance/bank-connections"
1fetch("http://localhost:8000/finance/bank-connections")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/bank-connections")
4print(response.json())
200 Example Response
No Body
GET /finance/reconciliations undocumented

/finance/reconciliations

Responses
200Successful Response
GET /finance/reconciliations
1curl "http://localhost:8000/finance/reconciliations"
1fetch("http://localhost:8000/finance/reconciliations")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/reconciliations")
4print(response.json())
200 Example Response
No Body
GET /finance/reconciliations/:recon_id undocumented

/finance/reconciliations/:recon_id

Parameters
recon_id string · path
required
Responses
200Successful Response
GET /finance/reconciliations/example
1curl "http://localhost:8000/finance/reconciliations/example"
1fetch("http://localhost:8000/finance/reconciliations/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/reconciliations/example")
4print(response.json())
200 Example Response
No Body
GET /finance/settings undocumented

/finance/settings

Responses
200Successful Response
GET /finance/settings
1curl "http://localhost:8000/finance/settings"
1fetch("http://localhost:8000/finance/settings")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/settings")
4print(response.json())
200 Example Response
No Body
GET /finance/fiscal-periods undocumented

/finance/fiscal-periods

Responses
200Successful Response
GET /finance/fiscal-periods
1curl "http://localhost:8000/finance/fiscal-periods"
1fetch("http://localhost:8000/finance/fiscal-periods")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/fiscal-periods")
4print(response.json())
200 Example Response
No Body
GET /finance/fiscal-periods/:period_id/revaluation-preview undocumented

/finance/fiscal-periods/:period_id/revaluation-preview

GET /finance/fiscal-periods/:period_id/revaluation-preview?as_of=...

Parameters
period_id string · path
required
Responses
200Successful Response
GET /finance/fiscal-periods/example/revaluation-preview
1curl "http://localhost:8000/finance/fiscal-periods/example/revaluation-preview"
1fetch("http://localhost:8000/finance/fiscal-periods/example/revaluation-preview")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/fiscal-periods/example/revaluation-preview")
4print(response.json())
200 Example Response
No Body
GET /finance/fiscal-periods/:period_id/revaluations undocumented

/finance/fiscal-periods/:period_id/revaluations

GET /finance/fiscal-periods/:period_id/revaluations

Parameters
period_id string · path
required
Responses
200Successful Response
GET /finance/fiscal-periods/example/revaluations
1curl "http://localhost:8000/finance/fiscal-periods/example/revaluations"
1fetch("http://localhost:8000/finance/fiscal-periods/example/revaluations")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/fiscal-periods/example/revaluations")
4print(response.json())
200 Example Response
No Body
GET /finance/dimensions undocumented

/finance/dimensions

Responses
200Successful Response
GET /finance/dimensions
1curl "http://localhost:8000/finance/dimensions"
1fetch("http://localhost:8000/finance/dimensions")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/dimensions")
4print(response.json())
200 Example Response
No Body
GET /finance/dimensions/:dimension_key/values undocumented

/finance/dimensions/:dimension_key/values

Parameters
dimension_key string · path
required
Responses
200Successful Response
GET /finance/dimensions/example/values
1curl "http://localhost:8000/finance/dimensions/example/values"
1fetch("http://localhost:8000/finance/dimensions/example/values")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/dimensions/example/values")
4print(response.json())
200 Example Response
No Body
GET /finance/tax-rates undocumented

/finance/tax-rates

Responses
200Successful Response
GET /finance/tax-rates
1curl "http://localhost:8000/finance/tax-rates"
1fetch("http://localhost:8000/finance/tax-rates")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/tax-rates")
4print(response.json())
200 Example Response
No Body
GET /finance/payment-terms undocumented

/finance/payment-terms

Responses
200Successful Response
GET /finance/payment-terms
1curl "http://localhost:8000/finance/payment-terms"
1fetch("http://localhost:8000/finance/payment-terms")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/payment-terms")
4print(response.json())
200 Example Response
No Body
GET /finance/bank-rules undocumented

/finance/bank-rules

Responses
200Successful Response
GET /finance/bank-rules
1curl "http://localhost:8000/finance/bank-rules"
1fetch("http://localhost:8000/finance/bank-rules")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/bank-rules")
4print(response.json())
200 Example Response
No Body
GET /finance/budgets undocumented

/finance/budgets

Responses
200Successful Response
GET /finance/budgets
1curl "http://localhost:8000/finance/budgets"
1fetch("http://localhost:8000/finance/budgets")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/budgets")
4print(response.json())
200 Example Response
No Body
GET /finance/recurring-entries undocumented

/finance/recurring-entries

Responses
200Successful Response
GET /finance/recurring-entries
1curl "http://localhost:8000/finance/recurring-entries"
1fetch("http://localhost:8000/finance/recurring-entries")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/recurring-entries")
4print(response.json())
200 Example Response
No Body
GET /finance/reports/trial-balance undocumented

/finance/reports/trial-balance

Responses
200Successful Response
GET /finance/reports/trial-balance
1curl "http://localhost:8000/finance/reports/trial-balance"
1fetch("http://localhost:8000/finance/reports/trial-balance")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/reports/trial-balance")
4print(response.json())
200 Example Response
No Body
GET /finance/reports/income-statement undocumented

/finance/reports/income-statement

Responses
200Successful Response
GET /finance/reports/income-statement
1curl "http://localhost:8000/finance/reports/income-statement"
1fetch("http://localhost:8000/finance/reports/income-statement")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/reports/income-statement")
4print(response.json())
200 Example Response
No Body
GET /finance/reports/balance-sheet undocumented

/finance/reports/balance-sheet

Responses
200Successful Response
GET /finance/reports/balance-sheet
1curl "http://localhost:8000/finance/reports/balance-sheet"
1fetch("http://localhost:8000/finance/reports/balance-sheet")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/reports/balance-sheet")
4print(response.json())
200 Example Response
No Body
GET /finance/reports/aged-receivables undocumented

/finance/reports/aged-receivables

Responses
200Successful Response
GET /finance/reports/aged-receivables
1curl "http://localhost:8000/finance/reports/aged-receivables"
1fetch("http://localhost:8000/finance/reports/aged-receivables")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/reports/aged-receivables")
4print(response.json())
200 Example Response
No Body
GET /finance/reports/aged-payables undocumented

/finance/reports/aged-payables

Responses
200Successful Response
GET /finance/reports/aged-payables
1curl "http://localhost:8000/finance/reports/aged-payables"
1fetch("http://localhost:8000/finance/reports/aged-payables")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/reports/aged-payables")
4print(response.json())
200 Example Response
No Body
GET /finance/reports/cash-flow undocumented

/finance/reports/cash-flow

Responses
200Successful Response
GET /finance/reports/cash-flow
1curl "http://localhost:8000/finance/reports/cash-flow"
1fetch("http://localhost:8000/finance/reports/cash-flow")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/reports/cash-flow")
4print(response.json())
200 Example Response
No Body
GET /finance/reports/revenue-by-customer undocumented

/finance/reports/revenue-by-customer

Responses
200Successful Response
GET /finance/reports/revenue-by-customer
1curl "http://localhost:8000/finance/reports/revenue-by-customer"
1fetch("http://localhost:8000/finance/reports/revenue-by-customer")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/reports/revenue-by-customer")
4print(response.json())
200 Example Response
No Body
GET /finance/reports/budget-vs-actuals undocumented

/finance/reports/budget-vs-actuals

Responses
200Successful Response
GET /finance/reports/budget-vs-actuals
1curl "http://localhost:8000/finance/reports/budget-vs-actuals"
1fetch("http://localhost:8000/finance/reports/budget-vs-actuals")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/reports/budget-vs-actuals")
4print(response.json())
200 Example Response
No Body
GET /finance/reports/dimensions/:dimension_key undocumented

/finance/reports/dimensions/:dimension_key

Parameters
dimension_key string · path
required
Responses
200Successful Response
GET /finance/reports/dimensions/example
1curl "http://localhost:8000/finance/reports/dimensions/example"
1fetch("http://localhost:8000/finance/reports/dimensions/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/finance/reports/dimensions/example")
4print(response.json())
200 Example Response
No Body
POST /finance/bank-connections/:id/syncs undocumented

/finance/bank-connections/:id/syncs

Parameters
id string · path
required
Responses
200Successful Response
POST /finance/bank-connections/example/syncs
1curl -X POST "http://localhost:8000/finance/bank-connections/example/syncs"
1fetch("http://localhost:8000/finance/bank-connections/example/syncs", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/finance/bank-connections/example/syncs")
4print(response.json())
200 Example Response
No Body
POST /finance/fiscal-periods/:period_id/year-end-close undocumented

/finance/fiscal-periods/:period_id/year-end-close

POST /finance/fiscal-periods/:period_id/year-end-close Posts the closing JE for the fiscal year whose last day matches ``period.end``. No request body — the period alone is the command.

Parameters
period_id string · path
required
Responses
200Successful Response
POST /finance/fiscal-periods/example/year-end-close
1curl -X POST "http://localhost:8000/finance/fiscal-periods/example/year-end-close"
1fetch("http://localhost:8000/finance/fiscal-periods/example/year-end-close", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/finance/fiscal-periods/example/year-end-close")
4print(response.json())
200 Example Response
No Body
POST /finance/recurring-entries/:recurring_id/runs undocumented

/finance/recurring-entries/:recurring_id/runs

Manually trigger a recurring entry — creates a draft invoice or bill. Does NOT advance ``next_date`` or reschedule — that's the scheduled path's job. Manual run is an operator override for off-cycle generation.

Parameters
recurring_id string · path
required
Responses
200Successful Response
POST /finance/recurring-entries/example/runs
1curl -X POST "http://localhost:8000/finance/recurring-entries/example/runs"
1fetch("http://localhost:8000/finance/recurring-entries/example/runs", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/finance/recurring-entries/example/runs")
4print(response.json())
200 Example Response
No Body
PUT /finance/settings/logo undocumented

/finance/settings/logo

PUT /finance/settings/logo: replace the logo shown on every document. The object key is generated ONCE and then reused for the life of the workspace, so a replacement overwrites in place. That is deliberate: a new key per upload would orphan the old object and, worse, break the logo in every invoice email already sitting in a customer's inbox. One workspace, one object, one stable URL. The key is flat, extensionless and 128 bits of randomness. Flat and random because the public bucket serves anyone holding the URL, so unguessability is the whole security boundary (listing is disabled, so the key is the only handle). Extensionless because the content type lives in R2 object metadata, which is what browsers, weasyprint and mail clients actually read: keeping an extension would mean a PNG-to-SVG switch silently orphaned the old object. The stored URL carries a ?v= token regenerated on every upload. Overwriting bytes under a cached URL would otherwise keep serving the old logo until the edge TTL lapsed, which reads as a broken save.

Responses
200Successful Response
PUT /finance/settings/logo
1curl -X PUT "http://localhost:8000/finance/settings/logo"
1fetch("http://localhost:8000/finance/settings/logo", { method: "PUT" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.put("http://localhost:8000/finance/settings/logo")
4print(response.json())
200 Example Response
No Body
DELETE /folders/:folder_id undocumented

/folders/:folder_id

Parameters
folder_id string · path
required
Responses
200Successful Response
DELETE /folders/example
1curl -X DELETE "http://localhost:8000/folders/example"
1fetch("http://localhost:8000/folders/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/folders/example")
4print(response.json())
200 Example Response
No Body
DELETE /folders/:folder_id/permissions undocumented

/folders/:folder_id/permissions

Parameters
folder_id string · path
required
Responses
200Successful Response
DELETE /folders/example/permissions
1curl -X DELETE "http://localhost:8000/folders/example/permissions"
1fetch("http://localhost:8000/folders/example/permissions", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/folders/example/permissions")
4print(response.json())
200 Example Response
No Body
GET /folders undocumented

/folders

Responses
200Successful Response
GET /folders
1curl "http://localhost:8000/folders"
1fetch("http://localhost:8000/folders")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/folders")
4print(response.json())
200 Example Response
No Body
GET /folders/:folder_id undocumented

/folders/:folder_id

Parameters
folder_id string · path
required
Responses
200Successful Response
GET /folders/example
1curl "http://localhost:8000/folders/example"
1fetch("http://localhost:8000/folders/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/folders/example")
4print(response.json())
200 Example Response
No Body
GET /folders/:folder_id/files undocumented

/folders/:folder_id/files

Parameters
folder_id string · path
required
Responses
200Successful Response
GET /folders/example/files
1curl "http://localhost:8000/folders/example/files"
1fetch("http://localhost:8000/folders/example/files")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/folders/example/files")
4print(response.json())
200 Example Response
No Body
GET /folders/:folder_id/permissions undocumented

/folders/:folder_id/permissions

Parameters
folder_id string · path
required
Responses
200Successful Response
GET /folders/example/permissions
1curl "http://localhost:8000/folders/example/permissions"
1fetch("http://localhost:8000/folders/example/permissions")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/folders/example/permissions")
4print(response.json())
200 Example Response
No Body
GET /folders/:folder_id/archive undocumented

/folders/:folder_id/archive

GET /folders/:folder_id/archive — the folder tree as a ZIP download.

Parameters
folder_id string · path
required
Responses
200Successful Response
GET /folders/example/archive
1curl "http://localhost:8000/folders/example/archive"
1fetch("http://localhost:8000/folders/example/archive")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/folders/example/archive")
4print(response.json())
200 Example Response
No Body
PATCH /folders/:folder_id

Update a folder

Parameters
folder_id string · path
required
Body · UpdateFolderapplication/json
name string · min length: 1 · max length: 255
parent_id string
color string
is_pinned
propertyName anything
Responses
200Successful Response
PATCH /folders/example
1curl -X PATCH "http://localhost:8000/folders/example" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","parent_id":"string","color":"string","is_pinned":{}}'
1fetch("http://localhost:8000/folders/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "parent_id": "string",
7 "color": "string",
8 "is_pinned": {}
9}),
10})
11 .then((res) => res.json())
12 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/folders/example",
5 json={"name":"string","parent_id":"string","color":"string","is_pinned":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /folders

Create a folder

Body · CreateFolderapplication/json
name string · min length: 1 · max length: 255
required
parent_id string
color string
propertyName anything
Responses
200Successful Response
POST /folders
1curl -X POST "http://localhost:8000/folders" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","parent_id":"string","color":"string"}'
1fetch("http://localhost:8000/folders", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "parent_id": "string",
7 "color": "string"
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/folders",
5 json={"name":"string","parent_id":"string","color":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /folders/:folder_id/copies

Copy a folder and everything in it

POST /folders/:folder_id/copies: copy a folder you own, with everything in it, beside the original. The folders appear at once; each file appears as its bytes finish copying in the background.

Parameters
folder_id string · path
required
Responses
200Successful Response
POST /folders/example/copies
1curl -X POST "http://localhost:8000/folders/example/copies"
1fetch("http://localhost:8000/folders/example/copies", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/folders/example/copies")
4print(response.json())
200 Example Response
No Body
DELETE /grants/:id undocumented

/grants/:id

DELETE /grants/:id — revoke a grant. The grant row was loaded + authorized by can_manage_grant_by_id. Ownership grants are not revocable here.

Parameters
id string · path
required
Responses
200Successful Response
DELETE /grants/example
1curl -X DELETE "http://localhost:8000/grants/example"
1fetch("http://localhost:8000/grants/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/grants/example")
4print(response.json())
200 Example Response
No Body
GET /grants undocumented

/grants

GET /grants?resource_mrn=… — who has access to a record (members + roles, each with their level), plus whether the caller may manage it.

Responses
200Successful Response
GET /grants
1curl "http://localhost:8000/grants"
1fetch("http://localhost:8000/grants")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/grants")
4print(response.json())
200 Example Response
No Body
POST /grants

Grant access to a record

POST /grants — grant a member or role access to a record. Caps at the read/edit/manage ladder; ownership is never grantable here.

Body · CreateGrantapplication/json
resource_mrn string · min length: 5 · max length: 255
required
principal_type
required
principal_id string · min length: 1 · max length: 100
required
action
required
propertyName anything
Responses
200Successful Response
POST /grants
1curl -X POST "http://localhost:8000/grants" \
2 -H "Content-Type: application/json" \
3 -d '{"resource_mrn":"string","principal_type":"member","principal_id":"string","action":"read"}'
1fetch("http://localhost:8000/grants", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "resource_mrn": "string",
6 "principal_type": "member",
7 "principal_id": "string",
8 "action": "read"
9}),
10})
11 .then((res) => res.json())
12 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/grants",
5 json={"resource_mrn":"string","principal_type":"member","principal_id":"string","action":"read"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
DELETE /growth/campaigns/:id undocumented

/growth/campaigns/:id

Delete a campaign nobody has answered, with its review assignments. One that holds responses or written reviews is closed instead, never deleted.

Parameters
id string · path
required
Responses
200Successful Response
DELETE /growth/campaigns/example
1curl -X DELETE "http://localhost:8000/growth/campaigns/example"
1fetch("http://localhost:8000/growth/campaigns/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/growth/campaigns/example")
4print(response.json())
200 Example Response
No Body
DELETE /growth/goals/:id undocumented

/growth/goals/:id

Parameters
id string · path
required
Responses
200Successful Response
DELETE /growth/goals/example
1curl -X DELETE "http://localhost:8000/growth/goals/example"
1fetch("http://localhost:8000/growth/goals/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/growth/goals/example")
4print(response.json())
200 Example Response
No Body
DELETE /growth/plans/:id undocumented

/growth/plans/:id

Parameters
id string · path
required
Responses
200Successful Response
DELETE /growth/plans/example
1curl -X DELETE "http://localhost:8000/growth/plans/example"
1fetch("http://localhost:8000/growth/plans/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/growth/plans/example")
4print(response.json())
200 Example Response
No Body
DELETE /growth/signals/:id undocumented

/growth/signals/:id

Parameters
id string · path
required
Responses
200Successful Response
DELETE /growth/signals/example
1curl -X DELETE "http://localhost:8000/growth/signals/example"
1fetch("http://localhost:8000/growth/signals/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/growth/signals/example")
4print(response.json())
200 Example Response
No Body
DELETE /growth/attributes/:id undocumented

/growth/attributes/:id

Parameters
id string · path
required
Responses
200Successful Response
DELETE /growth/attributes/example
1curl -X DELETE "http://localhost:8000/growth/attributes/example"
1fetch("http://localhost:8000/growth/attributes/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/growth/attributes/example")
4print(response.json())
200 Example Response
No Body
DELETE /growth/role-profiles/:id undocumented

/growth/role-profiles/:id

Parameters
id string · path
required
Responses
200Successful Response
DELETE /growth/role-profiles/example
1curl -X DELETE "http://localhost:8000/growth/role-profiles/example"
1fetch("http://localhost:8000/growth/role-profiles/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/growth/role-profiles/example")
4print(response.json())
200 Example Response
No Body
DELETE /growth/review-tasks/:id undocumented

/growth/review-tasks/:id

Parameters
id string · path
required
Responses
200Successful Response
DELETE /growth/review-tasks/example
1curl -X DELETE "http://localhost:8000/growth/review-tasks/example"
1fetch("http://localhost:8000/growth/review-tasks/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/growth/review-tasks/example")
4print(response.json())
200 Example Response
No Body
DELETE /growth/meeting-series/:id undocumented

/growth/meeting-series/:id

Parameters
id string · path
required
Responses
200Successful Response
DELETE /growth/meeting-series/example
1curl -X DELETE "http://localhost:8000/growth/meeting-series/example"
1fetch("http://localhost:8000/growth/meeting-series/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/growth/meeting-series/example")
4print(response.json())
200 Example Response
No Body
GET /growth/campaigns undocumented

/growth/campaigns

Responses
200Successful Response
GET /growth/campaigns
1curl "http://localhost:8000/growth/campaigns"
1fetch("http://localhost:8000/growth/campaigns")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/growth/campaigns")
4print(response.json())
200 Example Response
No Body
GET /growth/campaigns/:id/results undocumented

/growth/campaigns/:id/results

Aggregated, min-group-size-suppressed engagement results for a campaign.

Parameters
id string · path
required
Responses
200Successful Response
GET /growth/campaigns/example/results
1curl "http://localhost:8000/growth/campaigns/example/results"
1fetch("http://localhost:8000/growth/campaigns/example/results")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/growth/campaigns/example/results")
4print(response.json())
200 Example Response
No Body
GET /growth/goals undocumented

/growth/goals

Responses
200Successful Response
GET /growth/goals
1curl "http://localhost:8000/growth/goals"
1fetch("http://localhost:8000/growth/goals")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/growth/goals")
4print(response.json())
200 Example Response
No Body
GET /growth/goals/summary undocumented

/growth/goals/summary

Responses
200Successful Response
GET /growth/goals/summary
1curl "http://localhost:8000/growth/goals/summary"
1fetch("http://localhost:8000/growth/goals/summary")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/growth/goals/summary")
4print(response.json())
200 Example Response
No Body
GET /growth/goals/periods undocumented

/growth/goals/periods

GET /growth/goals/periods: the periods goals are set for, newest first, with the current quarter always there.

Responses
200Successful Response
GET /growth/goals/periods
1curl "http://localhost:8000/growth/goals/periods"
1fetch("http://localhost:8000/growth/goals/periods")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/growth/goals/periods")
4print(response.json())
200 Example Response
No Body
GET /growth/goals/:id undocumented

/growth/goals/:id

One objective with what measures it, what it feeds and what changed.

Parameters
id string · path
required
Responses
200Successful Response
GET /growth/goals/example
1curl "http://localhost:8000/growth/goals/example"
1fetch("http://localhost:8000/growth/goals/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/growth/goals/example")
4print(response.json())
200 Example Response
No Body
GET /growth/goals/:id/comments undocumented

/growth/goals/:id/comments

The comment thread on a goal, oldest first. Comments are growth_signals rows of kind 'goal_comment' (migration 002). They carry no visibility of their own: reaching this endpoint at all means can_read_goal already decided the caller may see the goal, and a comment is never more private than the goal it sits on.

Parameters
id string · path
required
Responses
200Successful Response
GET /growth/goals/example/comments
1curl "http://localhost:8000/growth/goals/example/comments"
1fetch("http://localhost:8000/growth/goals/example/comments")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/growth/goals/example/comments")
4print(response.json())
200 Example Response
No Body
GET /growth/plans undocumented

/growth/plans

Responses
200Successful Response
GET /growth/plans
1curl "http://localhost:8000/growth/plans"
1fetch("http://localhost:8000/growth/plans")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/growth/plans")
4print(response.json())
200 Example Response
No Body
GET /growth/plans/:id undocumented

/growth/plans/:id

GET /growth/plans/:id: one plan with its steps, the competency it climbs, its learning, goals, next check-in and updates.

Parameters
id string · path
required
Responses
200Successful Response
GET /growth/plans/example
1curl "http://localhost:8000/growth/plans/example"
1fetch("http://localhost:8000/growth/plans/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/growth/plans/example")
4print(response.json())
200 Example Response
No Body
GET /growth/signals undocumented

/growth/signals

Responses
200Successful Response
GET /growth/signals
1curl "http://localhost:8000/growth/signals"
1fetch("http://localhost:8000/growth/signals")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/growth/signals")
4print(response.json())
200 Example Response
No Body
GET /growth/signals/summary undocumented

/growth/signals/summary

GET /growth/signals/summary: the Feedback header and its side cards, from praise and feedback the caller may see.

Responses
200Successful Response
GET /growth/signals/summary
1curl "http://localhost:8000/growth/signals/summary"
1fetch("http://localhost:8000/growth/signals/summary")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/growth/signals/summary")
4print(response.json())
200 Example Response
No Body
GET /growth/mood-checks/current undocumented

/growth/mood-checks/current

GET /growth/mood-checks/current: whether the caller still owes this period's mood check.

Responses
200Successful Response
GET /growth/mood-checks/current
1curl "http://localhost:8000/growth/mood-checks/current"
1fetch("http://localhost:8000/growth/mood-checks/current")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/growth/mood-checks/current")
4print(response.json())
200 Example Response
No Body
GET /growth/signals/:id undocumented

/growth/signals/:id

One signal. The full-page 1:1 view loads an interaction through here.

Parameters
id string · path
required
Responses
200Successful Response
GET /growth/signals/example
1curl "http://localhost:8000/growth/signals/example"
1fetch("http://localhost:8000/growth/signals/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/growth/signals/example")
4print(response.json())
200 Example Response
No Body
GET /growth/signals/:id/action-items/tasks undocumented

/growth/signals/:id/action-items/tasks

GET /growth/signals/:id/action-items/tasks — the tasks this 1:1's action items were promoted into, read from the local projection (never from Tasks).

Parameters
id string · path
required
Responses
200Successful Response
GET /growth/signals/example/action-items/tasks
1curl "http://localhost:8000/growth/signals/example/action-items/tasks"
1fetch("http://localhost:8000/growth/signals/example/action-items/tasks")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/growth/signals/example/action-items/tasks")
4print(response.json())
200 Example Response
No Body
GET /growth/attributes undocumented

/growth/attributes

Responses
200Successful Response
GET /growth/attributes
1curl "http://localhost:8000/growth/attributes"
1fetch("http://localhost:8000/growth/attributes")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/growth/attributes")
4print(response.json())
200 Example Response
No Body
GET /growth/role-profiles undocumented

/growth/role-profiles

Responses
200Successful Response
GET /growth/role-profiles
1curl "http://localhost:8000/growth/role-profiles"
1fetch("http://localhost:8000/growth/role-profiles")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/growth/role-profiles")
4print(response.json())
200 Example Response
No Body
GET /growth/role-profiles/:id undocumented

/growth/role-profiles/:id

GET /growth/role-profiles/:id — one career framework, ready to render. Carries the grid, the competencies its rows are drawn from, and the people who sit in the role. Those people come from growth_worker_projection, growth's own projection of workers state (rule 5): matching is on the job title the worker events already carry, so nothing here reaches into the workers app.

Parameters
id string · path
required
Responses
200Successful Response
GET /growth/role-profiles/example
1curl "http://localhost:8000/growth/role-profiles/example"
1fetch("http://localhost:8000/growth/role-profiles/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/growth/role-profiles/example")
4print(response.json())
200 Example Response
No Body
GET /growth/review-tasks undocumented

/growth/review-tasks

Responses
200Successful Response
GET /growth/review-tasks
1curl "http://localhost:8000/growth/review-tasks"
1fetch("http://localhost:8000/growth/review-tasks")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/growth/review-tasks")
4print(response.json())
200 Example Response
No Body
GET /growth/review-tasks/:id undocumented

/growth/review-tasks/:id

GET /growth/review-tasks/:id: everything a reviewer needs to write one review.

Parameters
id string · path
required
Responses
200Successful Response
GET /growth/review-tasks/example
1curl "http://localhost:8000/growth/review-tasks/example"
1fetch("http://localhost:8000/growth/review-tasks/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/growth/review-tasks/example")
4print(response.json())
200 Example Response
No Body
GET /growth/review-rounds undocumented

/growth/review-rounds

GET /growth/review-rounds: every review with its rounds, their progress and the round to come.

Responses
200Successful Response
GET /growth/review-rounds
1curl "http://localhost:8000/growth/review-rounds"
1fetch("http://localhost:8000/growth/review-rounds")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/growth/review-rounds")
4print(response.json())
200 Example Response
No Body
GET /growth/meeting-series undocumented

/growth/meeting-series

GET /growth/meeting-series: recurring check-ins you can see, with who, the last one, open follow-ups and facts.

Responses
200Successful Response
GET /growth/meeting-series
1curl "http://localhost:8000/growth/meeting-series"
1fetch("http://localhost:8000/growth/meeting-series")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/growth/meeting-series")
4print(response.json())
200 Example Response
No Body
GET /growth/check-in-briefs undocumented

/growth/check-in-briefs

GET /growth/check-in-briefs: what a check-in with someone should cover, and what happened since the last one. The agenda fills itself from carried-over items, their plan's next step, goals that need a word and grade changes.

Responses
200Successful Response
GET /growth/check-in-briefs
1curl "http://localhost:8000/growth/check-in-briefs"
1fetch("http://localhost:8000/growth/check-in-briefs")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/growth/check-in-briefs")
4print(response.json())
200 Example Response
No Body
GET /growth/board undocumented

/growth/board

GET /growth/board: every Home widget's data, filtered to what the caller may see.

Responses
200Successful Response
GET /growth/board
1curl "http://localhost:8000/growth/board"
1fetch("http://localhost:8000/growth/board")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/growth/board")
4print(response.json())
200 Example Response
No Body
GET /growth/frameworks undocumented

/growth/frameworks

Responses
200Successful Response
GET /growth/frameworks
1curl "http://localhost:8000/growth/frameworks"
1fetch("http://localhost:8000/growth/frameworks")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/growth/frameworks")
4print(response.json())
200 Example Response
No Body
GET /growth/frameworks/:id undocumented

/growth/frameworks/:id

Parameters
id string · path
required
Responses
200Successful Response
GET /growth/frameworks/example
1curl "http://localhost:8000/growth/frameworks/example"
1fetch("http://localhost:8000/growth/frameworks/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/growth/frameworks/example")
4print(response.json())
200 Example Response
No Body
GET /growth/grades undocumented

/growth/grades

Responses
200Successful Response
GET /growth/grades
1curl "http://localhost:8000/growth/grades"
1fetch("http://localhost:8000/growth/grades")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/growth/grades")
4print(response.json())
200 Example Response
No Body
GET /growth/skill-matrix undocumented

/growth/skill-matrix

Per-worker competency levels aggregated from structured review ratings. Attributed data, gated to growth.results.view in AUTHZ.

Responses
200Successful Response
GET /growth/skill-matrix
1curl "http://localhost:8000/growth/skill-matrix"
1fetch("http://localhost:8000/growth/skill-matrix")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/growth/skill-matrix")
4print(response.json())
200 Example Response
No Body
GET /growth/concerns undocumented

/growth/concerns

GET /growth/concerns: People and HR read every concern, anyone else only their own, the anonymous ones too. With mine=true People and HR read only theirs. Newest first, by tab, how it was raised and a search.

Responses
200Successful Response
GET /growth/concerns
1curl "http://localhost:8000/growth/concerns"
1fetch("http://localhost:8000/growth/concerns")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/growth/concerns")
4print(response.json())
200 Example Response
No Body
GET /growth/concerns/summary undocumented

/growth/concerns/summary

GET /growth/concerns/summary: the Concerns header for People and HR.

Responses
200Successful Response
GET /growth/concerns/summary
1curl "http://localhost:8000/growth/concerns/summary"
1fetch("http://localhost:8000/growth/concerns/summary")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/growth/concerns/summary")
4print(response.json())
200 Example Response
No Body
GET /growth/concerns/:id undocumented

/growth/concerns/:id

GET /growth/concerns/:id: one concern and its thread, plus what sits around it for People and HR.

Parameters
id string · path
required
Responses
200Successful Response
GET /growth/concerns/example
1curl "http://localhost:8000/growth/concerns/example"
1fetch("http://localhost:8000/growth/concerns/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/growth/concerns/example")
4print(response.json())
200 Example Response
No Body
GET /growth/overview undocumented

/growth/overview

Responses
200Successful Response
GET /growth/overview
1curl "http://localhost:8000/growth/overview"
1fetch("http://localhost:8000/growth/overview")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/growth/overview")
4print(response.json())
200 Example Response
No Body
GET /growth/workers undocumented

/growth/workers

The people growth knows as workers, named by their worker record.

Responses
200Successful Response
GET /growth/workers
1curl "http://localhost:8000/growth/workers"
1fetch("http://localhost:8000/growth/workers")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/growth/workers")
4print(response.json())
200 Example Response
No Body
GET /growth/reports undocumented

/growth/reports

GET /growth/reports: the caller's direct reports, by name.

Responses
200Successful Response
GET /growth/reports
1curl "http://localhost:8000/growth/reports"
1fetch("http://localhost:8000/growth/reports")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/growth/reports")
4print(response.json())
200 Example Response
No Body
GET /growth/people/:member_id undocumented

/growth/people/:member_id

GET /growth/people/:member_id: who someone is and how the caller relates to them.

Parameters
member_id string · path
required
Responses
200Successful Response
GET /growth/people/example
1curl "http://localhost:8000/growth/people/example"
1fetch("http://localhost:8000/growth/people/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/growth/people/example")
4print(response.json())
200 Example Response
No Body
GET /growth/people/:member_id/activity undocumented

/growth/people/:member_id/activity

GET /growth/people/:member_id/activity: what happened to someone lately, as the caller may see it. For your own page it starts at your last grading, so it reads as what changed since then.

Parameters
member_id string · path
required
Responses
200Successful Response
GET /growth/people/example/activity
1curl "http://localhost:8000/growth/people/example/activity"
1fetch("http://localhost:8000/growth/people/example/activity")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/growth/people/example/activity")
4print(response.json())
200 Example Response
No Body
GET /growth/people undocumented

/growth/people

GET /growth/people: everyone, or your team, with their grid, goals, last check-in and plan. With members=mrn,mrn it summarises exactly those people. Otherwise it searches by name, job title or team, filters by team, and carries facts for the whole tab.

Responses
200Successful Response
GET /growth/people
1curl "http://localhost:8000/growth/people"
1fetch("http://localhost:8000/growth/people")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/growth/people")
4print(response.json())
200 Example Response
No Body
PATCH /growth/plans/:id/steps/:index

Mark a plan step done, date it or link it to the learning library

PATCH /growth/plans/:id/steps/:index: mark a step done or not, set its due date, or link it to the learning library.

Parameters
id string · path
required
index string · path
required
Body · UpdatePlanStepapplication/json
done
due_at string
resource_id string · max length: 80
propertyName anything
Responses
200Successful Response
PATCH /growth/plans/example/steps/example
1curl -X PATCH "http://localhost:8000/growth/plans/example/steps/example" \
2 -H "Content-Type: application/json" \
3 -d '{"done":{},"due_at":"string","resource_id":"string"}'
1fetch("http://localhost:8000/growth/plans/example/steps/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "done": {},
6 "due_at": "string",
7 "resource_id": "string"
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/growth/plans/example/steps/example",
5 json={"done":{},"due_at":"string","resource_id":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /growth/concerns/:id

Mark a concern acknowledged

PATCH /growth/concerns/:id: People and HR mark a concern acknowledged, and the writer sees it.

Parameters
id string · path
required
Body · UpdateConcernapplication/json
status
required
propertyName anything
Responses
200Successful Response
PATCH /growth/concerns/example
1curl -X PATCH "http://localhost:8000/growth/concerns/example" \
2 -H "Content-Type: application/json" \
3 -d '{"status":"acknowledged"}'
1fetch("http://localhost:8000/growth/concerns/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "status": "acknowledged"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/growth/concerns/example",
5 json={"status":"acknowledged"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /growth/campaigns

Create a survey

Body · CreateCampaignapplication/json
title string · min length: 1 · max length: 120
required
kind
frequency
drivers array
custom_questions array
question_ids array
review_kinds array
cadence
weights object
weight_goals integer · min: 0 · max: 100
weight_competencies integer · min: 0 · max: 100
weight_questions integer · min: 0 · max: 100
goal_questions array
lead_days integer · min: 1 · max: 60
framework_id string · max length: 80
enps
comment
starts_at string
ends_at string
propertyName anything
Responses
200Successful Response
POST /growth/campaigns
1curl -X POST "http://localhost:8000/growth/campaigns" \
2 -H "Content-Type: application/json" \
3 -d '{"title":"string","kind":"pulse","frequency":"weekly","drivers":["recognition"],"custom_questions":[{"label":"string","html":"string"}],"question_ids":["string"],"review_kinds":["self"],"cadence":"one_off","weights":{"goals":1,"competencies":1,"questions":1},"weight_goals":1,"weight_competencies":1,"weight_questions":1,"goal_questions":[{"id":"string","text":"string","kind":"text"}],"lead_days":1,"framework_id":"string","enps":{},"comment":{},"starts_at":"string","ends_at":"string"}'
1fetch("http://localhost:8000/growth/campaigns", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "title": "string",
6 "kind": "pulse",
7 "frequency": "weekly",
8 "drivers": [
9 "recognition"
10 ],
11 "custom_questions": [
12 {
13 "label": "string",
14 "html": "string"
15 }
16 ],
17 "question_ids": [
18 "string"
19 ],
20 "review_kinds": [
21 "self"
22 ],
23 "cadence": "one_off",
24 "weights": {
25 "goals": 1,
26 "competencies": 1,
27 "questions": 1
28 },
29 "weight_goals": 1,
30 "weight_competencies": 1,
31 "weight_questions": 1,
32 "goal_questions": [
33 {
34 "id": "string",
35 "text": "string",
36 "kind": "text"
37 }
38 ],
39 "lead_days": 1,
40 "framework_id": "string",
41 "enps": {},
42 "comment": {},
43 "starts_at": "string",
44 "ends_at": "string"
45}),
46})
47 .then((res) => res.json())
48 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/growth/campaigns",
5 json={"title":"string","kind":"pulse","frequency":"weekly","drivers":["recognition"],"custom_questions":[{"label":"string","html":"string"}],"question_ids":["string"],"review_kinds":["self"],"cadence":"one_off","weights":{"goals":1,"competencies":1,"questions":1},"weight_goals":1,"weight_competencies":1,"weight_questions":1,"goal_questions":[{"id":"string","text":"string","kind":"text"}],"lead_days":1,"framework_id":"string","enps":{},"comment":{},"starts_at":"string","ends_at":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /growth/campaigns/:id/rounds

Open the next round of a review

POST /growth/campaigns/:id/rounds: People and HR open a review's next round now.

Parameters
id string · path
required
Body · OpenRoundapplication/json
period string · max length: 20
propertyName anything
Responses
200Successful Response
POST /growth/campaigns/example/rounds
1curl -X POST "http://localhost:8000/growth/campaigns/example/rounds" \
2 -H "Content-Type: application/json" \
3 -d '{"period":"string"}'
1fetch("http://localhost:8000/growth/campaigns/example/rounds", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "period": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/growth/campaigns/example/rounds",
5 json={"period":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /growth/campaigns/:id/reminders

Remind everyone with a review still open in a round

POST /growth/campaigns/:id/reminders: remind everyone with a review still open in a round.

Parameters
id string · path
required
Body · OpenRoundapplication/json
period string · max length: 20
propertyName anything
Responses
200Successful Response
POST /growth/campaigns/example/reminders
1curl -X POST "http://localhost:8000/growth/campaigns/example/reminders" \
2 -H "Content-Type: application/json" \
3 -d '{"period":"string"}'
1fetch("http://localhost:8000/growth/campaigns/example/reminders", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "period": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/growth/campaigns/example/reminders",
5 json={"period":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /growth/campaigns/:id/shares undocumented

/growth/campaigns/:id/shares

POST /growth/campaigns/:id/shares: tell everyone in the workspace the pulse's results are ready to read.

Parameters
id string · path
required
Responses
200Successful Response
POST /growth/campaigns/example/shares
1curl -X POST "http://localhost:8000/growth/campaigns/example/shares"
1fetch("http://localhost:8000/growth/campaigns/example/shares", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/growth/campaigns/example/shares")
4print(response.json())
200 Example Response
No Body
POST /growth/campaigns/:id/actions

Act on a driver for a team after a pulse

POST /growth/campaigns/:id/actions: act on a driver for a team, as a plan with an owner, steps and a check at a later pulse.

Parameters
id string · path
required
Body · CreateSurveyActionapplication/json
driver string · min length: 1 · max length: 60
required
text string · min length: 1 · max length: 2000
required
department_id string · max length: 80
owner_mrn string · max length: 200
steps array
check_again
show_team
share array
propertyName anything
Responses
200Successful Response
POST /growth/campaigns/example/actions
1curl -X POST "http://localhost:8000/growth/campaigns/example/actions" \
2 -H "Content-Type: application/json" \
3 -d '{"driver":"string","text":"string","department_id":"string","owner_mrn":"string","steps":[{"title":"string","due_at":"string"}],"check_again":"next","show_team":{},"share":["team"]}'
1fetch("http://localhost:8000/growth/campaigns/example/actions", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "driver": "string",
6 "text": "string",
7 "department_id": "string",
8 "owner_mrn": "string",
9 "steps": [
10 {
11 "title": "string",
12 "due_at": "string"
13 }
14 ],
15 "check_again": "next",
16 "show_team": {},
17 "share": [
18 "team"
19 ]
20}),
21})
22 .then((res) => res.json())
23 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/growth/campaigns/example/actions",
5 json={"driver":"string","text":"string","department_id":"string","owner_mrn":"string","steps":[{"title":"string","due_at":"string"}],"check_again":"next","show_team":{},"share":["team"]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /growth/responses

Submit an anonymous pulse response

Submit an anonymous pulse response. NO identity is stored. ``actor_mrn`` is used ONLY to look up the respondent's coarse segment tags from the projection; it is never written to the response or the emitted event.

Body · SubmitResponseapplication/json
campaign_id string · min length: 1
required
scores object
custom_scores array
enps integer · min: 0 · max: 10
comment string · max length: 2000
propertyName anything
Responses
200Successful Response
POST /growth/responses
1curl -X POST "http://localhost:8000/growth/responses" \
2 -H "Content-Type: application/json" \
3 -d '{"campaign_id":"string","scores":{"recognition":1,"workload":1,"growth":1,"autonomy":1,"belonging":1,"management":1,"purpose":1,"voice":1},"custom_scores":[1],"enps":1,"comment":"string"}'
1fetch("http://localhost:8000/growth/responses", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "campaign_id": "string",
6 "scores": {
7 "recognition": 1,
8 "workload": 1,
9 "growth": 1,
10 "autonomy": 1,
11 "belonging": 1,
12 "management": 1,
13 "purpose": 1,
14 "voice": 1
15 },
16 "custom_scores": [
17 1
18 ],
19 "enps": 1,
20 "comment": "string"
21}),
22})
23 .then((res) => res.json())
24 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/growth/responses",
5 json={"campaign_id":"string","scores":{"recognition":1,"workload":1,"growth":1,"autonomy":1,"belonging":1,"management":1,"purpose":1,"voice":1},"custom_scores":[1],"enps":1,"comment":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /growth/responses/:id/replies

Reply to an anonymous comment

Reply to an anonymous comment. The reply is attributed (manager); the respondent stays anonymous. Routed by the opaque response id.

Parameters
id string · path
required
Body · ReplyToCommentapplication/json
body string · min length: 1 · max length: 2000
required
propertyName anything
Responses
200Successful Response
POST /growth/responses/example/replies
1curl -X POST "http://localhost:8000/growth/responses/example/replies" \
2 -H "Content-Type: application/json" \
3 -d '{"body":"string"}'
1fetch("http://localhost:8000/growth/responses/example/replies", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "body": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/growth/responses/example/replies",
5 json={"body":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /growth/goals

Create a goal, KR or KPI

Body · CreateGoalapplication/json
title string · min length: 1 · max length: 200
required
kind
scope
key_results array
subject_mrn string · max length: 200
owner_mrn string · max length: 200
parent_id string · max length: 80
weight integer · min: 0 · max: 100
department_id string · max length: 80
target object
metric string · max length: 120
start_value number
target_value number
unit string · max length: 24
direction
period string · max length: 40
starts_at string
due_at string
propertyName anything
Responses
200Successful Response
POST /growth/goals
1curl -X POST "http://localhost:8000/growth/goals" \
2 -H "Content-Type: application/json" \
3 -d '{"title":"string","kind":"objective","scope":"individual","key_results":[{"title":"string","metric":"string","start_value":1.5,"target_value":1.5,"unit":"string","weight":1}],"subject_mrn":"string","owner_mrn":"string","parent_id":"string","weight":1,"department_id":"string","target":{"metric":"string","start_value":1.5,"target_value":1.5,"unit":"string","direction":"increase"},"metric":"string","start_value":1.5,"target_value":1.5,"unit":"string","direction":"increase","period":"string","starts_at":"string","due_at":"string"}'
1fetch("http://localhost:8000/growth/goals", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "title": "string",
6 "kind": "objective",
7 "scope": "individual",
8 "key_results": [
9 {
10 "title": "string",
11 "metric": "string",
12 "start_value": 1.5,
13 "target_value": 1.5,
14 "unit": "string",
15 "weight": 1
16 }
17 ],
18 "subject_mrn": "string",
19 "owner_mrn": "string",
20 "parent_id": "string",
21 "weight": 1,
22 "department_id": "string",
23 "target": {
24 "metric": "string",
25 "start_value": 1.5,
26 "target_value": 1.5,
27 "unit": "string",
28 "direction": "increase"
29 },
30 "metric": "string",
31 "start_value": 1.5,
32 "target_value": 1.5,
33 "unit": "string",
34 "direction": "increase",
35 "period": "string",
36 "starts_at": "string",
37 "due_at": "string"
38}),
39})
40 .then((res) => res.json())
41 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/growth/goals",
5 json={"title":"string","kind":"objective","scope":"individual","key_results":[{"title":"string","metric":"string","start_value":1.5,"target_value":1.5,"unit":"string","weight":1}],"subject_mrn":"string","owner_mrn":"string","parent_id":"string","weight":1,"department_id":"string","target":{"metric":"string","start_value":1.5,"target_value":1.5,"unit":"string","direction":"increase"},"metric":"string","start_value":1.5,"target_value":1.5,"unit":"string","direction":"increase","period":"string","starts_at":"string","due_at":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /growth/goals/:id/progress

Log goal progress

Parameters
id string · path
required
Body · LogGoalProgressapplication/json
value number
required
note string · max length: 500
propertyName anything
Responses
200Successful Response
POST /growth/goals/example/progress
1curl -X POST "http://localhost:8000/growth/goals/example/progress" \
2 -H "Content-Type: application/json" \
3 -d '{"value":1.5,"note":"string"}'
1fetch("http://localhost:8000/growth/goals/example/progress", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "value": 1.5,
6 "note": "string"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/growth/goals/example/progress",
5 json={"value":1.5,"note":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /growth/goals/:id/comments

Comment on a goal

Comment on a goal. Anyone who can see the goal can comment on it: this is where blockers get raised, so it is deliberately not gated on can_edit_goal.

Parameters
id string · path
required
Body · CreateGoalCommentapplication/json
text string · min length: 1 · max length: 4000
required
propertyName anything
Responses
200Successful Response
POST /growth/goals/example/comments
1curl -X POST "http://localhost:8000/growth/goals/example/comments" \
2 -H "Content-Type: application/json" \
3 -d '{"text":"string"}'
1fetch("http://localhost:8000/growth/goals/example/comments", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "text": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/growth/goals/example/comments",
5 json={"text":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /growth/plans

Create a development plan or PIP

Body · CreatePlanapplication/json
title string · min length: 1 · max length: 200
required
kind
subject_type
subject_mrn string · max length: 200
owner_mrn string · max length: 200
reason string · max length: 4000
detail object
milestones array
competency_id string · max length: 80
score_to integer · min: 0 · max: 5
starts_at string
ends_at string
propertyName anything
Responses
200Successful Response
POST /growth/plans
1curl -X POST "http://localhost:8000/growth/plans" \
2 -H "Content-Type: application/json" \
3 -d '{"title":"string","kind":"development","subject_type":"worker","subject_mrn":"string","owner_mrn":"string","reason":"string","detail":{"milestones":[{"title":"string","done":{},"due_at":"string","done_at":"string","resource_id":"string"}],"notes":"string","goal_ids":["string"],"driver":"string","campaign_id":"string","outcome":"string","competency_id":"string","framework_id":"string","score_from":1,"score_to":1,"source":"grade","source_label":"string"},"milestones":["string"],"competency_id":"string","score_to":1,"starts_at":"string","ends_at":"string"}'
1fetch("http://localhost:8000/growth/plans", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "title": "string",
6 "kind": "development",
7 "subject_type": "worker",
8 "subject_mrn": "string",
9 "owner_mrn": "string",
10 "reason": "string",
11 "detail": {
12 "milestones": [
13 {
14 "title": "string",
15 "done": {},
16 "due_at": "string",
17 "done_at": "string",
18 "resource_id": "string"
19 }
20 ],
21 "notes": "string",
22 "goal_ids": [
23 "string"
24 ],
25 "driver": "string",
26 "campaign_id": "string",
27 "outcome": "string",
28 "competency_id": "string",
29 "framework_id": "string",
30 "score_from": 1,
31 "score_to": 1,
32 "source": "grade",
33 "source_label": "string"
34 },
35 "milestones": [
36 "string"
37 ],
38 "competency_id": "string",
39 "score_to": 1,
40 "starts_at": "string",
41 "ends_at": "string"
42}),
43})
44 .then((res) => res.json())
45 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/growth/plans",
5 json={"title":"string","kind":"development","subject_type":"worker","subject_mrn":"string","owner_mrn":"string","reason":"string","detail":{"milestones":[{"title":"string","done":{},"due_at":"string","done_at":"string","resource_id":"string"}],"notes":"string","goal_ids":["string"],"driver":"string","campaign_id":"string","outcome":"string","competency_id":"string","framework_id":"string","score_from":1,"score_to":1,"source":"grade","source_label":"string"},"milestones":["string"],"competency_id":"string","score_to":1,"starts_at":"string","ends_at":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /growth/plans/:id/steps

Add a step to a plan

POST /growth/plans/:id/steps: add a step, with a due date and something from the learning library if it has one.

Parameters
id string · path
required
Body · CreatePlanStepapplication/json
title string · min length: 1 · max length: 200
required
due_at string
resource_id string · max length: 80
propertyName anything
Responses
200Successful Response
POST /growth/plans/example/steps
1curl -X POST "http://localhost:8000/growth/plans/example/steps" \
2 -H "Content-Type: application/json" \
3 -d '{"title":"string","due_at":"string","resource_id":"string"}'
1fetch("http://localhost:8000/growth/plans/example/steps", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "title": "string",
6 "due_at": "string",
7 "resource_id": "string"
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/growth/plans/example/steps",
5 json={"title":"string","due_at":"string","resource_id":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /growth/moods

Answer or skip the mood check

POST /growth/moods: answer this period's mood check, or skip it when skipping is allowed.

Body · CreateMoodapplication/json
rating integer · min: 1 · max: 5
skipped
propertyName anything
Responses
200Successful Response
POST /growth/moods
1curl -X POST "http://localhost:8000/growth/moods" \
2 -H "Content-Type: application/json" \
3 -d '{"rating":1,"skipped":{}}'
1fetch("http://localhost:8000/growth/moods", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "rating": 1,
6 "skipped": {}
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/growth/moods",
5 json={"rating":1,"skipped":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /growth/signals

Give feedback, praise, a 1:1 note or review

Body · CreateSignalapplication/json
kind
required
subject_mrn string · max length: 200
campaign_id string · max length: 80
parent_id string · max length: 80
series_id string · max length: 80
visibility
body object
title string · max length: 200
text string · max length: 8000
values array
competencies array
competency string · max length: 200
competency_ratings array
agenda array
action_items array
check_in_items array
private_note string · max length: 8000
private_note_html string · max length: 60000
text_html string · max length: 60000
rating number · min: 0 · max: 5
goal_verdicts array
answers array
grades array
reason string · max length: 1000
reason_html string · max length: 8000
occurred_at string
propertyName anything
Responses
200Successful Response
POST /growth/signals
1curl -X POST "http://localhost:8000/growth/signals" \
2 -H "Content-Type: application/json" \
3 -d '{"kind":"feedback","subject_mrn":"string","campaign_id":"string","parent_id":"string","series_id":"string","visibility":"private","body":{"title":"string","text":"string","text_html":"string","competencies":["string"],"competency_ratings":[{"attribute_id":"string","level":1}],"values":["string"],"agenda":["string"],"action_items":["string"],"check_in_items":[{"text":"string","done":{},"added_at":"string"}],"private_notes":[{"author_mrn":"string","text":"string"}]},"title":"string","text":"string","values":["string"],"competencies":["string"],"competency":"string","competency_ratings":[{"attribute_id":"string","level":1}],"agenda":["string"],"action_items":["string"],"check_in_items":[{"text":"string","done":{},"added_at":"string"}],"private_note":"string","private_note_html":"string","text_html":"string","rating":1.5,"goal_verdicts":[{"goal_id":"string","verdict":"missed"}],"answers":[{"question_id":"string","text":"string","html":"string","score":1,"goal_id":"string"}],"grades":[{"framework_id":"string","attribute_id":"string","score":1}],"reason":"string","reason_html":"string","occurred_at":"string"}'
1fetch("http://localhost:8000/growth/signals", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "kind": "feedback",
6 "subject_mrn": "string",
7 "campaign_id": "string",
8 "parent_id": "string",
9 "series_id": "string",
10 "visibility": "private",
11 "body": {
12 "title": "string",
13 "text": "string",
14 "text_html": "string",
15 "competencies": [
16 "string"
17 ],
18 "competency_ratings": [
19 {
20 "attribute_id": "string",
21 "level": 1
22 }
23 ],
24 "values": [
25 "string"
26 ],
27 "agenda": [
28 "string"
29 ],
30 "action_items": [
31 "string"
32 ],
33 "check_in_items": [
34 {
35 "text": "string",
36 "done": {},
37 "added_at": "string"
38 }
39 ],
40 "private_notes": [
41 {
42 "author_mrn": "string",
43 "text": "string"
44 }
45 ]
46 },
47 "title": "string",
48 "text": "string",
49 "values": [
50 "string"
51 ],
52 "competencies": [
53 "string"
54 ],
55 "competency": "string",
56 "competency_ratings": [
57 {
58 "attribute_id": "string",
59 "level": 1
60 }
61 ],
62 "agenda": [
63 "string"
64 ],
65 "action_items": [
66 "string"
67 ],
68 "check_in_items": [
69 {
70 "text": "string",
71 "done": {},
72 "added_at": "string"
73 }
74 ],
75 "private_note": "string",
76 "private_note_html": "string",
77 "text_html": "string",
78 "rating": 1.5,
79 "goal_verdicts": [
80 {
81 "goal_id": "string",
82 "verdict": "missed"
83 }
84 ],
85 "answers": [
86 {
87 "question_id": "string",
88 "text": "string",
89 "html": "string",
90 "score": 1,
91 "goal_id": "string"
92 }
93 ],
94 "grades": [
95 {
96 "framework_id": "string",
97 "attribute_id": "string",
98 "score": 1
99 }
100 ],
101 "reason": "string",
102 "reason_html": "string",
103 "occurred_at": "string"
104}),
105})
106 .then((res) => res.json())
107 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/growth/signals",
5 json={"kind":"feedback","subject_mrn":"string","campaign_id":"string","parent_id":"string","series_id":"string","visibility":"private","body":{"title":"string","text":"string","text_html":"string","competencies":["string"],"competency_ratings":[{"attribute_id":"string","level":1}],"values":["string"],"agenda":["string"],"action_items":["string"],"check_in_items":[{"text":"string","done":{},"added_at":"string"}],"private_notes":[{"author_mrn":"string","text":"string"}]},"title":"string","text":"string","values":["string"],"competencies":["string"],"competency":"string","competency_ratings":[{"attribute_id":"string","level":1}],"agenda":["string"],"action_items":["string"],"check_in_items":[{"text":"string","done":{},"added_at":"string"}],"private_note":"string","private_note_html":"string","text_html":"string","rating":1.5,"goal_verdicts":[{"goal_id":"string","verdict":"missed"}],"answers":[{"question_id":"string","text":"string","html":"string","score":1,"goal_id":"string"}],"grades":[{"framework_id":"string","attribute_id":"string","score":1}],"reason":"string","reason_html":"string","occurred_at":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /growth/signals/:id/action-items/:index/task

Turn a 1:1 action item into a task

POST /growth/signals/:id/action-items/:index/task — make this action item a real task. Growth never calls the Tasks API (rule 6): it emits, Tasks creates, and the resulting core.tasks.task.created comes back round the bus into growth_task_projection. So this answers 202, not 201 — the task does not exist yet when we reply.

Parameters
id string · path
required
index string · path
required
Body · PromoteActionItemapplication/json
board_id string · min length: 1
required
propertyName anything
Responses
200Successful Response
POST /growth/signals/example/action-items/example/task
1curl -X POST "http://localhost:8000/growth/signals/example/action-items/example/task" \
2 -H "Content-Type: application/json" \
3 -d '{"board_id":"string"}'
1fetch("http://localhost:8000/growth/signals/example/action-items/example/task", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "board_id": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/growth/signals/example/action-items/example/task",
5 json={"board_id":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /growth/attributes

Create a competency, value or bank question

Body · CreateAttributeapplication/json
kind
required
name string · min length: 1 · max length: 120
required
description string · max length: 2000
category string · max length: 80
levels array
driver
scale integer · min: 2 · max: 10
sort integer · min: 0 · max: 999
competency_ids array
member_mrns array
department_ids array
placements array
peers_see
resource_type
url string · max length: 2000
minutes integer · min: 0 · max: 100000
level_from integer · min: 0 · max: 5
level_to integer · min: 0 · max: 5
propertyName anything
Responses
200Successful Response
POST /growth/attributes
1curl -X POST "http://localhost:8000/growth/attributes" \
2 -H "Content-Type: application/json" \
3 -d '{"kind":"competency","name":"string","description":"string","category":"string","levels":[{"level":1,"name":"string","description":"string"}],"driver":"recognition","scale":1,"sort":1,"competency_ids":["string"],"member_mrns":["string"],"department_ids":["string"],"placements":[{"member_mrn":"string","role_profile_id":"string"}],"peers_see":{},"resource_type":"wiki","url":"string","minutes":1,"level_from":1,"level_to":1}'
1fetch("http://localhost:8000/growth/attributes", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "kind": "competency",
6 "name": "string",
7 "description": "string",
8 "category": "string",
9 "levels": [
10 {
11 "level": 1,
12 "name": "string",
13 "description": "string"
14 }
15 ],
16 "driver": "recognition",
17 "scale": 1,
18 "sort": 1,
19 "competency_ids": [
20 "string"
21 ],
22 "member_mrns": [
23 "string"
24 ],
25 "department_ids": [
26 "string"
27 ],
28 "placements": [
29 {
30 "member_mrn": "string",
31 "role_profile_id": "string"
32 }
33 ],
34 "peers_see": {},
35 "resource_type": "wiki",
36 "url": "string",
37 "minutes": 1,
38 "level_from": 1,
39 "level_to": 1
40}),
41})
42 .then((res) => res.json())
43 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/growth/attributes",
5 json={"kind":"competency","name":"string","description":"string","category":"string","levels":[{"level":1,"name":"string","description":"string"}],"driver":"recognition","scale":1,"sort":1,"competency_ids":["string"],"member_mrns":["string"],"department_ids":["string"],"placements":[{"member_mrn":"string","role_profile_id":"string"}],"peers_see":{},"resource_type":"wiki","url":"string","minutes":1,"level_from":1,"level_to":1},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /growth/role-profiles

Create a role profile

Body · CreateRoleProfileapplication/json
title string · min length: 1 · max length: 120
required
framework_id string · max length: 80
track string · max length: 80
level string · max length: 40
description string · max length: 2000
expectations array
job_titles array
propertyName anything
Responses
200Successful Response
POST /growth/role-profiles
1curl -X POST "http://localhost:8000/growth/role-profiles" \
2 -H "Content-Type: application/json" \
3 -d '{"title":"string","framework_id":"string","track":"string","level":"string","description":"string","expectations":[{"attribute_id":"string","level":1,"text":"string"}],"job_titles":["string"]}'
1fetch("http://localhost:8000/growth/role-profiles", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "title": "string",
6 "framework_id": "string",
7 "track": "string",
8 "level": "string",
9 "description": "string",
10 "expectations": [
11 {
12 "attribute_id": "string",
13 "level": 1,
14 "text": "string"
15 }
16 ],
17 "job_titles": [
18 "string"
19 ]
20}),
21})
22 .then((res) => res.json())
23 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/growth/role-profiles",
5 json={"title":"string","framework_id":"string","track":"string","level":"string","description":"string","expectations":[{"attribute_id":"string","level":1,"text":"string"}],"job_titles":["string"]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /growth/review-tasks/:id/drafts undocumented

/growth/review-tasks/:id/drafts

POST /growth/review-tasks/:id/drafts: a first draft of the summary, written from the evidence the reviewer can see.

Parameters
id string · path
required
Responses
200Successful Response
POST /growth/review-tasks/example/drafts
1curl -X POST "http://localhost:8000/growth/review-tasks/example/drafts"
1fetch("http://localhost:8000/growth/review-tasks/example/drafts", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/growth/review-tasks/example/drafts")
4print(response.json())
200 Example Response
No Body
POST /growth/review-tasks

Nominate a peer or upward reviewer

Peer / upward nomination. Self and manager tasks come from cycle launch.

Body · CreateReviewTaskapplication/json
campaign_id string · min length: 1 · max length: 80
required
kind
reviewer_mrn string · min length: 1 · max length: 200
required
subject_mrn string · max length: 200
due_at string
propertyName anything
Responses
200Successful Response
POST /growth/review-tasks
1curl -X POST "http://localhost:8000/growth/review-tasks" \
2 -H "Content-Type: application/json" \
3 -d '{"campaign_id":"string","kind":"self","reviewer_mrn":"string","subject_mrn":"string","due_at":"string"}'
1fetch("http://localhost:8000/growth/review-tasks", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "campaign_id": "string",
6 "kind": "self",
7 "reviewer_mrn": "string",
8 "subject_mrn": "string",
9 "due_at": "string"
10}),
11})
12 .then((res) => res.json())
13 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/growth/review-tasks",
5 json={"campaign_id":"string","kind":"self","reviewer_mrn":"string","subject_mrn":"string","due_at":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /growth/meeting-series

Start a recurring 1:1

Body · CreateMeetingSeriesapplication/json
participant_mrn string · min length: 1 · max length: 200
required
title string · max length: 120
cadence
next_at string
agenda array
propertyName anything
Responses
200Successful Response
POST /growth/meeting-series
1curl -X POST "http://localhost:8000/growth/meeting-series" \
2 -H "Content-Type: application/json" \
3 -d '{"participant_mrn":"string","title":"string","cadence":"weekly","next_at":"string","agenda":["string"]}'
1fetch("http://localhost:8000/growth/meeting-series", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "participant_mrn": "string",
6 "title": "string",
7 "cadence": "weekly",
8 "next_at": "string",
9 "agenda": [
10 "string"
11 ]
12}),
13})
14 .then((res) => res.json())
15 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/growth/meeting-series",
5 json={"participant_mrn":"string","title":"string","cadence":"weekly","next_at":"string","agenda":["string"]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /growth/frameworks/:id/rounds

Start a grading round on a grid

POST /growth/frameworks/:id/rounds: start a grading round and tell each person's manager to grade by the date.

Parameters
id string · path
required
Body · StartGradingRoundapplication/json
due_at string · min length: 1 · max length: 40
required
note string · max length: 500
propertyName anything
Responses
200Successful Response
POST /growth/frameworks/example/rounds
1curl -X POST "http://localhost:8000/growth/frameworks/example/rounds" \
2 -H "Content-Type: application/json" \
3 -d '{"due_at":"string","note":"string"}'
1fetch("http://localhost:8000/growth/frameworks/example/rounds", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "due_at": "string",
6 "note": "string"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/growth/frameworks/example/rounds",
5 json={"due_at":"string","note":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /growth/frameworks/:id/level-copies

Copy another grid's levels

POST /growth/frameworks/:id/level-copies: copy another grid's levels and what they expect, for the competencies both grids share.

Parameters
id string · path
required
Body · CopyLevelsapplication/json
source_id string · min length: 1 · max length: 80
required
propertyName anything
Responses
200Successful Response
POST /growth/frameworks/example/level-copies
1curl -X POST "http://localhost:8000/growth/frameworks/example/level-copies" \
2 -H "Content-Type: application/json" \
3 -d '{"source_id":"string"}'
1fetch("http://localhost:8000/growth/frameworks/example/level-copies", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "source_id": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/growth/frameworks/example/level-copies",
5 json={"source_id":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /growth/grades

Grade one person on one competency of a grid

Body · CreateGradeapplication/json
framework_id string · min length: 1 · max length: 80
required
member_mrn string · min length: 1 · max length: 200
required
attribute_id string · min length: 1 · max length: 80
required
score integer · min: 0 · max: 5
text string · max length: 2000
propertyName anything
Responses
200Successful Response
POST /growth/grades
1curl -X POST "http://localhost:8000/growth/grades" \
2 -H "Content-Type: application/json" \
3 -d '{"framework_id":"string","member_mrn":"string","attribute_id":"string","score":1,"text":"string"}'
1fetch("http://localhost:8000/growth/grades", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "framework_id": "string",
6 "member_mrn": "string",
7 "attribute_id": "string",
8 "score": 1,
9 "text": "string"
10}),
11})
12 .then((res) => res.json())
13 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/growth/grades",
5 json={"framework_id":"string","member_mrn":"string","attribute_id":"string","score":1,"text":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /growth/concerns

Raise a concern, anonymously or named

POST /growth/concerns: raise a concern, anonymously or with your name. Anonymous keeps the writer sealed with Saaslivery's key, never readable by the workspace, and needs 5 people.

Body · CreateConcernapplication/json
body string · min length: 1 · max length: 4000
required
anonymous
propertyName anything
Responses
200Successful Response
POST /growth/concerns
1curl -X POST "http://localhost:8000/growth/concerns" \
2 -H "Content-Type: application/json" \
3 -d '{"body":"string","anonymous":{}}'
1fetch("http://localhost:8000/growth/concerns", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "body": "string",
6 "anonymous": {}
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/growth/concerns",
5 json={"body":"string","anonymous":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /growth/concerns/:id/messages

Reply on a concern

POST /growth/concerns/:id/messages: People and HR reply, or the writer answers, still without their name.

Parameters
id string · path
required
Body · ConcernMessageapplication/json
body string · min length: 1 · max length: 30000
required
propertyName anything
Responses
200Successful Response
POST /growth/concerns/example/messages
1curl -X POST "http://localhost:8000/growth/concerns/example/messages" \
2 -H "Content-Type: application/json" \
3 -d '{"body":"string"}'
1fetch("http://localhost:8000/growth/concerns/example/messages", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "body": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/growth/concerns/example/messages",
5 json={"body":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /growth/campaigns/:id

Update or launch a survey

Parameters
id string · path
required
Body · UpdateCampaignapplication/json
title string · min length: 1 · max length: 120
status
frequency
drivers array
custom_questions array
question_ids array
review_kinds array
cadence
weights object
goal_questions array
lead_days integer · min: 1 · max: 60
framework_id string · max length: 80
enps
comment
starts_at string
ends_at string
propertyName anything
Responses
200Successful Response
PUT /growth/campaigns/example
1curl -X PUT "http://localhost:8000/growth/campaigns/example" \
2 -H "Content-Type: application/json" \
3 -d '{"title":"string","status":"draft","frequency":"weekly","drivers":["recognition"],"custom_questions":[{"label":"string","html":"string"}],"question_ids":["string"],"review_kinds":["self"],"cadence":"one_off","weights":{"goals":1,"competencies":1,"questions":1},"goal_questions":[{"id":"string","text":"string","kind":"text"}],"lead_days":1,"framework_id":"string","enps":{},"comment":{},"starts_at":"string","ends_at":"string"}'
1fetch("http://localhost:8000/growth/campaigns/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "title": "string",
6 "status": "draft",
7 "frequency": "weekly",
8 "drivers": [
9 "recognition"
10 ],
11 "custom_questions": [
12 {
13 "label": "string",
14 "html": "string"
15 }
16 ],
17 "question_ids": [
18 "string"
19 ],
20 "review_kinds": [
21 "self"
22 ],
23 "cadence": "one_off",
24 "weights": {
25 "goals": 1,
26 "competencies": 1,
27 "questions": 1
28 },
29 "goal_questions": [
30 {
31 "id": "string",
32 "text": "string",
33 "kind": "text"
34 }
35 ],
36 "lead_days": 1,
37 "framework_id": "string",
38 "enps": {},
39 "comment": {},
40 "starts_at": "string",
41 "ends_at": "string"
42}),
43})
44 .then((res) => res.json())
45 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/growth/campaigns/example",
5 json={"title":"string","status":"draft","frequency":"weekly","drivers":["recognition"],"custom_questions":[{"label":"string","html":"string"}],"question_ids":["string"],"review_kinds":["self"],"cadence":"one_off","weights":{"goals":1,"competencies":1,"questions":1},"goal_questions":[{"id":"string","text":"string","kind":"text"}],"lead_days":1,"framework_id":"string","enps":{},"comment":{},"starts_at":"string","ends_at":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /growth/goals/:id

Update a goal

Parameters
id string · path
required
Body · UpdateGoalapplication/json
title string · min length: 1 · max length: 200
status
owner_mrn string · max length: 200
parent_id string · max length: 80
weight integer · min: 0 · max: 100
department_id string · max length: 80
target object
period string · max length: 40
due_at string
propertyName anything
Responses
200Successful Response
PUT /growth/goals/example
1curl -X PUT "http://localhost:8000/growth/goals/example" \
2 -H "Content-Type: application/json" \
3 -d '{"title":"string","status":"draft","owner_mrn":"string","parent_id":"string","weight":1,"department_id":"string","target":{"metric":"string","start_value":1.5,"target_value":1.5,"unit":"string","direction":"increase"},"period":"string","due_at":"string"}'
1fetch("http://localhost:8000/growth/goals/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "title": "string",
6 "status": "draft",
7 "owner_mrn": "string",
8 "parent_id": "string",
9 "weight": 1,
10 "department_id": "string",
11 "target": {
12 "metric": "string",
13 "start_value": 1.5,
14 "target_value": 1.5,
15 "unit": "string",
16 "direction": "increase"
17 },
18 "period": "string",
19 "due_at": "string"
20}),
21})
22 .then((res) => res.json())
23 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/growth/goals/example",
5 json={"title":"string","status":"draft","owner_mrn":"string","parent_id":"string","weight":1,"department_id":"string","target":{"metric":"string","start_value":1.5,"target_value":1.5,"unit":"string","direction":"increase"},"period":"string","due_at":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /growth/plans/:id

Update a plan

Parameters
id string · path
required
Body · UpdatePlanapplication/json
title string · min length: 1 · max length: 200
status
owner_mrn string · max length: 200
reason string · max length: 4000
detail object
starts_at string
ends_at string
propertyName anything
Responses
200Successful Response
PUT /growth/plans/example
1curl -X PUT "http://localhost:8000/growth/plans/example" \
2 -H "Content-Type: application/json" \
3 -d '{"title":"string","status":"draft","owner_mrn":"string","reason":"string","detail":{"milestones":[{"title":"string","done":{},"due_at":"string","done_at":"string","resource_id":"string"}],"notes":"string","goal_ids":["string"],"driver":"string","campaign_id":"string","outcome":"string","competency_id":"string","framework_id":"string","score_from":1,"score_to":1,"source":"grade","source_label":"string"},"starts_at":"string","ends_at":"string"}'
1fetch("http://localhost:8000/growth/plans/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "title": "string",
6 "status": "draft",
7 "owner_mrn": "string",
8 "reason": "string",
9 "detail": {
10 "milestones": [
11 {
12 "title": "string",
13 "done": {},
14 "due_at": "string",
15 "done_at": "string",
16 "resource_id": "string"
17 }
18 ],
19 "notes": "string",
20 "goal_ids": [
21 "string"
22 ],
23 "driver": "string",
24 "campaign_id": "string",
25 "outcome": "string",
26 "competency_id": "string",
27 "framework_id": "string",
28 "score_from": 1,
29 "score_to": 1,
30 "source": "grade",
31 "source_label": "string"
32 },
33 "starts_at": "string",
34 "ends_at": "string"
35}),
36})
37 .then((res) => res.json())
38 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/growth/plans/example",
5 json={"title":"string","status":"draft","owner_mrn":"string","reason":"string","detail":{"milestones":[{"title":"string","done":{},"due_at":"string","done_at":"string","resource_id":"string"}],"notes":"string","goal_ids":["string"],"driver":"string","campaign_id":"string","outcome":"string","competency_id":"string","framework_id":"string","score_from":1,"score_to":1,"source":"grade","source_label":"string"},"starts_at":"string","ends_at":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /growth/signals/:id

Update a signal

Parameters
id string · path
required
Body · UpdateSignalapplication/json
visibility
body object
rating number · min: 0 · max: 5
status
series_id string · max length: 80
private_note string · max length: 8000
private_note_html string · max length: 60000
propertyName anything
Responses
200Successful Response
PUT /growth/signals/example
1curl -X PUT "http://localhost:8000/growth/signals/example" \
2 -H "Content-Type: application/json" \
3 -d '{"visibility":"private","body":{"title":"string","text":"string","text_html":"string","competencies":["string"],"competency_ratings":[{"attribute_id":"string","level":1}],"values":["string"],"agenda":["string"],"action_items":["string"],"check_in_items":[{"text":"string","done":{},"added_at":"string"}],"private_notes":[{"author_mrn":"string","text":"string"}]},"rating":1.5,"status":"draft","series_id":"string","private_note":"string","private_note_html":"string"}'
1fetch("http://localhost:8000/growth/signals/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "visibility": "private",
6 "body": {
7 "title": "string",
8 "text": "string",
9 "text_html": "string",
10 "competencies": [
11 "string"
12 ],
13 "competency_ratings": [
14 {
15 "attribute_id": "string",
16 "level": 1
17 }
18 ],
19 "values": [
20 "string"
21 ],
22 "agenda": [
23 "string"
24 ],
25 "action_items": [
26 "string"
27 ],
28 "check_in_items": [
29 {
30 "text": "string",
31 "done": {},
32 "added_at": "string"
33 }
34 ],
35 "private_notes": [
36 {
37 "author_mrn": "string",
38 "text": "string"
39 }
40 ]
41 },
42 "rating": 1.5,
43 "status": "draft",
44 "series_id": "string",
45 "private_note": "string",
46 "private_note_html": "string"
47}),
48})
49 .then((res) => res.json())
50 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/growth/signals/example",
5 json={"visibility":"private","body":{"title":"string","text":"string","text_html":"string","competencies":["string"],"competency_ratings":[{"attribute_id":"string","level":1}],"values":["string"],"agenda":["string"],"action_items":["string"],"check_in_items":[{"text":"string","done":{},"added_at":"string"}],"private_notes":[{"author_mrn":"string","text":"string"}]},"rating":1.5,"status":"draft","series_id":"string","private_note":"string","private_note_html":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /growth/attributes/:id

Update a competency, value or question

Parameters
id string · path
required
Body · UpdateAttributeapplication/json
name string · min length: 1 · max length: 120
description string · max length: 2000
category string · max length: 80
levels array
driver
scale integer · min: 2 · max: 10
sort integer · min: 0 · max: 999
status
competency_ids array
member_mrns array
department_ids array
placements array
peers_see
resource_type
url string · max length: 2000
minutes integer · min: 0 · max: 100000
level_from integer · min: 0 · max: 5
level_to integer · min: 0 · max: 5
propertyName anything
Responses
200Successful Response
PUT /growth/attributes/example
1curl -X PUT "http://localhost:8000/growth/attributes/example" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","description":"string","category":"string","levels":[{"level":1,"name":"string","description":"string"}],"driver":"recognition","scale":1,"sort":1,"status":"active","competency_ids":["string"],"member_mrns":["string"],"department_ids":["string"],"placements":[{"member_mrn":"string","role_profile_id":"string"}],"peers_see":{},"resource_type":"wiki","url":"string","minutes":1,"level_from":1,"level_to":1}'
1fetch("http://localhost:8000/growth/attributes/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "description": "string",
7 "category": "string",
8 "levels": [
9 {
10 "level": 1,
11 "name": "string",
12 "description": "string"
13 }
14 ],
15 "driver": "recognition",
16 "scale": 1,
17 "sort": 1,
18 "status": "active",
19 "competency_ids": [
20 "string"
21 ],
22 "member_mrns": [
23 "string"
24 ],
25 "department_ids": [
26 "string"
27 ],
28 "placements": [
29 {
30 "member_mrn": "string",
31 "role_profile_id": "string"
32 }
33 ],
34 "peers_see": {},
35 "resource_type": "wiki",
36 "url": "string",
37 "minutes": 1,
38 "level_from": 1,
39 "level_to": 1
40}),
41})
42 .then((res) => res.json())
43 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/growth/attributes/example",
5 json={"name":"string","description":"string","category":"string","levels":[{"level":1,"name":"string","description":"string"}],"driver":"recognition","scale":1,"sort":1,"status":"active","competency_ids":["string"],"member_mrns":["string"],"department_ids":["string"],"placements":[{"member_mrn":"string","role_profile_id":"string"}],"peers_see":{},"resource_type":"wiki","url":"string","minutes":1,"level_from":1,"level_to":1},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /growth/role-profiles/:id

Update a role profile

Parameters
id string · path
required
Body · UpdateRoleProfileapplication/json
title string · min length: 1 · max length: 120
framework_id string · max length: 80
track string · max length: 80
level string · max length: 40
description string · max length: 2000
expectations array
job_titles array
matrix object
status
propertyName anything
Responses
200Successful Response
PUT /growth/role-profiles/example
1curl -X PUT "http://localhost:8000/growth/role-profiles/example" \
2 -H "Content-Type: application/json" \
3 -d '{"title":"string","framework_id":"string","track":"string","level":"string","description":"string","expectations":[{"attribute_id":"string","level":1,"text":"string"}],"job_titles":["string"],"matrix":{"levels":[{"key":"string","label":"string"}],"cells":[{"attribute_id":"string","level_key":"string","text":"string","format":{"bold":{},"italic":{},"underline":{},"color":"string","background":"string","align":"left"}}],"columns":[{"level_key":"string","width":1}]},"status":"active"}'
1fetch("http://localhost:8000/growth/role-profiles/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "title": "string",
6 "framework_id": "string",
7 "track": "string",
8 "level": "string",
9 "description": "string",
10 "expectations": [
11 {
12 "attribute_id": "string",
13 "level": 1,
14 "text": "string"
15 }
16 ],
17 "job_titles": [
18 "string"
19 ],
20 "matrix": {
21 "levels": [
22 {
23 "key": "string",
24 "label": "string"
25 }
26 ],
27 "cells": [
28 {
29 "attribute_id": "string",
30 "level_key": "string",
31 "text": "string",
32 "format": {
33 "bold": {},
34 "italic": {},
35 "underline": {},
36 "color": "string",
37 "background": "string",
38 "align": "left"
39 }
40 }
41 ],
42 "columns": [
43 {
44 "level_key": "string",
45 "width": 1
46 }
47 ]
48 },
49 "status": "active"
50}),
51})
52 .then((res) => res.json())
53 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/growth/role-profiles/example",
5 json={"title":"string","framework_id":"string","track":"string","level":"string","description":"string","expectations":[{"attribute_id":"string","level":1,"text":"string"}],"job_titles":["string"],"matrix":{"levels":[{"key":"string","label":"string"}],"cells":[{"attribute_id":"string","level_key":"string","text":"string","format":{"bold":{},"italic":{},"underline":{},"color":"string","background":"string","align":"left"}}],"columns":[{"level_key":"string","width":1}]},"status":"active"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /growth/review-tasks/:id

Update a review task

Parameters
id string · path
required
Body · UpdateReviewTaskapplication/json
status
due_at string
extension_until string
extension_note string · max length: 500
extension
propertyName anything
Responses
200Successful Response
PUT /growth/review-tasks/example
1curl -X PUT "http://localhost:8000/growth/review-tasks/example" \
2 -H "Content-Type: application/json" \
3 -d '{"status":"pending","due_at":"string","extension_until":"string","extension_note":"string","extension":"approved"}'
1fetch("http://localhost:8000/growth/review-tasks/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "status": "pending",
6 "due_at": "string",
7 "extension_until": "string",
8 "extension_note": "string",
9 "extension": "approved"
10}),
11})
12 .then((res) => res.json())
13 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/growth/review-tasks/example",
5 json={"status":"pending","due_at":"string","extension_until":"string","extension_note":"string","extension":"approved"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /growth/meeting-series/:id

Update a 1:1 series

Parameters
id string · path
required
Body · UpdateMeetingSeriesapplication/json
title string · max length: 120
cadence
next_at string
agenda array
status
propertyName anything
Responses
200Successful Response
PUT /growth/meeting-series/example
1curl -X PUT "http://localhost:8000/growth/meeting-series/example" \
2 -H "Content-Type: application/json" \
3 -d '{"title":"string","cadence":"weekly","next_at":"string","agenda":[{"text":"string","kind":"topic","done":{},"added_at":"string"}],"status":"active"}'
1fetch("http://localhost:8000/growth/meeting-series/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "title": "string",
6 "cadence": "weekly",
7 "next_at": "string",
8 "agenda": [
9 {
10 "text": "string",
11 "kind": "topic",
12 "done": {},
13 "added_at": "string"
14 }
15 ],
16 "status": "active"
17}),
18})
19 .then((res) => res.json())
20 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/growth/meeting-series/example",
5 json={"title":"string","cadence":"weekly","next_at":"string","agenda":[{"text":"string","kind":"topic","done":{},"added_at":"string"}],"status":"active"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
GET /health undocumented

/health

Responses
200Successful Response
GET /health
1curl "http://localhost:8000/health"
1fetch("http://localhost:8000/health")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/health")
4print(response.json())
200 Example Response
No Body
GET /help/guides undocumented

/help/guides

Responses
200Successful Response
GET /help/guides
1curl "http://localhost:8000/help/guides"
1fetch("http://localhost:8000/help/guides")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/help/guides")
4print(response.json())
200 Example Response
No Body
DELETE /holidays/:id undocumented

/holidays/:id

Parameters
id string · path
required
Responses
200Successful Response
DELETE /holidays/example
1curl -X DELETE "http://localhost:8000/holidays/example"
1fetch("http://localhost:8000/holidays/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/holidays/example")
4print(response.json())
200 Example Response
No Body
GET /holidays undocumented

/holidays

Responses
200Successful Response
GET /holidays
1curl "http://localhost:8000/holidays"
1fetch("http://localhost:8000/holidays")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/holidays")
4print(response.json())
200 Example Response
No Body
POST /holidays

Create a holiday

Body · CreateHolidayapplication/json
name string · min length: 1 · max length: 100
required
date string · min length: 1
required
is_recurring
propertyName anything
Responses
200Successful Response
POST /holidays
1curl -X POST "http://localhost:8000/holidays" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","date":"string","is_recurring":{}}'
1fetch("http://localhost:8000/holidays", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "date": "string",
7 "is_recurring": {}
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/holidays",
5 json={"name":"string","date":"string","is_recurring":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /holidays/:id

Update a holiday

Parameters
id string · path
required
Body · UpdateHolidayapplication/json
name string · min length: 1 · max length: 100
date string · min length: 1
is_recurring
propertyName anything
Responses
200Successful Response
PUT /holidays/example
1curl -X PUT "http://localhost:8000/holidays/example" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","date":"string","is_recurring":{}}'
1fetch("http://localhost:8000/holidays/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "date": "string",
7 "is_recurring": {}
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/holidays/example",
5 json={"name":"string","date":"string","is_recurring":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
DELETE /hub/posts/:id undocumented

/hub/posts/:id

DELETE /hub/posts/:id: the author, or an owner or admin.

Parameters
id string · path
required
Responses
200Successful Response
DELETE /hub/posts/example
1curl -X DELETE "http://localhost:8000/hub/posts/example"
1fetch("http://localhost:8000/hub/posts/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/hub/posts/example")
4print(response.json())
200 Example Response
No Body
DELETE /hub/posts/:id/reactions undocumented

/hub/posts/:id/reactions

DELETE /hub/posts/:id/reactions: take yours back.

Parameters
id string · path
required
Responses
200Successful Response
DELETE /hub/posts/example/reactions
1curl -X DELETE "http://localhost:8000/hub/posts/example/reactions"
1fetch("http://localhost:8000/hub/posts/example/reactions", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/hub/posts/example/reactions")
4print(response.json())
200 Example Response
No Body
DELETE /hub/posts/:id/reposts undocumented

/hub/posts/:id/reposts

DELETE /hub/posts/:id/reposts: undo your plain repost of this post.

Parameters
id string · path
required
Responses
200Successful Response
DELETE /hub/posts/example/reposts
1curl -X DELETE "http://localhost:8000/hub/posts/example/reposts"
1fetch("http://localhost:8000/hub/posts/example/reposts", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/hub/posts/example/reposts")
4print(response.json())
200 Example Response
No Body
DELETE /hub/posts/:id/votes undocumented

/hub/posts/:id/votes

DELETE /hub/posts/:id/votes: take your vote back.

Parameters
id string · path
required
Responses
200Successful Response
DELETE /hub/posts/example/votes
1curl -X DELETE "http://localhost:8000/hub/posts/example/votes"
1fetch("http://localhost:8000/hub/posts/example/votes", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/hub/posts/example/votes")
4print(response.json())
200 Example Response
No Body
DELETE /hub/posts/:id/bookmarks undocumented

/hub/posts/:id/bookmarks

DELETE /hub/posts/:id/bookmarks

Parameters
id string · path
required
Responses
200Successful Response
DELETE /hub/posts/example/bookmarks
1curl -X DELETE "http://localhost:8000/hub/posts/example/bookmarks"
1fetch("http://localhost:8000/hub/posts/example/bookmarks", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/hub/posts/example/bookmarks")
4print(response.json())
200 Example Response
No Body
DELETE /hub/circles/:id/members undocumented

/hub/circles/:id/members

DELETE /hub/circles/:id/members: leave.

Parameters
id string · path
required
Responses
200Successful Response
DELETE /hub/circles/example/members
1curl -X DELETE "http://localhost:8000/hub/circles/example/members"
1fetch("http://localhost:8000/hub/circles/example/members", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/hub/circles/example/members")
4print(response.json())
200 Example Response
No Body
DELETE /hub/follows/:target_mrn undocumented

/hub/follows/:target_mrn

DELETE /hub/follows/:target_mrn (the MRN may arrive URL-encoded).

Parameters
target_mrn string · path
required
Responses
200Successful Response
DELETE /hub/follows/example
1curl -X DELETE "http://localhost:8000/hub/follows/example"
1fetch("http://localhost:8000/hub/follows/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/hub/follows/example")
4print(response.json())
200 Example Response
No Body
GET /hub/posts undocumented

/hub/posts

GET /hub/posts?feed=everyone|following|circle&circle_id=&author= : newest first.

Responses
200Successful Response
GET /hub/posts
1curl "http://localhost:8000/hub/posts"
1fetch("http://localhost:8000/hub/posts")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/hub/posts")
4print(response.json())
200 Example Response
No Body
GET /hub/posts/:id undocumented

/hub/posts/:id

GET /hub/posts/:id

Parameters
id string · path
required
Responses
200Successful Response
GET /hub/posts/example
1curl "http://localhost:8000/hub/posts/example"
1fetch("http://localhost:8000/hub/posts/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/hub/posts/example")
4print(response.json())
200 Example Response
No Body
GET /hub/posts/:id/replies undocumented

/hub/posts/:id/replies

GET /hub/posts/:id/replies: oldest first.

Parameters
id string · path
required
Responses
200Successful Response
GET /hub/posts/example/replies
1curl "http://localhost:8000/hub/posts/example/replies"
1fetch("http://localhost:8000/hub/posts/example/replies")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/hub/posts/example/replies")
4print(response.json())
200 Example Response
No Body
GET /hub/posts/:id/rsvps undocumented

/hub/posts/:id/rsvps

GET /hub/posts/:id/rsvps: who is going and who might, going first.

Parameters
id string · path
required
Responses
200Successful Response
GET /hub/posts/example/rsvps
1curl "http://localhost:8000/hub/posts/example/rsvps"
1fetch("http://localhost:8000/hub/posts/example/rsvps")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/hub/posts/example/rsvps")
4print(response.json())
200 Example Response
No Body
GET /hub/bookmarks undocumented

/hub/bookmarks

GET /hub/bookmarks: what you saved, most recent first.

Responses
200Successful Response
GET /hub/bookmarks
1curl "http://localhost:8000/hub/bookmarks"
1fetch("http://localhost:8000/hub/bookmarks")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/hub/bookmarks")
4print(response.json())
200 Example Response
No Body
GET /hub/events undocumented

/hub/events

GET /hub/events?start=&end=: events you can see, soonest first; with no range, the ones still to come.

Responses
200Successful Response
GET /hub/events
1curl "http://localhost:8000/hub/events"
1fetch("http://localhost:8000/hub/events")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/hub/events")
4print(response.json())
200 Example Response
No Body
GET /hub/circles undocumented

/hub/circles

GET /hub/circles: every circle, the ones you joined first.

Responses
200Successful Response
GET /hub/circles
1curl "http://localhost:8000/hub/circles"
1fetch("http://localhost:8000/hub/circles")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/hub/circles")
4print(response.json())
200 Example Response
No Body
GET /hub/follows undocumented

/hub/follows

GET /hub/follows: who you follow.

Responses
200Successful Response
GET /hub/follows
1curl "http://localhost:8000/hub/follows"
1fetch("http://localhost:8000/hub/follows")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/hub/follows")
4print(response.json())
200 Example Response
No Body
PATCH /hub/circles/:id/members

Mark a circle as read

PATCH /hub/circles/:id/members {seen: true}: everything posted here so far is read.

Parameters
id string · path
required
Body · HubCircleSeenapplication/json
seen
required
propertyName anything
Responses
200Successful Response
PATCH /hub/circles/example/members
1curl -X PATCH "http://localhost:8000/hub/circles/example/members" \
2 -H "Content-Type: application/json" \
3 -d '{"seen":true}'
1fetch("http://localhost:8000/hub/circles/example/members", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "seen": true
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/hub/circles/example/members",
5 json={"seen":true},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /hub/posts

Post to the Hub

POST /hub/posts: words, media, and optionally a circle, a poll or an event.

Body · CreateHubPostapplication/json
content string · max length: 5000
media array
circle_id string · min length: 1 · max length: 64
poll object
event object
propertyName anything
Responses
200Successful Response
POST /hub/posts
1curl -X POST "http://localhost:8000/hub/posts" \
2 -H "Content-Type: application/json" \
3 -d '{"content":"string","media":[{"key":"string","filename":"string","type":"string"}],"circle_id":"string","poll":{"options":["string"],"closes_at":"2024-01-01T12:00:00Z"},"event":{"title":"string","starts_at":"2024-01-01T12:00:00Z","ends_at":"2024-01-01T12:00:00Z","location":"string"}}'
1fetch("http://localhost:8000/hub/posts", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "content": "string",
6 "media": [
7 {
8 "key": "string",
9 "filename": "string",
10 "type": "string"
11 }
12 ],
13 "circle_id": "string",
14 "poll": {
15 "options": [
16 "string"
17 ],
18 "closes_at": "2024-01-01T12:00:00Z"
19 },
20 "event": {
21 "title": "string",
22 "starts_at": "2024-01-01T12:00:00Z",
23 "ends_at": "2024-01-01T12:00:00Z",
24 "location": "string"
25 }
26}),
27})
28 .then((res) => res.json())
29 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/hub/posts",
5 json={"content":"string","media":[{"key":"string","filename":"string","type":"string"}],"circle_id":"string","poll":{"options":["string"],"closes_at":"2024-01-01T12:00:00Z"},"event":{"title":"string","starts_at":"2024-01-01T12:00:00Z","ends_at":"2024-01-01T12:00:00Z","location":"string"}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /hub/posts/:id/replies

Reply to a post

POST /hub/posts/:id/replies

Parameters
id string · path
required
Body · CreateHubReplyapplication/json
content string · max length: 5000
media array
reply_to_id string · min length: 1 · max length: 64
propertyName anything
Responses
200Successful Response
POST /hub/posts/example/replies
1curl -X POST "http://localhost:8000/hub/posts/example/replies" \
2 -H "Content-Type: application/json" \
3 -d '{"content":"string","media":[{"key":"string","filename":"string","type":"string"}],"reply_to_id":"string"}'
1fetch("http://localhost:8000/hub/posts/example/replies", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "content": "string",
6 "media": [
7 {
8 "key": "string",
9 "filename": "string",
10 "type": "string"
11 }
12 ],
13 "reply_to_id": "string"
14}),
15})
16 .then((res) => res.json())
17 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/hub/posts/example/replies",
5 json={"content":"string","media":[{"key":"string","filename":"string","type":"string"}],"reply_to_id":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /hub/posts/:id/reactions

React to a post

POST /hub/posts/:id/reactions {reaction_type}: add yours, or change it.

Parameters
id string · path
required
Body · HubReactionapplication/json
reaction_type
required
propertyName anything
Responses
200Successful Response
POST /hub/posts/example/reactions
1curl -X POST "http://localhost:8000/hub/posts/example/reactions" \
2 -H "Content-Type: application/json" \
3 -d '{"reaction_type":"like"}'
1fetch("http://localhost:8000/hub/posts/example/reactions", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "reaction_type": "like"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/hub/posts/example/reactions",
5 json={"reaction_type":"like"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /hub/posts/:id/reposts

Repost or quote a post

POST /hub/posts/:id/reposts {content?}: a plain repost, or a quote when there are words.

Parameters
id string · path
required
Body · CreateHubRepostapplication/json
content string · max length: 5000
propertyName anything
Responses
200Successful Response
POST /hub/posts/example/reposts
1curl -X POST "http://localhost:8000/hub/posts/example/reposts" \
2 -H "Content-Type: application/json" \
3 -d '{"content":"string"}'
1fetch("http://localhost:8000/hub/posts/example/reposts", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "content": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/hub/posts/example/reposts",
5 json={"content":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /hub/posts/:id/votes

Vote in a poll

POST /hub/posts/:id/votes {option_id}: your one vote; voting again moves it.

Parameters
id string · path
required
Body · HubVoteapplication/json
option_id string · min length: 1 · max length: 64
required
propertyName anything
Responses
200Successful Response
POST /hub/posts/example/votes
1curl -X POST "http://localhost:8000/hub/posts/example/votes" \
2 -H "Content-Type: application/json" \
3 -d '{"option_id":"string"}'
1fetch("http://localhost:8000/hub/posts/example/votes", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "option_id": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/hub/posts/example/votes",
5 json={"option_id":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /hub/posts/:id/bookmarks undocumented

/hub/posts/:id/bookmarks

POST /hub/posts/:id/bookmarks

Parameters
id string · path
required
Responses
200Successful Response
POST /hub/posts/example/bookmarks
1curl -X POST "http://localhost:8000/hub/posts/example/bookmarks"
1fetch("http://localhost:8000/hub/posts/example/bookmarks", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/hub/posts/example/bookmarks")
4print(response.json())
200 Example Response
No Body
POST /hub/circles

Start a circle

POST /hub/circles {name, description?}: you start it and are its first member.

Body · CreateHubCircleapplication/json
name string · min length: 1 · max length: 60
required
description string · max length: 300
propertyName anything
Responses
200Successful Response
POST /hub/circles
1curl -X POST "http://localhost:8000/hub/circles" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","description":"string"}'
1fetch("http://localhost:8000/hub/circles", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "description": "string"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/hub/circles",
5 json={"name":"string","description":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /hub/circles/:id/members undocumented

/hub/circles/:id/members

POST /hub/circles/:id/members: join.

Parameters
id string · path
required
Responses
200Successful Response
POST /hub/circles/example/members
1curl -X POST "http://localhost:8000/hub/circles/example/members"
1fetch("http://localhost:8000/hub/circles/example/members", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/hub/circles/example/members")
4print(response.json())
200 Example Response
No Body
POST /hub/follows

Follow a member

POST /hub/follows {target_mrn}

Body · HubFollowapplication/json
target_mrn string · min length: 1 · max length: 120
required
propertyName anything
Responses
200Successful Response
POST /hub/follows
1curl -X POST "http://localhost:8000/hub/follows" \
2 -H "Content-Type: application/json" \
3 -d '{"target_mrn":"string"}'
1fetch("http://localhost:8000/hub/follows", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "target_mrn": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/hub/follows",
5 json={"target_mrn":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /hub/posts/:id/rsvp

Say if you're going to an event

PUT /hub/posts/:id/rsvp {status}: going, maybe or not going.

Parameters
id string · path
required
Body · HubRsvpapplication/json
status
required
propertyName anything
Responses
200Successful Response
PUT /hub/posts/example/rsvp
1curl -X PUT "http://localhost:8000/hub/posts/example/rsvp" \
2 -H "Content-Type: application/json" \
3 -d '{"status":"going"}'
1fetch("http://localhost:8000/hub/posts/example/rsvp", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "status": "going"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/hub/posts/example/rsvp",
5 json={"status":"going"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
DELETE /identity/clients/:client_id undocumented

/identity/clients/:client_id

DELETE /identity/clients/:client_id: remove the app; its approval, asks and every token it holds go with it.

Parameters
client_id string · path
required
Responses
200Successful Response
DELETE /identity/clients/example
1curl -X DELETE "http://localhost:8000/identity/clients/example"
1fetch("http://localhost:8000/identity/clients/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/identity/clients/example")
4print(response.json())
200 Example Response
No Body
DELETE /identity/clients/:client_id/previous-secret undocumented

/identity/clients/:client_id/previous-secret

DELETE /identity/clients/:client_id/previous-secret: the secret from before the last rotation stops working now.

Parameters
client_id string · path
required
Responses
200Successful Response
DELETE /identity/clients/example/previous-secret
1curl -X DELETE "http://localhost:8000/identity/clients/example/previous-secret"
1fetch("http://localhost:8000/identity/clients/example/previous-secret", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/identity/clients/example/previous-secret")
4print(response.json())
200 Example Response
No Body
DELETE /identity/approvals/:approval_id undocumented

/identity/approvals/:approval_id

DELETE /identity/approvals/:approval_id: stop the app here; everyone signed in to it is signed out.

Parameters
approval_id string · path
required
Responses
200Successful Response
DELETE /identity/approvals/example
1curl -X DELETE "http://localhost:8000/identity/approvals/example"
1fetch("http://localhost:8000/identity/approvals/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/identity/approvals/example")
4print(response.json())
200 Example Response
No Body
DELETE /identity/scim-tokens/:token_id undocumented

/identity/scim-tokens/:token_id

DELETE /identity/scim-tokens/:token_id: the provider holding it stops at once.

Parameters
token_id string · path
required
Responses
200Successful Response
DELETE /identity/scim-tokens/example
1curl -X DELETE "http://localhost:8000/identity/scim-tokens/example"
1fetch("http://localhost:8000/identity/scim-tokens/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/identity/scim-tokens/example")
4print(response.json())
200 Example Response
No Body
GET /identity/clients undocumented

/identity/clients

GET /identity/clients: the apps this workspace registered to sign in with Saaslivery.

Responses
200Successful Response
GET /identity/clients
1curl "http://localhost:8000/identity/clients"
1fetch("http://localhost:8000/identity/clients")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/identity/clients")
4print(response.json())
200 Example Response
No Body
GET /identity/scopes undocumented

/identity/scopes

GET /identity/scopes: what a sign-in app may ask for, searched by key or label, or the labels of `keys`.

Responses
200Successful Response
GET /identity/scopes
1curl "http://localhost:8000/identity/scopes"
1fetch("http://localhost:8000/identity/scopes")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/identity/scopes")
4print(response.json())
200 Example Response
No Body
GET /identity/clients/:client_id undocumented

/identity/clients/:client_id

GET /identity/clients/:client_id: one app this workspace registered.

Parameters
client_id string · path
required
Responses
200Successful Response
GET /identity/clients/example
1curl "http://localhost:8000/identity/clients/example"
1fetch("http://localhost:8000/identity/clients/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/identity/clients/example")
4print(response.json())
200 Example Response
No Body
GET /identity/apps undocumented

/identity/apps

GET /identity/apps: apps this workspace may approve, Saaslivery's catalogue and the ones it registered.

Responses
200Successful Response
GET /identity/apps
1curl "http://localhost:8000/identity/apps"
1fetch("http://localhost:8000/identity/apps")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/identity/apps")
4print(response.json())
200 Example Response
No Body
GET /identity/approvals undocumented

/identity/approvals

GET /identity/approvals: the sign-in apps this workspace approved, who can use them, and who is asking.

Responses
200Successful Response
GET /identity/approvals
1curl "http://localhost:8000/identity/approvals"
1fetch("http://localhost:8000/identity/approvals")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/identity/approvals")
4print(response.json())
200 Example Response
No Body
GET /identity/approvals/:approval_id/activity undocumented

/identity/approvals/:approval_id/activity

GET /identity/approvals/:approval_id/activity: what the app did and for whom, most recent first. Reads coalesce per person, route, result and day, so one row can stand for many; `hits` says how many.

Parameters
approval_id string · path
required
Responses
200Successful Response
GET /identity/approvals/example/activity
1curl "http://localhost:8000/identity/approvals/example/activity"
1fetch("http://localhost:8000/identity/approvals/example/activity")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/identity/approvals/example/activity")
4print(response.json())
200 Example Response
No Body
GET /identity/provisioning undocumented

/identity/provisioning

GET /identity/provisioning: what Saaslivery pushed to apps, newest first (q on the person, approval_id, result).

Responses
200Successful Response
GET /identity/provisioning
1curl "http://localhost:8000/identity/provisioning"
1fetch("http://localhost:8000/identity/provisioning")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/identity/provisioning")
4print(response.json())
200 Example Response
No Body
GET /identity/access-requests undocumented

/identity/access-requests

GET /identity/access-requests: who asked for an app, open asks first.

Responses
200Successful Response
GET /identity/access-requests
1curl "http://localhost:8000/identity/access-requests"
1fetch("http://localhost:8000/identity/access-requests")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/identity/access-requests")
4print(response.json())
200 Example Response
No Body
GET /identity/scim-tokens undocumented

/identity/scim-tokens

GET /identity/scim-tokens: the tokens identity providers hold (q on the provider or prefix, status).

Responses
200Successful Response
GET /identity/scim-tokens
1curl "http://localhost:8000/identity/scim-tokens"
1fetch("http://localhost:8000/identity/scim-tokens")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/identity/scim-tokens")
4print(response.json())
200 Example Response
No Body
GET /identity/scim-events undocumented

/identity/scim-events

GET /identity/scim-events: what identity providers changed (q, connection_id, operation, result).

Responses
200Successful Response
GET /identity/scim-events
1curl "http://localhost:8000/identity/scim-events"
1fetch("http://localhost:8000/identity/scim-events")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/identity/scim-events")
4print(response.json())
200 Example Response
No Body
GET /identity/groups undocumented

/identity/groups

GET /identity/groups: the groups identity providers pushed (q, connection_id, mapped yes or no).

Responses
200Successful Response
GET /identity/groups
1curl "http://localhost:8000/identity/groups"
1fetch("http://localhost:8000/identity/groups")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/identity/groups")
4print(response.json())
200 Example Response
No Body
POST /identity/clients/:client_id/secrets undocumented

/identity/clients/:client_id/secrets

POST /identity/clients/:client_id/secrets: a new client secret, shown once; the old one works for a day more.

Parameters
client_id string · path
required
Responses
200Successful Response
POST /identity/clients/example/secrets
1curl -X POST "http://localhost:8000/identity/clients/example/secrets"
1fetch("http://localhost:8000/identity/clients/example/secrets", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/identity/clients/example/secrets")
4print(response.json())
200 Example Response
No Body
DELETE /installations/:slug undocumented

/installations/:slug

DELETE /installations/:slug — Uninstall an app (admin/owner only).

Parameters
slug string · path
required
Responses
200Successful Response
DELETE /installations/example
1curl -X DELETE "http://localhost:8000/installations/example"
1fetch("http://localhost:8000/installations/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/installations/example")
4print(response.json())
200 Example Response
No Body
GET /installations undocumented

/installations

GET /installations — List installed apps for the workspace. Default view returns apps the current member can access (UI grid). Pass ?policy=1 (owner/admin only) to include access_policy + allowed_roles for every installed app — used by the App Access admin screen.

Responses
200Successful Response
GET /installations
1curl "http://localhost:8000/installations"
1fetch("http://localhost:8000/installations")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/installations")
4print(response.json())
200 Example Response
No Body
DELETE /interactions/:interaction_id undocumented

/interactions/:interaction_id

DELETE /interactions/:interaction_id — delete an interaction.

Parameters
interaction_id string · path
required
Responses
200Successful Response
DELETE /interactions/example
1curl -X DELETE "http://localhost:8000/interactions/example"
1fetch("http://localhost:8000/interactions/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/interactions/example")
4print(response.json())
200 Example Response
No Body
GET /interactions undocumented

/interactions

GET /interactions — all interactions (activity reports).

Responses
200Successful Response
GET /interactions
1curl "http://localhost:8000/interactions"
1fetch("http://localhost:8000/interactions")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/interactions")
4print(response.json())
200 Example Response
No Body
POST /interactions

Log an interaction

POST /interactions — log an interaction.

Body · CreateInteractionapplication/json
contact_id string
company_id string
source_mrn string
type
required
direction
subject string · max length: 200
content string · max length: 10000
occurred_at string
required
duration_minutes integer
rating object
propertyName anything
Responses
200Successful Response
POST /interactions
1curl -X POST "http://localhost:8000/interactions" \
2 -H "Content-Type: application/json" \
3 -d '{"contact_id":"string","company_id":"string","source_mrn":"string","type":"call","direction":"inbound","subject":"string","content":"string","occurred_at":"string","duration_minutes":1,"rating":{"score":1,"comment":"string"}}'
1fetch("http://localhost:8000/interactions", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "contact_id": "string",
6 "company_id": "string",
7 "source_mrn": "string",
8 "type": "call",
9 "direction": "inbound",
10 "subject": "string",
11 "content": "string",
12 "occurred_at": "string",
13 "duration_minutes": 1,
14 "rating": {
15 "score": 1,
16 "comment": "string"
17 }
18}),
19})
20 .then((res) => res.json())
21 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/interactions",
5 json={"contact_id":"string","company_id":"string","source_mrn":"string","type":"call","direction":"inbound","subject":"string","content":"string","occurred_at":"string","duration_minutes":1,"rating":{"score":1,"comment":"string"}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /interactions/:interaction_id

Update an interaction

PUT /interactions/:interaction_id — update an interaction.

Parameters
interaction_id string · path
required
Body · UpdateInteractionapplication/json
subject string · max length: 200
content string · max length: 10000
occurred_at string
duration_minutes integer
propertyName anything
Responses
200Successful Response
PUT /interactions/example
1curl -X PUT "http://localhost:8000/interactions/example" \
2 -H "Content-Type: application/json" \
3 -d '{"subject":"string","content":"string","occurred_at":"string","duration_minutes":1}'
1fetch("http://localhost:8000/interactions/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "subject": "string",
6 "content": "string",
7 "occurred_at": "string",
8 "duration_minutes": 1
9}),
10})
11 .then((res) => res.json())
12 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/interactions/example",
5 json={"subject":"string","content":"string","occurred_at":"string","duration_minutes":1},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
GET /invoices/:id undocumented

/invoices/:id

GET /invoices/:id — return full invoice data with line items.

Parameters
id string · path
required
Responses
200Successful Response
GET /invoices/example
1curl "http://localhost:8000/invoices/example"
1fetch("http://localhost:8000/invoices/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/invoices/example")
4print(response.json())
200 Example Response
No Body
PATCH /finance/invoices/:entry_id

Issue/void an invoice

Parameters
entry_id string · path
required
Body · UpdateInvoiceStatusapplication/json
status
required
propertyName anything
Responses
200Successful Response
PATCH /finance/invoices/example
1curl -X PATCH "http://localhost:8000/finance/invoices/example" \
2 -H "Content-Type: application/json" \
3 -d '{"status":"issued"}'
1fetch("http://localhost:8000/finance/invoices/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "status": "issued"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/finance/invoices/example",
5 json={"status":"issued"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /finance/invoices

Create an invoice

Body · CreateInvoiceapplication/json
date string · min length: 10
required
items array
contact_mrn string
company_mrn string
currency
required
exchange_rate number
due_date string · min length: 10
memo string · max length: 5000
tags array
sources array
adjustments array
dimensions
idempotency_key string · max length: 100
propertyName anything
Responses
200Successful Response
POST /finance/invoices
1curl -X POST "http://localhost:8000/finance/invoices" \
2 -H "Content-Type: application/json" \
3 -d '{"date":"string","items":[{"description":"string","quantity":1.5,"unit_price":1.5,"discount":1.5,"amount":1.5,"account_code":"string","product_mrn":"string","taxes":[{"name":"string","rate":1.5,"amount":1.5,"reverse_charge":{}}]}],"contact_mrn":"string","company_mrn":"string","currency":"USD","exchange_rate":1.5,"due_date":"string","memo":"string","tags":["string"],"sources":["string"],"adjustments":[{"label":"string","type":"fixed","value":1.5,"amount":1.5,"account_code":"string"}],"dimensions":{},"idempotency_key":"string"}'
1fetch("http://localhost:8000/finance/invoices", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "date": "string",
6 "items": [
7 {
8 "description": "string",
9 "quantity": 1.5,
10 "unit_price": 1.5,
11 "discount": 1.5,
12 "amount": 1.5,
13 "account_code": "string",
14 "product_mrn": "string",
15 "taxes": [
16 {
17 "name": "string",
18 "rate": 1.5,
19 "amount": 1.5,
20 "reverse_charge": {}
21 }
22 ]
23 }
24 ],
25 "contact_mrn": "string",
26 "company_mrn": "string",
27 "currency": "USD",
28 "exchange_rate": 1.5,
29 "due_date": "string",
30 "memo": "string",
31 "tags": [
32 "string"
33 ],
34 "sources": [
35 "string"
36 ],
37 "adjustments": [
38 {
39 "label": "string",
40 "type": "fixed",
41 "value": 1.5,
42 "amount": 1.5,
43 "account_code": "string"
44 }
45 ],
46 "dimensions": {},
47 "idempotency_key": "string"
48}),
49})
50 .then((res) => res.json())
51 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/finance/invoices",
5 json={"date":"string","items":[{"description":"string","quantity":1.5,"unit_price":1.5,"discount":1.5,"amount":1.5,"account_code":"string","product_mrn":"string","taxes":[{"name":"string","rate":1.5,"amount":1.5,"reverse_charge":{}}]}],"contact_mrn":"string","company_mrn":"string","currency":"USD","exchange_rate":1.5,"due_date":"string","memo":"string","tags":["string"],"sources":["string"],"adjustments":[{"label":"string","type":"fixed","value":1.5,"amount":1.5,"account_code":"string"}],"dimensions":{},"idempotency_key":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /finance/invoices/:entry_id/pdfs

Generate invoice PDF

Parameters
entry_id string · path
required
Body · GeneratePdfapplication/json
template string · max length: 100
propertyName anything
Responses
200Successful Response
POST /finance/invoices/example/pdfs
1curl -X POST "http://localhost:8000/finance/invoices/example/pdfs" \
2 -H "Content-Type: application/json" \
3 -d '{"template":"string"}'
1fetch("http://localhost:8000/finance/invoices/example/pdfs", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "template": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/finance/invoices/example/pdfs",
5 json={"template":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /finance/invoices/:entry_id/sends

Email an invoice

Parameters
entry_id string · path
required
Body · SendInvoiceapplication/json
to string · min length: 1 · max length: 500
required
cc string · max length: 500
subject string · max length: 300
message string · max length: 5000
attach_pdf
propertyName anything
Responses
200Successful Response
POST /finance/invoices/example/sends
1curl -X POST "http://localhost:8000/finance/invoices/example/sends" \
2 -H "Content-Type: application/json" \
3 -d '{"to":"string","cc":"string","subject":"string","message":"string","attach_pdf":{}}'
1fetch("http://localhost:8000/finance/invoices/example/sends", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "to": "string",
6 "cc": "string",
7 "subject": "string",
8 "message": "string",
9 "attach_pdf": {}
10}),
11})
12 .then((res) => res.json())
13 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/finance/invoices/example/sends",
5 json={"to":"string","cc":"string","subject":"string","message":"string","attach_pdf":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /finance/invoices/:entry_id/reminders

Send an overdue reminder

Parameters
entry_id string · path
required
Body · SendReminderapplication/json
to string · min length: 1 · max length: 500
required
subject string · max length: 300
message string · max length: 5000
propertyName anything
Responses
200Successful Response
POST /finance/invoices/example/reminders
1curl -X POST "http://localhost:8000/finance/invoices/example/reminders" \
2 -H "Content-Type: application/json" \
3 -d '{"to":"string","subject":"string","message":"string"}'
1fetch("http://localhost:8000/finance/invoices/example/reminders", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "to": "string",
6 "subject": "string",
7 "message": "string"
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/finance/invoices/example/reminders",
5 json={"to":"string","subject":"string","message":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /invoices/:id/charges undocumented

/invoices/:id/charges

POST /invoices/:id/charges — retry charging the default payment method.

Parameters
id string · path
required
Responses
200Successful Response
POST /invoices/example/charges
1curl -X POST "http://localhost:8000/invoices/example/charges"
1fetch("http://localhost:8000/invoices/example/charges", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/invoices/example/charges")
4print(response.json())
200 Example Response
No Body
PUT /finance/invoices/:entry_id

Update a draft invoice

Parameters
entry_id string · path
required
Body · UpdateInvoiceapplication/json
date string · min length: 10
items array
contact_mrn string
company_mrn string
currency
exchange_rate number
due_date string · min length: 10
memo string · max length: 5000
tags array
adjustments array
dimensions
propertyName anything
Responses
200Successful Response
PUT /finance/invoices/example
1curl -X PUT "http://localhost:8000/finance/invoices/example" \
2 -H "Content-Type: application/json" \
3 -d '{"date":"string","items":[{"description":"string","quantity":1.5,"unit_price":1.5,"discount":1.5,"amount":1.5,"account_code":"string","product_mrn":"string","taxes":[{"name":"string","rate":1.5,"amount":1.5,"reverse_charge":{}}]}],"contact_mrn":"string","company_mrn":"string","currency":"USD","exchange_rate":1.5,"due_date":"string","memo":"string","tags":["string"],"adjustments":[{"label":"string","type":"fixed","value":1.5,"amount":1.5,"account_code":"string"}],"dimensions":{}}'
1fetch("http://localhost:8000/finance/invoices/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "date": "string",
6 "items": [
7 {
8 "description": "string",
9 "quantity": 1.5,
10 "unit_price": 1.5,
11 "discount": 1.5,
12 "amount": 1.5,
13 "account_code": "string",
14 "product_mrn": "string",
15 "taxes": [
16 {
17 "name": "string",
18 "rate": 1.5,
19 "amount": 1.5,
20 "reverse_charge": {}
21 }
22 ]
23 }
24 ],
25 "contact_mrn": "string",
26 "company_mrn": "string",
27 "currency": "USD",
28 "exchange_rate": 1.5,
29 "due_date": "string",
30 "memo": "string",
31 "tags": [
32 "string"
33 ],
34 "adjustments": [
35 {
36 "label": "string",
37 "type": "fixed",
38 "value": 1.5,
39 "amount": 1.5,
40 "account_code": "string"
41 }
42 ],
43 "dimensions": {}
44}),
45})
46 .then((res) => res.json())
47 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/finance/invoices/example",
5 json={"date":"string","items":[{"description":"string","quantity":1.5,"unit_price":1.5,"discount":1.5,"amount":1.5,"account_code":"string","product_mrn":"string","taxes":[{"name":"string","rate":1.5,"amount":1.5,"reverse_charge":{}}]}],"contact_mrn":"string","company_mrn":"string","currency":"USD","exchange_rate":1.5,"due_date":"string","memo":"string","tags":["string"],"adjustments":[{"label":"string","type":"fixed","value":1.5,"amount":1.5,"account_code":"string"}],"dimensions":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /finance/journal-entries/:entry_id

Post/void a journal

Parameters
entry_id string · path
required
Body · UpdateJournalStatusapplication/json
status
required
propertyName anything
Responses
200Successful Response
PATCH /finance/journal-entries/example
1curl -X PATCH "http://localhost:8000/finance/journal-entries/example" \
2 -H "Content-Type: application/json" \
3 -d '{"status":"posted"}'
1fetch("http://localhost:8000/finance/journal-entries/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "status": "posted"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/finance/journal-entries/example",
5 json={"status":"posted"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /finance/journal-entries

Create a journal entry

Body · CreateJournalEntryapplication/json
date string · min length: 10
required
lines array
required
memo string · max length: 5000
currency
required
exchange_rate number
tags array
dimensions
idempotency_key string · max length: 100
propertyName anything
Responses
200Successful Response
POST /finance/journal-entries
1curl -X POST "http://localhost:8000/finance/journal-entries" \
2 -H "Content-Type: application/json" \
3 -d '{"date":"string","lines":[{"account_code":"string","description":"string","debit":1.5,"credit":1.5,"dimensions":{}}],"memo":"string","currency":"USD","exchange_rate":1.5,"tags":["string"],"dimensions":{},"idempotency_key":"string"}'
1fetch("http://localhost:8000/finance/journal-entries", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "date": "string",
6 "lines": [
7 {
8 "account_code": "string",
9 "description": "string",
10 "debit": 1.5,
11 "credit": 1.5,
12 "dimensions": {}
13 }
14 ],
15 "memo": "string",
16 "currency": "USD",
17 "exchange_rate": 1.5,
18 "tags": [
19 "string"
20 ],
21 "dimensions": {},
22 "idempotency_key": "string"
23}),
24})
25 .then((res) => res.json())
26 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/finance/journal-entries",
5 json={"date":"string","lines":[{"account_code":"string","description":"string","debit":1.5,"credit":1.5,"dimensions":{}}],"memo":"string","currency":"USD","exchange_rate":1.5,"tags":["string"],"dimensions":{},"idempotency_key":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /finance/journal-entries/:entry_id

Update a draft journal

Parameters
entry_id string · path
required
Body · UpdateJournalEntryapplication/json
date string · min length: 10
lines array
memo string · max length: 5000
currency
exchange_rate number
tags array
dimensions
propertyName anything
Responses
200Successful Response
PUT /finance/journal-entries/example
1curl -X PUT "http://localhost:8000/finance/journal-entries/example" \
2 -H "Content-Type: application/json" \
3 -d '{"date":"string","lines":[{"account_code":"string","description":"string","debit":1.5,"credit":1.5,"dimensions":{}}],"memo":"string","currency":"USD","exchange_rate":1.5,"tags":["string"],"dimensions":{}}'
1fetch("http://localhost:8000/finance/journal-entries/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "date": "string",
6 "lines": [
7 {
8 "account_code": "string",
9 "description": "string",
10 "debit": 1.5,
11 "credit": 1.5,
12 "dimensions": {}
13 }
14 ],
15 "memo": "string",
16 "currency": "USD",
17 "exchange_rate": 1.5,
18 "tags": [
19 "string"
20 ],
21 "dimensions": {}
22}),
23})
24 .then((res) => res.json())
25 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/finance/journal-entries/example",
5 json={"date":"string","lines":[{"account_code":"string","description":"string","debit":1.5,"credit":1.5,"dimensions":{}}],"memo":"string","currency":"USD","exchange_rate":1.5,"tags":["string"],"dimensions":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
DELETE /leads/:lead_id undocumented

/leads/:lead_id

DELETE /leads/:lead_id: remove a lead and the history only it holds. The person stays in Connect while they have another reason.

Parameters
lead_id string · path
required
Responses
200Successful Response
DELETE /leads/example
1curl -X DELETE "http://localhost:8000/leads/example"
1fetch("http://localhost:8000/leads/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/leads/example")
4print(response.json())
200 Example Response
No Body
GET /leads undocumented

/leads

GET /leads: the workspace's leads in every status unless status names some, highest score first.

Responses
200Successful Response
GET /leads
1curl "http://localhost:8000/leads"
1fetch("http://localhost:8000/leads")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/leads")
4print(response.json())
200 Example Response
No Body
GET /leads/facts undocumented

/leads/facts

GET /leads/facts: the quick facts, status counts and summary line for the filters the Leads list is showing.

Responses
200Successful Response
GET /leads/facts
1curl "http://localhost:8000/leads/facts"
1fetch("http://localhost:8000/leads/facts")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/leads/facts")
4print(response.json())
200 Example Response
No Body
GET /leads/:lead_id undocumented

/leads/:lead_id

GET /leads/:lead_id: one lead with its owner and what CRM knows of its person.

Parameters
lead_id string · path
required
Responses
200Successful Response
GET /leads/example
1curl "http://localhost:8000/leads/example"
1fetch("http://localhost:8000/leads/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/leads/example")
4print(response.json())
200 Example Response
No Body
GET /leads/:lead_id/activities undocumented

/leads/:lead_id/activities

GET /leads/:lead_id/activities: the lead's history, newest first, including what moved to its deal.

Parameters
lead_id string · path
required
Responses
200Successful Response
GET /leads/example/activities
1curl "http://localhost:8000/leads/example/activities"
1fetch("http://localhost:8000/leads/example/activities")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/leads/example/activities")
4print(response.json())
200 Example Response
No Body
GET /leads/:lead_id/website undocumented

/leads/:lead_id/website

GET /leads/:lead_id/website: the lead's company site, from the domain of their email, and whether it may be framed.

Parameters
lead_id string · path
required
Responses
200Successful Response
GET /leads/example/website
1curl "http://localhost:8000/leads/example/website"
1fetch("http://localhost:8000/leads/example/website")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/leads/example/website")
4print(response.json())
200 Example Response
No Body
PATCH /leads/:lead_id

Edit, qualify, disqualify or convert a lead

PATCH /leads/:lead_id: edit a lead, qualify or disqualify it, or convert it into a deal in one step.

Parameters
lead_id string · path
required
Body · UpdateLeadapplication/json
name string · min length: 1 · max length: 200
email string · max length: 320
phone string · max length: 60
title string · max length: 200
company_name string · max length: 200
owner_mrn string
source
tags array
status
disqualify_reason string · max length: 500
pipeline_id string
deal_title string · min length: 1 · max length: 300
deal_value number
deal_currency string · min length: 3 · max length: 3
propertyName anything
Responses
200Successful Response
PATCH /leads/example
1curl -X PATCH "http://localhost:8000/leads/example" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","email":"string","phone":"string","title":"string","company_name":"string","owner_mrn":"string","source":"","tags":["string"],"status":"new","disqualify_reason":"string","pipeline_id":"string","deal_title":"string","deal_value":1.5,"deal_currency":"string"}'
1fetch("http://localhost:8000/leads/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "email": "string",
7 "phone": "string",
8 "title": "string",
9 "company_name": "string",
10 "owner_mrn": "string",
11 "source": "",
12 "tags": [
13 "string"
14 ],
15 "status": "new",
16 "disqualify_reason": "string",
17 "pipeline_id": "string",
18 "deal_title": "string",
19 "deal_value": 1.5,
20 "deal_currency": "string"
21}),
22})
23 .then((res) => res.json())
24 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/leads/example",
5 json={"name":"string","email":"string","phone":"string","title":"string","company_name":"string","owner_mrn":"string","source":"","tags":["string"],"status":"new","disqualify_reason":"string","pipeline_id":"string","deal_title":"string","deal_value":1.5,"deal_currency":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /leads

Add a lead

POST /leads: a new lead. Connect hears about it and files the person.

Body · CreateLeadapplication/json
name string · min length: 1 · max length: 200
required
email string · max length: 320
phone string · max length: 60
title string · max length: 200
company_name string · max length: 200
owner_mrn string
source
tags array
propertyName anything
Responses
200Successful Response
POST /leads
1curl -X POST "http://localhost:8000/leads" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","email":"string","phone":"string","title":"string","company_name":"string","owner_mrn":"string","source":"","tags":["string"]}'
1fetch("http://localhost:8000/leads", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "email": "string",
7 "phone": "string",
8 "title": "string",
9 "company_name": "string",
10 "owner_mrn": "string",
11 "source": "",
12 "tags": [
13 "string"
14 ]
15}),
16})
17 .then((res) => res.json())
18 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/leads",
5 json={"name":"string","email":"string","phone":"string","title":"string","company_name":"string","owner_mrn":"string","source":"","tags":["string"]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /leave-balances/:id/adjustments

Adjust a leave balance

Manual balance adjustment (admin only).

Parameters
id string · path
required
Body · AdjustBalanceapplication/json
amount number · min: -366 · max: 366
required
reason string · min length: 1 · max length: 500
required
propertyName anything
Responses
200Successful Response
POST /leave-balances/example/adjustments
1curl -X POST "http://localhost:8000/leave-balances/example/adjustments" \
2 -H "Content-Type: application/json" \
3 -d '{"amount":1.5,"reason":"string"}'
1fetch("http://localhost:8000/leave-balances/example/adjustments", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "amount": 1.5,
6 "reason": "string"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/leave-balances/example/adjustments",
5 json={"amount":1.5,"reason":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /leave-reconciliation

Apply a reviewed working-pattern recount

Body · ApplyReconciliationapplication/json
items array
required
propertyName anything
Responses
200Successful Response
POST /leave-reconciliation
1curl -X POST "http://localhost:8000/leave-reconciliation" \
2 -H "Content-Type: application/json" \
3 -d '{"items":[{"pto_id":"string","new_days":1.5}]}'
1fetch("http://localhost:8000/leave-reconciliation", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "items": [
6 {
7 "pto_id": "string",
8 "new_days": 1.5
9 }
10 ]
11}),
12})
13 .then((res) => res.json())
14 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/leave-reconciliation",
5 json={"items":[{"pto_id":"string","new_days":1.5}]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
DELETE /leave-policies/:id/members

Remove workers from a leave policy

DELETE /leave-policies/:id/members: take a selection of workers off a policy. Anyone with a pending request on the policy stays on it and is reported as kept.

Parameters
id string · path
required
Body · PolicyMemberSelectionapplication/json
worker_mrns array
match object
exclude_worker_mrns array
propertyName anything
Responses
200Successful Response
DELETE /leave-policies/example/members
1curl -X DELETE "http://localhost:8000/leave-policies/example/members" \
2 -H "Content-Type: application/json" \
3 -d '{"worker_mrns":["string"],"match":{"q":"string","department_id":["string"],"location_mrn":["string"],"manager_id":["string"],"employment_type":["string"]},"exclude_worker_mrns":["string"]}'
1fetch("http://localhost:8000/leave-policies/example/members", {
2 method: "DELETE",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "worker_mrns": [
6 "string"
7 ],
8 "match": {
9 "q": "string",
10 "department_id": [
11 "string"
12 ],
13 "location_mrn": [
14 "string"
15 ],
16 "manager_id": [
17 "string"
18 ],
19 "employment_type": [
20 "string"
21 ]
22 },
23 "exclude_worker_mrns": [
24 "string"
25 ]
26}),
27})
28 .then((res) => res.json())
29 .then(console.log);
1import requests
2
3response = requests.delete(
4 "http://localhost:8000/leave-policies/example/members",
5 json={"worker_mrns":["string"],"match":{"q":"string","department_id":["string"],"location_mrn":["string"],"manager_id":["string"],"employment_type":["string"]},"exclude_worker_mrns":["string"]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /leave-policies

Create a leave policy

Body · CreatePolicyapplication/json
name string · min length: 1 · max length: 100
required
type
required
allowance number · min: 0 · max: 366
required
description string · max length: 500
accrual
max_carry_over number · min: 0 · max: 366
requires_approval
min_notice_days integer · min: 0 · max: 365
max_consecutive_days integer · min: 0 · max: 366
applies_to
cycle_start
default_approver_mrns array
calendar_visibility
propertyName anything
Responses
200Successful Response
POST /leave-policies
1curl -X POST "http://localhost:8000/leave-policies" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","type":"annual","allowance":1.5,"description":"string","accrual":"upfront","max_carry_over":1.5,"requires_approval":{},"min_notice_days":1,"max_consecutive_days":1,"applies_to":"all","cycle_start":"hire_date","default_approver_mrns":["string"],"calendar_visibility":"type"}'
1fetch("http://localhost:8000/leave-policies", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "type": "annual",
7 "allowance": 1.5,
8 "description": "string",
9 "accrual": "upfront",
10 "max_carry_over": 1.5,
11 "requires_approval": {},
12 "min_notice_days": 1,
13 "max_consecutive_days": 1,
14 "applies_to": "all",
15 "cycle_start": "hire_date",
16 "default_approver_mrns": [
17 "string"
18 ],
19 "calendar_visibility": "type"
20}),
21})
22 .then((res) => res.json())
23 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/leave-policies",
5 json={"name":"string","type":"annual","allowance":1.5,"description":"string","accrual":"upfront","max_carry_over":1.5,"requires_approval":{},"min_notice_days":1,"max_consecutive_days":1,"applies_to":"all","cycle_start":"hire_date","default_approver_mrns":["string"],"calendar_visibility":"type"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /leave-policies/:id/members

Assign workers to a leave policy

POST /leave-policies/:id/members — Assign workers to a policy and provision balances.

Parameters
id string · path
required
Body · PolicyMemberSelectionapplication/json
worker_mrns array
match object
exclude_worker_mrns array
propertyName anything
Responses
200Successful Response
POST /leave-policies/example/members
1curl -X POST "http://localhost:8000/leave-policies/example/members" \
2 -H "Content-Type: application/json" \
3 -d '{"worker_mrns":["string"],"match":{"q":"string","department_id":["string"],"location_mrn":["string"],"manager_id":["string"],"employment_type":["string"]},"exclude_worker_mrns":["string"]}'
1fetch("http://localhost:8000/leave-policies/example/members", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "worker_mrns": [
6 "string"
7 ],
8 "match": {
9 "q": "string",
10 "department_id": [
11 "string"
12 ],
13 "location_mrn": [
14 "string"
15 ],
16 "manager_id": [
17 "string"
18 ],
19 "employment_type": [
20 "string"
21 ]
22 },
23 "exclude_worker_mrns": [
24 "string"
25 ]
26}),
27})
28 .then((res) => res.json())
29 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/leave-policies/example/members",
5 json={"worker_mrns":["string"],"match":{"q":"string","department_id":["string"],"location_mrn":["string"],"manager_id":["string"],"employment_type":["string"]},"exclude_worker_mrns":["string"]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /leave-policies/:id

Update a leave policy

Parameters
id string · path
required
Body · UpdatePolicyapplication/json
name string · min length: 1 · max length: 100
description string · max length: 500
allowance number · min: 0 · max: 366
accrual
max_carry_over number · min: 0 · max: 366
requires_approval
min_notice_days integer · min: 0 · max: 365
max_consecutive_days integer · min: 0 · max: 366
applies_to
cycle_start
is_active
default_approver_mrns array
calendar_visibility
propertyName anything
Responses
200Successful Response
PUT /leave-policies/example
1curl -X PUT "http://localhost:8000/leave-policies/example" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","description":"string","allowance":1.5,"accrual":"upfront","max_carry_over":1.5,"requires_approval":{},"min_notice_days":1,"max_consecutive_days":1,"applies_to":"all","cycle_start":"hire_date","is_active":{},"default_approver_mrns":["string"],"calendar_visibility":"type"}'
1fetch("http://localhost:8000/leave-policies/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "description": "string",
7 "allowance": 1.5,
8 "accrual": "upfront",
9 "max_carry_over": 1.5,
10 "requires_approval": {},
11 "min_notice_days": 1,
12 "max_consecutive_days": 1,
13 "applies_to": "all",
14 "cycle_start": "hire_date",
15 "is_active": {},
16 "default_approver_mrns": [
17 "string"
18 ],
19 "calendar_visibility": "type"
20}),
21})
22 .then((res) => res.json())
23 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/leave-policies/example",
5 json={"name":"string","description":"string","allowance":1.5,"accrual":"upfront","max_carry_over":1.5,"requires_approval":{},"min_notice_days":1,"max_consecutive_days":1,"applies_to":"all","cycle_start":"hire_date","is_active":{},"default_approver_mrns":["string"],"calendar_visibility":"type"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
GET /leave-balances undocumented

/leave-balances

List balances for the current user's worker record. Self view: only balances for policies the worker is currently assigned to. Orphan rows (pre-membership provisioning, or kept after unassignment because days were used) stay in the table for history but are not returned here; the manager view (GET /leave-balances/:worker_mrn) still exposes them.

Responses
200Successful Response
GET /leave-balances
1curl "http://localhost:8000/leave-balances"
1fetch("http://localhost:8000/leave-balances")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/leave-balances")
4print(response.json())
200 Example Response
No Body
GET /leave-balances/:worker_mrn undocumented

/leave-balances/:worker_mrn

List balances for a specific worker (manager/admin).

Parameters
worker_mrn string · path
required
Responses
200Successful Response
GET /leave-balances/example
1curl "http://localhost:8000/leave-balances/example"
1fetch("http://localhost:8000/leave-balances/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/leave-balances/example")
4print(response.json())
200 Example Response
No Body
GET /leave-calculate-days undocumented

/leave-calculate-days

Calculate working days between two dates.

Responses
200Successful Response
GET /leave-calculate-days
1curl "http://localhost:8000/leave-calculate-days"
1fetch("http://localhost:8000/leave-calculate-days")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/leave-calculate-days")
4print(response.json())
200 Example Response
No Body
GET /leave-calendar undocumented

/leave-calendar

Team calendar — approved PTOs + holidays for a date range.

Responses
200Successful Response
GET /leave-calendar
1curl "http://localhost:8000/leave-calendar"
1fetch("http://localhost:8000/leave-calendar")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/leave-calendar")
4print(response.json())
200 Example Response
No Body
DELETE /leave-policies/:id undocumented

/leave-policies/:id

Parameters
id string · path
required
Responses
200Successful Response
DELETE /leave-policies/example
1curl -X DELETE "http://localhost:8000/leave-policies/example"
1fetch("http://localhost:8000/leave-policies/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/leave-policies/example")
4print(response.json())
200 Example Response
No Body
DELETE /leave-policies/:id/members/:worker_mrn undocumented

/leave-policies/:id/members/:worker_mrn

DELETE /leave-policies/:id/members/:worker_mrn — Remove a worker from a policy.

Parameters
id string · path
required
worker_mrn string · path
required
Responses
200Successful Response
DELETE /leave-policies/example/members/example
1curl -X DELETE "http://localhost:8000/leave-policies/example/members/example"
1fetch("http://localhost:8000/leave-policies/example/members/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/leave-policies/example/members/example")
4print(response.json())
200 Example Response
No Body
GET /leave-policies undocumented

/leave-policies

Responses
200Successful Response
GET /leave-policies
1curl "http://localhost:8000/leave-policies"
1fetch("http://localhost:8000/leave-policies")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/leave-policies")
4print(response.json())
200 Example Response
No Body
GET /leave-policies/:id undocumented

/leave-policies/:id

Parameters
id string · path
required
Responses
200Successful Response
GET /leave-policies/example
1curl "http://localhost:8000/leave-policies/example"
1fetch("http://localhost:8000/leave-policies/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/leave-policies/example")
4print(response.json())
200 Example Response
No Body
GET /leave-policies/:id/members undocumented

/leave-policies/:id/members

GET /leave-policies/:id/members — List workers assigned to a policy.

Parameters
id string · path
required
Responses
200Successful Response
GET /leave-policies/example/members
1curl "http://localhost:8000/leave-policies/example/members"
1fetch("http://localhost:8000/leave-policies/example/members")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/leave-policies/example/members")
4print(response.json())
200 Example Response
No Body
GET /leave-policies/:id/candidates undocumented

/leave-policies/:id/candidates

GET /leave-policies/:id/candidates: active workers not on the policy who match a search and filters.

Parameters
id string · path
required
Responses
200Successful Response
GET /leave-policies/example/candidates
1curl "http://localhost:8000/leave-policies/example/candidates"
1fetch("http://localhost:8000/leave-policies/example/candidates")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/leave-policies/example/candidates")
4print(response.json())
200 Example Response
No Body
GET /leave-policies/:id/worker-filters undocumented

/leave-policies/:id/worker-filters

GET /leave-policies/:id/worker-filters: the fields a policy's worker lists can be filtered by.

Parameters
id string · path
required
Responses
200Successful Response
GET /leave-policies/example/worker-filters
1curl "http://localhost:8000/leave-policies/example/worker-filters"
1fetch("http://localhost:8000/leave-policies/example/worker-filters")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/leave-policies/example/worker-filters")
4print(response.json())
200 Example Response
No Body
GET /leave-policies/:id/worker-filters/:key/options undocumented

/leave-policies/:id/worker-filters/:key/options

GET /leave-policies/:id/worker-filters/:key/options: one field's values, every one in the workspace, or with scope=members only those held by the workers on the policy.

Parameters
id string · path
required
key string · path
required
Responses
200Successful Response
GET /leave-policies/example/worker-filters/example/options
1curl "http://localhost:8000/leave-policies/example/worker-filters/example/options"
1fetch("http://localhost:8000/leave-policies/example/worker-filters/example/options")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/leave-policies/example/worker-filters/example/options")
4print(response.json())
200 Example Response
No Body
GET /leave-reconciliation undocumented

/leave-reconciliation

Responses
200Successful Response
GET /leave-reconciliation
1curl "http://localhost:8000/leave-reconciliation"
1fetch("http://localhost:8000/leave-reconciliation")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/leave-reconciliation")
4print(response.json())
200 Example Response
No Body
PATCH /calls/:id/links/:link_id

Update a join link

Parameters
id string · path
required
link_id string · path
required
Body · UpdateLinkapplication/json
is_active
external_join_mode
propertyName anything
Responses
200Successful Response
PATCH /calls/example/links/example
1curl -X PATCH "http://localhost:8000/calls/example/links/example" \
2 -H "Content-Type: application/json" \
3 -d '{"is_active":{},"external_join_mode":"auto"}'
1fetch("http://localhost:8000/calls/example/links/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "is_active": {},
6 "external_join_mode": "auto"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/calls/example/links/example",
5 json={"is_active":{},"external_join_mode":"auto"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /calls/:id/links

Create a join link

Parameters
id string · path
required
Body · CreateLinkapplication/json
expires_at string
guest_name string · max length: 200
guest_email string · max length: 200
external_join_mode
propertyName anything
Responses
200Successful Response
POST /calls/example/links
1curl -X POST "http://localhost:8000/calls/example/links" \
2 -H "Content-Type: application/json" \
3 -d '{"expires_at":"string","guest_name":"string","guest_email":"string","external_join_mode":"auto"}'
1fetch("http://localhost:8000/calls/example/links", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "expires_at": "string",
6 "guest_name": "string",
7 "guest_email": "string",
8 "external_join_mode": "auto"
9}),
10})
11 .then((res) => res.json())
12 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/calls/example/links",
5 json={"expires_at":"string","guest_name":"string","guest_email":"string","external_join_mode":"auto"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /chats/lists/:list_id

Update a chat list

PATCH /chats/lists/:list_id — rename or reorder a list.

Parameters
list_id string · path
required
Body · UpdateChatListapplication/json
name string · min length: 1 · max length: 50
position integer
propertyName anything
Responses
200Successful Response
PATCH /chats/lists/example
1curl -X PATCH "http://localhost:8000/chats/lists/example" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","position":1}'
1fetch("http://localhost:8000/chats/lists/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "position": 1
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/chats/lists/example",
5 json={"name":"string","position":1},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /chats/lists

Create a chat list

POST /chats/lists — create a personal chat list.

Body · CreateChatListapplication/json
name string · min length: 1 · max length: 50
required
chat_ids array
propertyName anything
Responses
200Successful Response
POST /chats/lists
1curl -X POST "http://localhost:8000/chats/lists" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","chat_ids":["string"]}'
1fetch("http://localhost:8000/chats/lists", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "chat_ids": [
7 "string"
8 ]
9}),
10})
11 .then((res) => res.json())
12 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/chats/lists",
5 json={"name":"string","chat_ids":["string"]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /wands/macro-previews

Try a single macro against a sample event

Run a single macro against a sample event and return what it produced. The teaching sandbox behind the macro reference page. Reads run for real with the viewer's own permissions; anything that writes is simulated (dry_run is forced server-side and is not caller-controllable).

Body · MacroPreviewapplication/json
macro string · min length: 2 · max length: 40
required
args
payload
event_name string · max length: 200
propertyName anything
Responses
200Successful Response
POST /wands/macro-previews
1curl -X POST "http://localhost:8000/wands/macro-previews" \
2 -H "Content-Type: application/json" \
3 -d '{"macro":"string","args":{},"payload":{},"event_name":"string"}'
1fetch("http://localhost:8000/wands/macro-previews", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "macro": "string",
6 "args": {},
7 "payload": {},
8 "event_name": "string"
9}),
10})
11 .then((res) => res.json())
12 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/wands/macro-previews",
5 json={"macro":"string","args":{},"payload":{},"event_name":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
DELETE /mail/accounts/:account_id undocumented

/mail/accounts/:account_id

Parameters
account_id string · path
required
Responses
200Successful Response
DELETE /mail/accounts/example
1curl -X DELETE "http://localhost:8000/mail/accounts/example"
1fetch("http://localhost:8000/mail/accounts/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/mail/accounts/example")
4print(response.json())
200 Example Response
No Body
DELETE /mail/google-clients/:google_client_id undocumented

/mail/google-clients/:google_client_id

DELETE /mail/google-clients/:google_client_id: stop using it, disconnecting its mailboxes.

Parameters
google_client_id string · path
required
Responses
200Successful Response
DELETE /mail/google-clients/example
1curl -X DELETE "http://localhost:8000/mail/google-clients/example"
1fetch("http://localhost:8000/mail/google-clients/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/mail/google-clients/example")
4print(response.json())
200 Example Response
No Body
DELETE /mail/accounts/:account_id/messages/:message_id undocumented

/mail/accounts/:account_id/messages/:message_id

Parameters
account_id string · path
required
message_id string · path
required
Responses
200Successful Response
DELETE /mail/accounts/example/messages/example
1curl -X DELETE "http://localhost:8000/mail/accounts/example/messages/example"
1fetch("http://localhost:8000/mail/accounts/example/messages/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/mail/accounts/example/messages/example")
4print(response.json())
200 Example Response
No Body
DELETE /mail/accounts/:account_id/labels/:label_id undocumented

/mail/accounts/:account_id/labels/:label_id

DELETE /mail/accounts/:account_id/labels/:label_id: remove a label from every message, then the label.

Parameters
account_id string · path
required
label_id string · path
required
Responses
200Successful Response
DELETE /mail/accounts/example/labels/example
1curl -X DELETE "http://localhost:8000/mail/accounts/example/labels/example"
1fetch("http://localhost:8000/mail/accounts/example/labels/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/mail/accounts/example/labels/example")
4print(response.json())
200 Example Response
No Body
DELETE /mail/accounts/:account_id/messages/:message_id/labels/:label_id undocumented

/mail/accounts/:account_id/messages/:message_id/labels/:label_id

DELETE /mail/accounts/:account_id/messages/:message_id/labels/:label_id: take a label off a message.

Parameters
account_id string · path
required
message_id string · path
required
label_id string · path
required
Responses
200Successful Response
DELETE /mail/accounts/example/messages/example/labels/example
1curl -X DELETE "http://localhost:8000/mail/accounts/example/messages/example/labels/example"
1fetch("http://localhost:8000/mail/accounts/example/messages/example/labels/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/mail/accounts/example/messages/example/labels/example")
4print(response.json())
200 Example Response
No Body
DELETE /mail/groups/:group_id/labels/:label_id undocumented

/mail/groups/:group_id/labels/:label_id

DELETE /mail/groups/:group_id/labels/:label_id: remove a shared inbox's label.

Parameters
group_id string · path
required
label_id string · path
required
Responses
200Successful Response
DELETE /mail/groups/example/labels/example
1curl -X DELETE "http://localhost:8000/mail/groups/example/labels/example"
1fetch("http://localhost:8000/mail/groups/example/labels/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/mail/groups/example/labels/example")
4print(response.json())
200 Example Response
No Body
DELETE /mail/groups/:group_id/messages/:message_id/labels/:label_id undocumented

/mail/groups/:group_id/messages/:message_id/labels/:label_id

DELETE /mail/groups/:group_id/messages/:message_id/labels/:label_id: take a label off a shared message.

Parameters
group_id string · path
required
message_id string · path
required
label_id string · path
required
Responses
200Successful Response
DELETE /mail/groups/example/messages/example/labels/example
1curl -X DELETE "http://localhost:8000/mail/groups/example/messages/example/labels/example"
1fetch("http://localhost:8000/mail/groups/example/messages/example/labels/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/mail/groups/example/messages/example/labels/example")
4print(response.json())
200 Example Response
No Body
DELETE /mail/accounts/:account_id/signatures/:signature_id undocumented

/mail/accounts/:account_id/signatures/:signature_id

Parameters
account_id string · path
required
signature_id string · path
required
Responses
200Successful Response
DELETE /mail/accounts/example/signatures/example
1curl -X DELETE "http://localhost:8000/mail/accounts/example/signatures/example"
1fetch("http://localhost:8000/mail/accounts/example/signatures/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/mail/accounts/example/signatures/example")
4print(response.json())
200 Example Response
No Body
DELETE /mail/accounts/:account_id/filters/:filter_id undocumented

/mail/accounts/:account_id/filters/:filter_id

Parameters
account_id string · path
required
filter_id string · path
required
Responses
200Successful Response
DELETE /mail/accounts/example/filters/example
1curl -X DELETE "http://localhost:8000/mail/accounts/example/filters/example"
1fetch("http://localhost:8000/mail/accounts/example/filters/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/mail/accounts/example/filters/example")
4print(response.json())
200 Example Response
No Body
DELETE /mail/accounts/:account_id/blocked-senders/:blocked_id undocumented

/mail/accounts/:account_id/blocked-senders/:blocked_id

Parameters
account_id string · path
required
blocked_id string · path
required
Responses
200Successful Response
DELETE /mail/accounts/example/blocked-senders/example
1curl -X DELETE "http://localhost:8000/mail/accounts/example/blocked-senders/example"
1fetch("http://localhost:8000/mail/accounts/example/blocked-senders/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/mail/accounts/example/blocked-senders/example")
4print(response.json())
200 Example Response
No Body
DELETE /mail/domains/:domain_id undocumented

/mail/domains/:domain_id

Remove a domain (pending typo or live). Cleans the MX box (virtual domain + DKIM, cascading its mailboxes) best-effort, then removes the platform rows. A domain exists on the mail server and the relay only once its ownership was proved, and is never taken off them when another workspace has verified it (core/mail/domains.py remove_from_mail_systems). A pending row removes cleanly and touches nothing outside this workspace.

Parameters
domain_id string · path
required
Responses
200Successful Response
DELETE /mail/domains/example
1curl -X DELETE "http://localhost:8000/mail/domains/example"
1fetch("http://localhost:8000/mail/domains/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/mail/domains/example")
4print(response.json())
200 Example Response
No Body
DELETE /mail/mailboxes/:mailbox_id undocumented

/mail/mailboxes/:mailbox_id

Parameters
mailbox_id string · path
required
Responses
200Successful Response
DELETE /mail/mailboxes/example
1curl -X DELETE "http://localhost:8000/mail/mailboxes/example"
1fetch("http://localhost:8000/mail/mailboxes/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/mail/mailboxes/example")
4print(response.json())
200 Example Response
No Body
DELETE /mail/groups/:group_id undocumented

/mail/groups/:group_id

Remove a shared mailbox, its aliases and its backing mailbox.

Parameters
group_id string · path
required
Responses
200Successful Response
DELETE /mail/groups/example
1curl -X DELETE "http://localhost:8000/mail/groups/example"
1fetch("http://localhost:8000/mail/groups/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/mail/groups/example")
4print(response.json())
200 Example Response
No Body
DELETE /mail/groups/:group_id/members/:member_id undocumented

/mail/groups/:group_id/members/:member_id

Parameters
group_id string · path
required
member_id string · path
required
Responses
200Successful Response
DELETE /mail/groups/example/members/example
1curl -X DELETE "http://localhost:8000/mail/groups/example/members/example"
1fetch("http://localhost:8000/mail/groups/example/members/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/mail/groups/example/members/example")
4print(response.json())
200 Example Response
No Body
DELETE /mail/groups/:group_id/messages/:message_id undocumented

/mail/groups/:group_id/messages/:message_id

Parameters
group_id string · path
required
message_id string · path
required
Responses
200Successful Response
DELETE /mail/groups/example/messages/example
1curl -X DELETE "http://localhost:8000/mail/groups/example/messages/example"
1fetch("http://localhost:8000/mail/groups/example/messages/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/mail/groups/example/messages/example")
4print(response.json())
200 Example Response
No Body
DELETE /mail/drafts/:draft_id undocumented

/mail/drafts/:draft_id

Parameters
draft_id string · path
required
Responses
200Successful Response
DELETE /mail/drafts/example
1curl -X DELETE "http://localhost:8000/mail/drafts/example"
1fetch("http://localhost:8000/mail/drafts/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/mail/drafts/example")
4print(response.json())
200 Example Response
No Body
DELETE /mail/mailboxes/:mailbox_id/outbox-keys/:key_id undocumented

/mail/mailboxes/:mailbox_id/outbox-keys/:key_id

Remove the audit row — only after revoke, same as API keys.

Parameters
mailbox_id string · path
required
key_id string · path
required
Responses
200Successful Response
DELETE /mail/mailboxes/example/outbox-keys/example
1curl -X DELETE "http://localhost:8000/mail/mailboxes/example/outbox-keys/example"
1fetch("http://localhost:8000/mail/mailboxes/example/outbox-keys/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/mail/mailboxes/example/outbox-keys/example")
4print(response.json())
200 Example Response
No Body
GET /mail/oauth/:provider/authorize undocumented

/mail/oauth/:provider/authorize

Parameters
provider string · path
required
Responses
200Successful Response
GET /mail/oauth/example/authorize
1curl "http://localhost:8000/mail/oauth/example/authorize"
1fetch("http://localhost:8000/mail/oauth/example/authorize")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/mail/oauth/example/authorize")
4print(response.json())
200 Example Response
No Body
GET /mail/oauth/:provider/callback undocumented

/mail/oauth/:provider/callback

Parameters
provider string · path
required
Responses
200Successful Response
GET /mail/oauth/example/callback
1curl "http://localhost:8000/mail/oauth/example/callback"
1fetch("http://localhost:8000/mail/oauth/example/callback")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/mail/oauth/example/callback")
4print(response.json())
200 Example Response
No Body
GET /mail/accounts undocumented

/mail/accounts

GET /mail/accounts: this member's connected accounts. Each row carries ``consumer_reason``, which is empty for every account that is fine and carries the explanation for one that is not. Accounts connected before the consumer-domain rule existed keep their rows and their history: deleting them would take somebody's mail away to enforce a rule made after they connected. They stop syncing and say why instead.

Responses
200Successful Response
GET /mail/accounts
1curl "http://localhost:8000/mail/accounts"
1fetch("http://localhost:8000/mail/accounts")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/mail/accounts")
4print(response.json())
200 Example Response
No Body
GET /mail/google-clients undocumented

/mail/google-clients

GET /mail/google-clients: the Google apps this workspace's mailboxes connect through.

Responses
200Successful Response
GET /mail/google-clients
1curl "http://localhost:8000/mail/google-clients"
1fetch("http://localhost:8000/mail/google-clients")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/mail/google-clients")
4print(response.json())
200 Example Response
No Body
GET /mail/recipients undocumented

/mail/recipients

Typeahead source for the compose recipient fields: workspace members who have been assigned a mail account (their own mailbox, or a connected Google Workspace or Microsoft 365 account). The contacts directory — people already emailed or received from — is merged client-side from the contacts app, so mail never reads another app's tables (rule 6).

Responses
200Successful Response
GET /mail/recipients
1curl "http://localhost:8000/mail/recipients"
1fetch("http://localhost:8000/mail/recipients")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/mail/recipients")
4print(response.json())
200 Example Response
No Body
GET /mail/unified/messages undocumented

/mail/unified/messages

One folder across the member's unified accounts and shared inboxes, newest first, paged.

Responses
200Successful Response
GET /mail/unified/messages
1curl "http://localhost:8000/mail/unified/messages"
1fetch("http://localhost:8000/mail/unified/messages")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/mail/unified/messages")
4print(response.json())
200 Example Response
No Body
GET /mail/accounts/:account_id/messages undocumented

/mail/accounts/:account_id/messages

Parameters
account_id string · path
required
Responses
200Successful Response
GET /mail/accounts/example/messages
1curl "http://localhost:8000/mail/accounts/example/messages"
1fetch("http://localhost:8000/mail/accounts/example/messages")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/mail/accounts/example/messages")
4print(response.json())
200 Example Response
No Body
GET /mail/accounts/:account_id/messages/:message_id undocumented

/mail/accounts/:account_id/messages/:message_id

Parameters
account_id string · path
required
message_id string · path
required
Responses
200Successful Response
GET /mail/accounts/example/messages/example
1curl "http://localhost:8000/mail/accounts/example/messages/example"
1fetch("http://localhost:8000/mail/accounts/example/messages/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/mail/accounts/example/messages/example")
4print(response.json())
200 Example Response
No Body
GET /mail/accounts/:account_id/messages/:message_id/attachments/:index undocumented

/mail/accounts/:account_id/messages/:message_id/attachments/:index

Stream one attachment of a message as a download. Bytes live only in the IMAP message (not our storage), so they're fetched from the provider on demand.

Parameters
account_id string · path
required
message_id string · path
required
index string · path
required
Responses
200Successful Response
GET /mail/accounts/example/messages/example/attachments/example
1curl "http://localhost:8000/mail/accounts/example/messages/example/attachments/example"
1fetch("http://localhost:8000/mail/accounts/example/messages/example/attachments/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/mail/accounts/example/messages/example/attachments/example")
4print(response.json())
200 Example Response
No Body
GET /mail/accounts/:account_id/messages/:message_id/calendar undocumented

/mail/accounts/:account_id/messages/:message_id/calendar

Parse the calendar invite(s) (.ics) attached to a message into platform-calendar event fields, so the client can add them via POST /meetings. Attachment bytes are only fetched from Saasmail (MX) inboxes — the same limitation as attachment download.

Parameters
account_id string · path
required
message_id string · path
required
Responses
200Successful Response
GET /mail/accounts/example/messages/example/calendar
1curl "http://localhost:8000/mail/accounts/example/messages/example/calendar"
1fetch("http://localhost:8000/mail/accounts/example/messages/example/calendar")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/mail/accounts/example/messages/example/calendar")
4print(response.json())
200 Example Response
No Body
GET /mail/accounts/:account_id/folders undocumented

/mail/accounts/:account_id/folders

Parameters
account_id string · path
required
Responses
200Successful Response
GET /mail/accounts/example/folders
1curl "http://localhost:8000/mail/accounts/example/folders"
1fetch("http://localhost:8000/mail/accounts/example/folders")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/mail/accounts/example/folders")
4print(response.json())
200 Example Response
No Body
GET /mail/labels undocumented

/mail/labels

GET /mail/labels: the labels across every inbox in All inboxes, one entry per name.

Responses
200Successful Response
GET /mail/labels
1curl "http://localhost:8000/mail/labels"
1fetch("http://localhost:8000/mail/labels")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/mail/labels")
4print(response.json())
200 Example Response
No Body
GET /mail/accounts/:account_id/labels undocumented

/mail/accounts/:account_id/labels

GET /mail/accounts/:account_id/labels: the mailbox's labels, each with its message count.

Parameters
account_id string · path
required
Responses
200Successful Response
GET /mail/accounts/example/labels
1curl "http://localhost:8000/mail/accounts/example/labels"
1fetch("http://localhost:8000/mail/accounts/example/labels")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/mail/accounts/example/labels")
4print(response.json())
200 Example Response
No Body
GET /mail/groups/:group_id/labels undocumented

/mail/groups/:group_id/labels

GET /mail/groups/:group_id/labels: the shared inbox's labels, each with its message count.

Parameters
group_id string · path
required
Responses
200Successful Response
GET /mail/groups/example/labels
1curl "http://localhost:8000/mail/groups/example/labels"
1fetch("http://localhost:8000/mail/groups/example/labels")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/mail/groups/example/labels")
4print(response.json())
200 Example Response
No Body
GET /mail/accounts/:account_id/signatures undocumented

/mail/accounts/:account_id/signatures

Parameters
account_id string · path
required
Responses
200Successful Response
GET /mail/accounts/example/signatures
1curl "http://localhost:8000/mail/accounts/example/signatures"
1fetch("http://localhost:8000/mail/accounts/example/signatures")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/mail/accounts/example/signatures")
4print(response.json())
200 Example Response
No Body
GET /mail/accounts/:account_id/filters undocumented

/mail/accounts/:account_id/filters

Parameters
account_id string · path
required
Responses
200Successful Response
GET /mail/accounts/example/filters
1curl "http://localhost:8000/mail/accounts/example/filters"
1fetch("http://localhost:8000/mail/accounts/example/filters")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/mail/accounts/example/filters")
4print(response.json())
200 Example Response
No Body
GET /mail/accounts/:account_id/blocked-senders undocumented

/mail/accounts/:account_id/blocked-senders

Parameters
account_id string · path
required
Responses
200Successful Response
GET /mail/accounts/example/blocked-senders
1curl "http://localhost:8000/mail/accounts/example/blocked-senders"
1fetch("http://localhost:8000/mail/accounts/example/blocked-senders")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/mail/accounts/example/blocked-senders")
4print(response.json())
200 Example Response
No Body
GET /mail/domains undocumented

/mail/domains

Responses
200Successful Response
GET /mail/domains
1curl "http://localhost:8000/mail/domains"
1fetch("http://localhost:8000/mail/domains")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/mail/domains")
4print(response.json())
200 Example Response
No Body
GET /mail/domains/:domain_id/dmarc undocumented

/mail/domains/:domain_id/dmarc

GET /mail/domains/:domain_id/dmarc: senders failing DMARC for this domain this week.

Parameters
domain_id string · path
required
Responses
200Successful Response
GET /mail/domains/example/dmarc
1curl "http://localhost:8000/mail/domains/example/dmarc"
1fetch("http://localhost:8000/mail/domains/example/dmarc")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/mail/domains/example/dmarc")
4print(response.json())
200 Example Response
No Body
GET /mail/mailboxes undocumented

/mail/mailboxes

Responses
200Successful Response
GET /mail/mailboxes
1curl "http://localhost:8000/mail/mailboxes"
1fetch("http://localhost:8000/mail/mailboxes")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/mail/mailboxes")
4print(response.json())
200 Example Response
No Body
GET /mail/imports undocumented

/mail/imports

Responses
200Successful Response
GET /mail/imports
1curl "http://localhost:8000/mail/imports"
1fetch("http://localhost:8000/mail/imports")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/mail/imports")
4print(response.json())
200 Example Response
No Body
GET /mail/imports/:import_id undocumented

/mail/imports/:import_id

Parameters
import_id string · path
required
Responses
200Successful Response
GET /mail/imports/example
1curl "http://localhost:8000/mail/imports/example"
1fetch("http://localhost:8000/mail/imports/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/mail/imports/example")
4print(response.json())
200 Example Response
No Body
GET /mail/groups undocumented

/mail/groups

Responses
200Successful Response
GET /mail/groups
1curl "http://localhost:8000/mail/groups"
1fetch("http://localhost:8000/mail/groups")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/mail/groups")
4print(response.json())
200 Example Response
No Body
GET /mail/groups/:group_id/members undocumented

/mail/groups/:group_id/members

Parameters
group_id string · path
required
Responses
200Successful Response
GET /mail/groups/example/members
1curl "http://localhost:8000/mail/groups/example/members"
1fetch("http://localhost:8000/mail/groups/example/members")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/mail/groups/example/members")
4print(response.json())
200 Example Response
No Body
GET /mail/groups/:group_id/drafts undocumented

/mail/groups/:group_id/drafts

In-progress (unsent) drafts for a group — co-editors open these to edit together. Reply tier required: read-only members don't see drafts still being composed.

Parameters
group_id string · path
required
Responses
200Successful Response
GET /mail/groups/example/drafts
1curl "http://localhost:8000/mail/groups/example/drafts"
1fetch("http://localhost:8000/mail/groups/example/drafts")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/mail/groups/example/drafts")
4print(response.json())
200 Example Response
No Body
GET /mail/groups/:group_id/thread undocumented

/mail/groups/:group_id/thread

The group conversation — sent drafts in order, each showing who sent it.

Parameters
group_id string · path
required
Responses
200Successful Response
GET /mail/groups/example/thread
1curl "http://localhost:8000/mail/groups/example/thread"
1fetch("http://localhost:8000/mail/groups/example/thread")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/mail/groups/example/thread")
4print(response.json())
200 Example Response
No Body
GET /mail/groups/:group_id/messages undocumented

/mail/groups/:group_id/messages

Parameters
group_id string · path
required
Responses
200Successful Response
GET /mail/groups/example/messages
1curl "http://localhost:8000/mail/groups/example/messages"
1fetch("http://localhost:8000/mail/groups/example/messages")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/mail/groups/example/messages")
4print(response.json())
200 Example Response
No Body
GET /mail/groups/:group_id/messages/:message_id undocumented

/mail/groups/:group_id/messages/:message_id

Parameters
group_id string · path
required
message_id string · path
required
Responses
200Successful Response
GET /mail/groups/example/messages/example
1curl "http://localhost:8000/mail/groups/example/messages/example"
1fetch("http://localhost:8000/mail/groups/example/messages/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/mail/groups/example/messages/example")
4print(response.json())
200 Example Response
No Body
GET /mail/groups/:group_id/messages/:message_id/attachments/:index undocumented

/mail/groups/:group_id/messages/:message_id/attachments/:index

Parameters
group_id string · path
required
message_id string · path
required
index string · path
required
Responses
200Successful Response
GET /mail/groups/example/messages/example/attachments/example
1curl "http://localhost:8000/mail/groups/example/messages/example/attachments/example"
1fetch("http://localhost:8000/mail/groups/example/messages/example/attachments/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/mail/groups/example/messages/example/attachments/example")
4print(response.json())
200 Example Response
No Body
GET /mail/groups/:group_id/messages/:message_id/calendar undocumented

/mail/groups/:group_id/messages/:message_id/calendar

Parse the calendar invite(s) (.ics) attached to a shared-inbox message into platform-calendar event fields (same as the personal-account endpoint).

Parameters
group_id string · path
required
message_id string · path
required
Responses
200Successful Response
GET /mail/groups/example/messages/example/calendar
1curl "http://localhost:8000/mail/groups/example/messages/example/calendar"
1fetch("http://localhost:8000/mail/groups/example/messages/example/calendar")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/mail/groups/example/messages/example/calendar")
4print(response.json())
200 Example Response
No Body
GET /mail/drafts undocumented

/mail/drafts

The member's own personal (non-group) unsent drafts, newest first.

Responses
200Successful Response
GET /mail/drafts
1curl "http://localhost:8000/mail/drafts"
1fetch("http://localhost:8000/mail/drafts")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/mail/drafts")
4print(response.json())
200 Example Response
No Body
GET /mail/mailboxes/:mailbox_id/outbox-keys undocumented

/mail/mailboxes/:mailbox_id/outbox-keys

List a mailbox's outbox keys (prefix, name, status, last used) — never the secret. 404 for a caller who fails the mint-identity gate.

Parameters
mailbox_id string · path
required
Responses
200Successful Response
GET /mail/mailboxes/example/outbox-keys
1curl "http://localhost:8000/mail/mailboxes/example/outbox-keys"
1fetch("http://localhost:8000/mail/mailboxes/example/outbox-keys")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/mail/mailboxes/example/outbox-keys")
4print(response.json())
200 Example Response
No Body
PATCH /mail/accounts/:account_id

Update mail account

Parameters
account_id string · path
required
Body · UpdateAccountapplication/json
display_name string · max length: 200
show_in_unified
propertyName anything
Responses
200Successful Response
PATCH /mail/accounts/example
1curl -X PATCH "http://localhost:8000/mail/accounts/example" \
2 -H "Content-Type: application/json" \
3 -d '{"display_name":"string","show_in_unified":{}}'
1fetch("http://localhost:8000/mail/accounts/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "display_name": "string",
6 "show_in_unified": {}
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/mail/accounts/example",
5 json={"display_name":"string","show_in_unified":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /mail/google-clients/:google_client_id

Update a Google app

PATCH /mail/google-clients/:google_client_id: change its domains, or paste a rotated secret.

Parameters
google_client_id string · path
required
Body · UpdateGoogleClientapplication/json
client_id string · min length: 1 · max length: 255
client_secret string · min length: 1 · max length: 255
domains array
propertyName anything
Responses
200Successful Response
PATCH /mail/google-clients/example
1curl -X PATCH "http://localhost:8000/mail/google-clients/example" \
2 -H "Content-Type: application/json" \
3 -d '{"client_id":"string","client_secret":"string","domains":["string"]}'
1fetch("http://localhost:8000/mail/google-clients/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "client_id": "string",
6 "client_secret": "string",
7 "domains": [
8 "string"
9 ]
10}),
11})
12 .then((res) => res.json())
13 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/mail/google-clients/example",
5 json={"client_id":"string","client_secret":"string","domains":["string"]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /mail/accounts/:account_id/messages/:message_id

Modify a message

Parameters
account_id string · path
required
message_id string · path
required
Body · UpdateMessageapplication/json
is_read
is_starred
folder string · min length: 1 · max length: 100
propertyName anything
Responses
200Successful Response
PATCH /mail/accounts/example/messages/example
1curl -X PATCH "http://localhost:8000/mail/accounts/example/messages/example" \
2 -H "Content-Type: application/json" \
3 -d '{"is_read":{},"is_starred":{},"folder":"string"}'
1fetch("http://localhost:8000/mail/accounts/example/messages/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "is_read": {},
6 "is_starred": {},
7 "folder": "string"
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/mail/accounts/example/messages/example",
5 json={"is_read":{},"is_starred":{},"folder":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /mail/accounts/:account_id/labels/:label_id

Rename a label

PATCH /mail/accounts/:account_id/labels/:label_id: rename a label.

Parameters
account_id string · path
required
label_id string · path
required
Body · UpdateLabelapplication/json
name string · min length: 1 · max length: 100
required
propertyName anything
Responses
200Successful Response
PATCH /mail/accounts/example/labels/example
1curl -X PATCH "http://localhost:8000/mail/accounts/example/labels/example" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string"}'
1fetch("http://localhost:8000/mail/accounts/example/labels/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/mail/accounts/example/labels/example",
5 json={"name":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /mail/groups/:group_id/labels/:label_id

Rename a shared-inbox label

PATCH /mail/groups/:group_id/labels/:label_id: rename a shared inbox's label.

Parameters
group_id string · path
required
label_id string · path
required
Body · UpdateLabelapplication/json
name string · min length: 1 · max length: 100
required
propertyName anything
Responses
200Successful Response
PATCH /mail/groups/example/labels/example
1curl -X PATCH "http://localhost:8000/mail/groups/example/labels/example" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string"}'
1fetch("http://localhost:8000/mail/groups/example/labels/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/mail/groups/example/labels/example",
5 json={"name":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /mail/groups/:group_id undocumented

/mail/groups/:group_id

Cosmetic group settings. Any member may set the shared inbox's badge color; only admins may rename it.

Parameters
group_id string · path
required
Responses
200Successful Response
PATCH /mail/groups/example
1curl -X PATCH "http://localhost:8000/mail/groups/example"
1fetch("http://localhost:8000/mail/groups/example", { method: "PATCH" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.patch("http://localhost:8000/mail/groups/example")
4print(response.json())
200 Example Response
No Body
PATCH /mail/groups/:group_id/messages/:message_id

Modify a shared-inbox message

Parameters
group_id string · path
required
message_id string · path
required
Body · UpdateMessageapplication/json
is_read
is_starred
folder string · min length: 1 · max length: 100
propertyName anything
Responses
200Successful Response
PATCH /mail/groups/example/messages/example
1curl -X PATCH "http://localhost:8000/mail/groups/example/messages/example" \
2 -H "Content-Type: application/json" \
3 -d '{"is_read":{},"is_starred":{},"folder":"string"}'
1fetch("http://localhost:8000/mail/groups/example/messages/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "is_read": {},
6 "is_starred": {},
7 "folder": "string"
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/mail/groups/example/messages/example",
5 json={"is_read":{},"is_starred":{},"folder":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /mail/google-clients

Add a Google app

POST /mail/google-clients: save the Internal app a Workspace admin made in their own Google org.

Body · CreateGoogleClientapplication/json
client_id string · min length: 1 · max length: 255
required
client_secret string · min length: 1 · max length: 255
required
domains array
required
propertyName anything
Responses
200Successful Response
POST /mail/google-clients
1curl -X POST "http://localhost:8000/mail/google-clients" \
2 -H "Content-Type: application/json" \
3 -d '{"client_id":"string","client_secret":"string","domains":["string"]}'
1fetch("http://localhost:8000/mail/google-clients", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "client_id": "string",
6 "client_secret": "string",
7 "domains": [
8 "string"
9 ]
10}),
11})
12 .then((res) => res.json())
13 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/mail/google-clients",
5 json={"client_id":"string","client_secret":"string","domains":["string"]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /mail/accounts/:account_id/messages

Send a message

Parameters
account_id string · path
required
Body · SendMessageapplication/json
to array
required
cc array
bcc array
subject string · max length: 998
required
body_text string
body_html string
is_draft
signature_id string · min length: 1
attachments array
in_reply_to string · max length: 998
references string · max length: 8000
propertyName anything
Responses
200Successful Response
POST /mail/accounts/example/messages
1curl -X POST "http://localhost:8000/mail/accounts/example/messages" \
2 -H "Content-Type: application/json" \
3 -d '{"to":[{"email":"user@example.com","name":"string"}],"cc":[{"email":"user@example.com","name":"string"}],"bcc":[{"email":"user@example.com","name":"string"}],"subject":"string","body_text":"string","body_html":"string","is_draft":{},"signature_id":"string","attachments":[{"storage_key":"string","filename":"string","content_type":"string","size":1}],"in_reply_to":"string","references":"string"}'
1fetch("http://localhost:8000/mail/accounts/example/messages", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "to": [
6 {
7 "email": "user@example.com",
8 "name": "string"
9 }
10 ],
11 "cc": [
12 {
13 "email": "user@example.com",
14 "name": "string"
15 }
16 ],
17 "bcc": [
18 {
19 "email": "user@example.com",
20 "name": "string"
21 }
22 ],
23 "subject": "string",
24 "body_text": "string",
25 "body_html": "string",
26 "is_draft": {},
27 "signature_id": "string",
28 "attachments": [
29 {
30 "storage_key": "string",
31 "filename": "string",
32 "content_type": "string",
33 "size": 1
34 }
35 ],
36 "in_reply_to": "string",
37 "references": "string"
38}),
39})
40 .then((res) => res.json())
41 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/mail/accounts/example/messages",
5 json={"to":[{"email":"user@example.com","name":"string"}],"cc":[{"email":"user@example.com","name":"string"}],"bcc":[{"email":"user@example.com","name":"string"}],"subject":"string","body_text":"string","body_html":"string","is_draft":{},"signature_id":"string","attachments":[{"storage_key":"string","filename":"string","content_type":"string","size":1}],"in_reply_to":"string","references":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /mail/accounts/:account_id/labels

Create a label

POST /mail/accounts/:account_id/labels: a new label.

Parameters
account_id string · path
required
Body · CreateLabelapplication/json
name string · min length: 1 · max length: 100
required
propertyName anything
Responses
200Successful Response
POST /mail/accounts/example/labels
1curl -X POST "http://localhost:8000/mail/accounts/example/labels" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string"}'
1fetch("http://localhost:8000/mail/accounts/example/labels", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/mail/accounts/example/labels",
5 json={"name":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /mail/accounts/:account_id/messages/:message_id/labels

Label a message

POST /mail/accounts/:account_id/messages/:message_id/labels: put a label on a message.

Parameters
account_id string · path
required
message_id string · path
required
Body · AddMessageLabelapplication/json
label_id string · min length: 1 · max length: 64
required
propertyName anything
Responses
200Successful Response
POST /mail/accounts/example/messages/example/labels
1curl -X POST "http://localhost:8000/mail/accounts/example/messages/example/labels" \
2 -H "Content-Type: application/json" \
3 -d '{"label_id":"string"}'
1fetch("http://localhost:8000/mail/accounts/example/messages/example/labels", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "label_id": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/mail/accounts/example/messages/example/labels",
5 json={"label_id":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /mail/groups/:group_id/labels

Create a shared-inbox label

POST /mail/groups/:group_id/labels: a new label in the shared inbox.

Parameters
group_id string · path
required
Body · CreateLabelapplication/json
name string · min length: 1 · max length: 100
required
propertyName anything
Responses
200Successful Response
POST /mail/groups/example/labels
1curl -X POST "http://localhost:8000/mail/groups/example/labels" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string"}'
1fetch("http://localhost:8000/mail/groups/example/labels", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/mail/groups/example/labels",
5 json={"name":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /mail/groups/:group_id/messages/:message_id/labels

Label a shared-inbox message

POST /mail/groups/:group_id/messages/:message_id/labels: put a label on a shared message.

Parameters
group_id string · path
required
message_id string · path
required
Body · AddMessageLabelapplication/json
label_id string · min length: 1 · max length: 64
required
propertyName anything
Responses
200Successful Response
POST /mail/groups/example/messages/example/labels
1curl -X POST "http://localhost:8000/mail/groups/example/messages/example/labels" \
2 -H "Content-Type: application/json" \
3 -d '{"label_id":"string"}'
1fetch("http://localhost:8000/mail/groups/example/messages/example/labels", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "label_id": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/mail/groups/example/messages/example/labels",
5 json={"label_id":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /mail/accounts/:account_id/signatures

Create signature

Parameters
account_id string · path
required
Body · CreateSignatureapplication/json
name string · min length: 1 · max length: 100
required
body_html string · max length: 40000
required
is_default
propertyName anything
Responses
200Successful Response
POST /mail/accounts/example/signatures
1curl -X POST "http://localhost:8000/mail/accounts/example/signatures" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","body_html":"string","is_default":{}}'
1fetch("http://localhost:8000/mail/accounts/example/signatures", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "body_html": "string",
7 "is_default": {}
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/mail/accounts/example/signatures",
5 json={"name":"string","body_html":"string","is_default":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /mail/accounts/:account_id/images undocumented

/mail/accounts/:account_id/images

POST an image for a signature or a composed message. Public on purpose, because a recipient's mail client fetches it with no account.

Parameters
account_id string · path
required
Responses
200Successful Response
POST /mail/accounts/example/images
1curl -X POST "http://localhost:8000/mail/accounts/example/images"
1fetch("http://localhost:8000/mail/accounts/example/images", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/mail/accounts/example/images")
4print(response.json())
200 Example Response
No Body
POST /mail/accounts/:account_id/filters

Create filter

Parameters
account_id string · path
required
Body · CreateFilterapplication/json
name string · min length: 1 · max length: 200
required
conditions object
required
actions object
required
propertyName anything
Responses
200Successful Response
POST /mail/accounts/example/filters
1curl -X POST "http://localhost:8000/mail/accounts/example/filters" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","conditions":{"from_address":"string","to_address":"string","subject_contains":"string","has_attachment":{}},"actions":{"move_to":"string","mark_read":{},"star":{},"archive":{}}}'
1fetch("http://localhost:8000/mail/accounts/example/filters", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "conditions": {
7 "from_address": "string",
8 "to_address": "string",
9 "subject_contains": "string",
10 "has_attachment": {}
11 },
12 "actions": {
13 "move_to": "string",
14 "mark_read": {},
15 "star": {},
16 "archive": {}
17 }
18}),
19})
20 .then((res) => res.json())
21 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/mail/accounts/example/filters",
5 json={"name":"string","conditions":{"from_address":"string","to_address":"string","subject_contains":"string","has_attachment":{}},"actions":{"move_to":"string","mark_read":{},"star":{},"archive":{}}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /mail/accounts/:account_id/blocked-senders

Block a sender

Parameters
account_id string · path
required
Body · CreateBlockedSenderapplication/json
blocked string · min length: 3 · max length: 254
required
propertyName anything
Responses
200Successful Response
POST /mail/accounts/example/blocked-senders
1curl -X POST "http://localhost:8000/mail/accounts/example/blocked-senders" \
2 -H "Content-Type: application/json" \
3 -d '{"blocked":"string"}'
1fetch("http://localhost:8000/mail/accounts/example/blocked-senders", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "blocked": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/mail/accounts/example/blocked-senders",
5 json={"blocked":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /mail/domains/:domain_id/verifications undocumented

/mail/domains/:domain_id/verifications

Check DNS for the ownership token (+ the mail records). Only marks the domain verified/usable once the ownership TXT resolves.

Parameters
domain_id string · path
required
Responses
200Successful Response
POST /mail/domains/example/verifications
1curl -X POST "http://localhost:8000/mail/domains/example/verifications"
1fetch("http://localhost:8000/mail/domains/example/verifications", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/mail/domains/example/verifications")
4print(response.json())
200 Example Response
No Body
POST /mail/drafts

Create draft

Body · SaveDraftapplication/json
subject string · max length: 998
body_html string
recipients object
attachments array
group_id string · min length: 1 · max length: 64
account_id string · min length: 1 · max length: 64
in_reply_to string · max length: 998
references string · max length: 8000
quoted_html string
send_at
propertyName anything
Responses
200Successful Response
POST /mail/drafts
1curl -X POST "http://localhost:8000/mail/drafts" \
2 -H "Content-Type: application/json" \
3 -d '{"subject":"string","body_html":"string","recipients":{"to":["user@example.com"],"cc":["user@example.com"],"bcc":["user@example.com"]},"attachments":[{"storage_key":"string","filename":"string","content_type":"string","size":1}],"group_id":"string","account_id":"string","in_reply_to":"string","references":"string","quoted_html":"string","send_at":"2024-01-01T12:00:00Z"}'
1fetch("http://localhost:8000/mail/drafts", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "subject": "string",
6 "body_html": "string",
7 "recipients": {
8 "to": [
9 "user@example.com"
10 ],
11 "cc": [
12 "user@example.com"
13 ],
14 "bcc": [
15 "user@example.com"
16 ]
17 },
18 "attachments": [
19 {
20 "storage_key": "string",
21 "filename": "string",
22 "content_type": "string",
23 "size": 1
24 }
25 ],
26 "group_id": "string",
27 "account_id": "string",
28 "in_reply_to": "string",
29 "references": "string",
30 "quoted_html": "string",
31 "send_at": "2024-01-01T12:00:00Z"
32}),
33})
34 .then((res) => res.json())
35 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/mail/drafts",
5 json={"subject":"string","body_html":"string","recipients":{"to":["user@example.com"],"cc":["user@example.com"],"bcc":["user@example.com"]},"attachments":[{"storage_key":"string","filename":"string","content_type":"string","size":1}],"group_id":"string","account_id":"string","in_reply_to":"string","references":"string","quoted_html":"string","send_at":"2024-01-01T12:00:00Z"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /mail/drafts/:draft_id/send

Send draft

Parameters
draft_id string · path
required
Body · SendDraftapplication/json
subject string · max length: 998
body_html string
recipients object
propertyName anything
Responses
200Successful Response
POST /mail/drafts/example/send
1curl -X POST "http://localhost:8000/mail/drafts/example/send" \
2 -H "Content-Type: application/json" \
3 -d '{"subject":"string","body_html":"string","recipients":{"to":["user@example.com"],"cc":["user@example.com"],"bcc":["user@example.com"]}}'
1fetch("http://localhost:8000/mail/drafts/example/send", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "subject": "string",
6 "body_html": "string",
7 "recipients": {
8 "to": [
9 "user@example.com"
10 ],
11 "cc": [
12 "user@example.com"
13 ],
14 "bcc": [
15 "user@example.com"
16 ]
17 }
18}),
19})
20 .then((res) => res.json())
21 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/mail/drafts/example/send",
5 json={"subject":"string","body_html":"string","recipients":{"to":["user@example.com"],"cc":["user@example.com"],"bcc":["user@example.com"]}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /mail/accounts/:account_id/signatures/:signature_id

Update signature

Parameters
account_id string · path
required
signature_id string · path
required
Body · UpdateSignatureapplication/json
name string · min length: 1 · max length: 100
body_html string · max length: 40000
is_default
propertyName anything
Responses
200Successful Response
PUT /mail/accounts/example/signatures/example
1curl -X PUT "http://localhost:8000/mail/accounts/example/signatures/example" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","body_html":"string","is_default":{}}'
1fetch("http://localhost:8000/mail/accounts/example/signatures/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "body_html": "string",
7 "is_default": {}
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/mail/accounts/example/signatures/example",
5 json={"name":"string","body_html":"string","is_default":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /mail/drafts/:draft_id

Save draft

Parameters
draft_id string · path
required
Body · SaveDraftapplication/json
subject string · max length: 998
body_html string
recipients object
attachments array
group_id string · min length: 1 · max length: 64
account_id string · min length: 1 · max length: 64
in_reply_to string · max length: 998
references string · max length: 8000
quoted_html string
send_at
propertyName anything
Responses
200Successful Response
PUT /mail/drafts/example
1curl -X PUT "http://localhost:8000/mail/drafts/example" \
2 -H "Content-Type: application/json" \
3 -d '{"subject":"string","body_html":"string","recipients":{"to":["user@example.com"],"cc":["user@example.com"],"bcc":["user@example.com"]},"attachments":[{"storage_key":"string","filename":"string","content_type":"string","size":1}],"group_id":"string","account_id":"string","in_reply_to":"string","references":"string","quoted_html":"string","send_at":"2024-01-01T12:00:00Z"}'
1fetch("http://localhost:8000/mail/drafts/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "subject": "string",
6 "body_html": "string",
7 "recipients": {
8 "to": [
9 "user@example.com"
10 ],
11 "cc": [
12 "user@example.com"
13 ],
14 "bcc": [
15 "user@example.com"
16 ]
17 },
18 "attachments": [
19 {
20 "storage_key": "string",
21 "filename": "string",
22 "content_type": "string",
23 "size": 1
24 }
25 ],
26 "group_id": "string",
27 "account_id": "string",
28 "in_reply_to": "string",
29 "references": "string",
30 "quoted_html": "string",
31 "send_at": "2024-01-01T12:00:00Z"
32}),
33})
34 .then((res) => res.json())
35 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/mail/drafts/example",
5 json={"subject":"string","body_html":"string","recipients":{"to":["user@example.com"],"cc":["user@example.com"],"bcc":["user@example.com"]},"attachments":[{"storage_key":"string","filename":"string","content_type":"string","size":1}],"group_id":"string","account_id":"string","in_reply_to":"string","references":"string","quoted_html":"string","send_at":"2024-01-01T12:00:00Z"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /mail/mailboxes/:mailbox_id/outbox-keys/:key_id/secret undocumented

/mail/mailboxes/:mailbox_id/outbox-keys/:key_id/secret

Replace the secret; the old one dies now. New secret shown once.

Parameters
mailbox_id string · path
required
key_id string · path
required
Responses
200Successful Response
PUT /mail/mailboxes/example/outbox-keys/example/secret
1curl -X PUT "http://localhost:8000/mail/mailboxes/example/outbox-keys/example/secret"
1fetch("http://localhost:8000/mail/mailboxes/example/outbox-keys/example/secret", { method: "PUT" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.put("http://localhost:8000/mail/mailboxes/example/outbox-keys/example/secret")
4print(response.json())
200 Example Response
No Body
POST /exchanges

Send mail as a hosted mailbox

Send as a hosted mailbox. authz_exchange_send already passed the slk_ (steps 1-3 of the auth order); this handler runs steps 4-6 — the outbox key must hash to a live key on an active MX mailbox in this workspace — then validates the body, applies limits and idempotency, and submits through the existing MX path (postfix :587 as the mailbox, copy in Sent).

Body · CreateExchangeapplication/json
to array
required
cc array
bcc array
subject string · max length: 998
required
html string
text string
from_name string · max length: 200
reply_to string · max length: 254 · email
attachments array
in_reply_to string · max length: 998
references string · max length: 8000
propertyName anything
Responses
200Successful Response
POST /exchanges
1curl -X POST "http://localhost:8000/exchanges" \
2 -H "Content-Type: application/json" \
3 -d '{"to":["user@example.com"],"cc":["user@example.com"],"bcc":["user@example.com"],"subject":"string","html":"string","text":"string","from_name":"string","reply_to":"user@example.com","attachments":[{"filename":"string","content_type":"string","content_base64":"string"}],"in_reply_to":"string","references":"string"}'
1fetch("http://localhost:8000/exchanges", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "to": [
6 "user@example.com"
7 ],
8 "cc": [
9 "user@example.com"
10 ],
11 "bcc": [
12 "user@example.com"
13 ],
14 "subject": "string",
15 "html": "string",
16 "text": "string",
17 "from_name": "string",
18 "reply_to": "user@example.com",
19 "attachments": [
20 {
21 "filename": "string",
22 "content_type": "string",
23 "content_base64": "string"
24 }
25 ],
26 "in_reply_to": "string",
27 "references": "string"
28}),
29})
30 .then((res) => res.json())
31 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/exchanges",
5 json={"to":["user@example.com"],"cc":["user@example.com"],"bcc":["user@example.com"],"subject":"string","html":"string","text":"string","from_name":"string","reply_to":"user@example.com","attachments":[{"filename":"string","content_type":"string","content_base64":"string"}],"in_reply_to":"string","references":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /mail/mailboxes/:mailbox_id/outbox-keys

Mint an outbox key

Mint a named key for this shared mailbox. The secret appears in this response only; the row stores its sha256. kind is always 'shared' now (personal mailboxes have no keys) and the send path re-checks it.

Parameters
mailbox_id string · path
required
Body · MintOutboxKeyapplication/json
name string · min length: 1 · max length: 100
required
expires_at string · max length: 64
propertyName anything
Responses
200Successful Response
POST /mail/mailboxes/example/outbox-keys
1curl -X POST "http://localhost:8000/mail/mailboxes/example/outbox-keys" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","expires_at":"string"}'
1fetch("http://localhost:8000/mail/mailboxes/example/outbox-keys", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "expires_at": "string"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/mail/mailboxes/example/outbox-keys",
5 json={"name":"string","expires_at":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /mail/mailboxes/:mailbox_id/outbox-keys/:key_id

Rename or revoke an outbox key

Rename and/or revoke a key. Revocation is soft and takes effect on the key's next send; the row stays as an audit record until deleted.

Parameters
mailbox_id string · path
required
key_id string · path
required
Body · UpdateOutboxKeyapplication/json
name string · min length: 1 · max length: 100
status string
propertyName anything
Responses
200Successful Response
PUT /mail/mailboxes/example/outbox-keys/example
1curl -X PUT "http://localhost:8000/mail/mailboxes/example/outbox-keys/example" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","status":"string"}'
1fetch("http://localhost:8000/mail/mailboxes/example/outbox-keys/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "status": "string"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/mail/mailboxes/example/outbox-keys/example",
5 json={"name":"string","status":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /mail/domains/:domain_id

Set domain catch-all

Set/clear the wildcard catch-all address for a domain.

Parameters
domain_id string · path
required
Body · SetCatchAllapplication/json
catch_all_to string · max length: 254
required
propertyName anything
Responses
200Successful Response
PATCH /mail/domains/example
1curl -X PATCH "http://localhost:8000/mail/domains/example" \
2 -H "Content-Type: application/json" \
3 -d '{"catch_all_to":"string"}'
1fetch("http://localhost:8000/mail/domains/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "catch_all_to": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/mail/domains/example",
5 json={"catch_all_to":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /mail/mailboxes/:mailbox_id

Assign a mailbox to a member

Assign (or unassign, with an empty member_mrn) a provisioned mailbox to a member. Keeps the member's connected-accounts mirror in sync so it appears in their client.

Parameters
mailbox_id string · path
required
Body · AssignMailboxapplication/json
member_mrn string · max length: 200
required
propertyName anything
Responses
200Successful Response
PATCH /mail/mailboxes/example
1curl -X PATCH "http://localhost:8000/mail/mailboxes/example" \
2 -H "Content-Type: application/json" \
3 -d '{"member_mrn":"string"}'
1fetch("http://localhost:8000/mail/mailboxes/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "member_mrn": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/mail/mailboxes/example",
5 json={"member_mrn":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /mail/groups/:group_id/members/:member_id

Change member tier

Change an assignee's content-permission tier. Admins only — membership and tier assignment are group configuration, not a content capability.

Parameters
group_id string · path
required
member_id string · path
required
Body · UpdateGroupMemberapplication/json
role string
required
propertyName anything
Responses
200Successful Response
PATCH /mail/groups/example/members/example
1curl -X PATCH "http://localhost:8000/mail/groups/example/members/example" \
2 -H "Content-Type: application/json" \
3 -d '{"role":"string"}'
1fetch("http://localhost:8000/mail/groups/example/members/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "role": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/mail/groups/example/members/example",
5 json={"role":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /mail/domains

Add a mail domain

Register a domain as PENDING and return the DNS to publish. Nothing is activated and no DNS is written on the owner's behalf — they publish the records, then verify.

Body · AddDomainapplication/json
domain string · min length: 3 · max length: 253
required
propertyName anything
Responses
200Successful Response
POST /mail/domains
1curl -X POST "http://localhost:8000/mail/domains" \
2 -H "Content-Type: application/json" \
3 -d '{"domain":"string"}'
1fetch("http://localhost:8000/mail/domains", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "domain": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/mail/domains",
5 json={"domain":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /mail/mailboxes

Provision a mailbox

Body · ProvisionMailboxapplication/json
local_part string · min length: 1 · max length: 64
required
member_mrn string · max length: 200
display_name string · max length: 200
quota_mb integer · min: 10
propertyName anything
Responses
200Successful Response
POST /mail/mailboxes
1curl -X POST "http://localhost:8000/mail/mailboxes" \
2 -H "Content-Type: application/json" \
3 -d '{"local_part":"string","member_mrn":"string","display_name":"string","quota_mb":1}'
1fetch("http://localhost:8000/mail/mailboxes", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "local_part": "string",
6 "member_mrn": "string",
7 "display_name": "string",
8 "quota_mb": 1
9}),
10})
11 .then((res) => res.json())
12 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/mail/mailboxes",
5 json={"local_part":"string","member_mrn":"string","display_name":"string","quota_mb":1},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /mail/mailboxes/bulk

Provision many mailboxes

Create many addresses on one verified domain at once (editable grid / CSV upload). Each row is validated and provisioned independently: a malformed local-part or an address that already exists is reported back under `skipped` (with a reason) while the rest are still created — partial success, never an all-or-nothing batch.

Body · BulkProvisionMailboxesapplication/json
domain_id string · min length: 1 · max length: 64
required
mailboxes array
required
propertyName anything
Responses
200Successful Response
POST /mail/mailboxes/bulk
1curl -X POST "http://localhost:8000/mail/mailboxes/bulk" \
2 -H "Content-Type: application/json" \
3 -d '{"domain_id":"string","mailboxes":[{"local_part":"string","member_mrn":"string"}]}'
1fetch("http://localhost:8000/mail/mailboxes/bulk", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "domain_id": "string",
6 "mailboxes": [
7 {
8 "local_part": "string",
9 "member_mrn": "string"
10 }
11 ]
12}),
13})
14 .then((res) => res.json())
15 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/mail/mailboxes/bulk",
5 json={"domain_id":"string","mailboxes":[{"local_part":"string","member_mrn":"string"}]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /mail/imports

Import an exported mailbox

Body · CreateImportapplication/json
mailbox_id string · min length: 1 · max length: 64
required
storage_key string · min length: 1 · max length: 1024
required
filename string · min length: 1 · max length: 255
required
propertyName anything
Responses
200Successful Response
POST /mail/imports
1curl -X POST "http://localhost:8000/mail/imports" \
2 -H "Content-Type: application/json" \
3 -d '{"mailbox_id":"string","storage_key":"string","filename":"string"}'
1fetch("http://localhost:8000/mail/imports", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "mailbox_id": "string",
6 "storage_key": "string",
7 "filename": "string"
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/mail/imports",
5 json={"mailbox_id":"string","storage_key":"string","filename":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /mail/groups

Create group mailbox

Body · CreateGroupapplication/json
name string · min length: 1 · max length: 120
required
local_part string · min length: 1 · max length: 64
required
domain_id string · min length: 1 · max length: 64
aliases array
member_mrns array
propertyName anything
Responses
200Successful Response
POST /mail/groups
1curl -X POST "http://localhost:8000/mail/groups" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","local_part":"string","domain_id":"string","aliases":["string"],"member_mrns":["string"]}'
1fetch("http://localhost:8000/mail/groups", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "local_part": "string",
7 "domain_id": "string",
8 "aliases": [
9 "string"
10 ],
11 "member_mrns": [
12 "string"
13 ]
14}),
15})
16 .then((res) => res.json())
17 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/mail/groups",
5 json={"name":"string","local_part":"string","domain_id":"string","aliases":["string"],"member_mrns":["string"]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /mail/groups/:group_id/members

Add group member

Parameters
group_id string · path
required
Body · AddGroupMemberapplication/json
member_mrn string · min length: 1 · max length: 200
required
role string
propertyName anything
Responses
200Successful Response
POST /mail/groups/example/members
1curl -X POST "http://localhost:8000/mail/groups/example/members" \
2 -H "Content-Type: application/json" \
3 -d '{"member_mrn":"string","role":"string"}'
1fetch("http://localhost:8000/mail/groups/example/members", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "member_mrn": "string",
6 "role": "string"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/mail/groups/example/members",
5 json={"member_mrn":"string","role":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /demo-requests

Request a demo

POST /demo-requests — public lead capture for "Book a demo" (no auth).

Body · DemoRequestapplication/json
name string · min length: 1 · max length: 120
required
work_email string · min length: 1 · email
required
slot string · min length: 1 · max length: 40
required
company string · max length: 200
team_size string · max length: 40
message string · max length: 1000
timezone string · max length: 64
website string · max length: 200
propertyName anything
Responses
200Successful Response
POST /demo-requests
1curl -X POST "http://localhost:8000/demo-requests" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","work_email":"user@example.com","slot":"string","company":"string","team_size":"string","message":"string","timezone":"string","website":"string"}'
1fetch("http://localhost:8000/demo-requests", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "work_email": "user@example.com",
7 "slot": "string",
8 "company": "string",
9 "team_size": "string",
10 "message": "string",
11 "timezone": "string",
12 "website": "string"
13}),
14})
15 .then((res) => res.json())
16 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/demo-requests",
5 json={"name":"string","work_email":"user@example.com","slot":"string","company":"string","team_size":"string","message":"string","timezone":"string","website":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
DELETE /me/connected-apps/:client_id undocumented

/me/connected-apps/:client_id

DELETE /me/connected-apps/:client_id: end every token this app holds for me here.

Parameters
client_id string · path
required
Responses
200Successful Response
DELETE /me/connected-apps/example
1curl -X DELETE "http://localhost:8000/me/connected-apps/example"
1fetch("http://localhost:8000/me/connected-apps/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/me/connected-apps/example")
4print(response.json())
200 Example Response
No Body
GET /me undocumented

/me

Responses
200Successful Response
GET /me
1curl "http://localhost:8000/me"
1fetch("http://localhost:8000/me")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/me")
4print(response.json())
200 Example Response
No Body
GET /me/connected-apps undocumented

/me/connected-apps

GET /me/connected-apps: the apps signed in as me here, what each may do, and when it last did.

Responses
200Successful Response
GET /me/connected-apps
1curl "http://localhost:8000/me/connected-apps"
1fetch("http://localhost:8000/me/connected-apps")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/me/connected-apps")
4print(response.json())
200 Example Response
No Body
GET /me/recovery-email undocumented

/me/recovery-email

Responses
200Successful Response
GET /me/recovery-email
1curl "http://localhost:8000/me/recovery-email"
1fetch("http://localhost:8000/me/recovery-email")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/me/recovery-email")
4print(response.json())
200 Example Response
No Body
GET /me/notification-preferences undocumented

/me/notification-preferences

Responses
200Successful Response
GET /me/notification-preferences
1curl "http://localhost:8000/me/notification-preferences"
1fetch("http://localhost:8000/me/notification-preferences")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/me/notification-preferences")
4print(response.json())
200 Example Response
No Body
GET /media/:collection undocumented

/media/:collection

GET /media/:collection — trending by default, search when ?q= is set.

Parameters
collection string · path
required
Responses
200Successful Response
GET /media/example
1curl "http://localhost:8000/media/example"
1fetch("http://localhost:8000/media/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/media/example")
4print(response.json())
200 Example Response
No Body
GET /media/:collection/categories undocumented

/media/:collection/categories

GET /media/:collection/categories — the suggestion chips above the grid.

Parameters
collection string · path
required
Responses
200Successful Response
GET /media/example/categories
1curl "http://localhost:8000/media/example/categories"
1fetch("http://localhost:8000/media/example/categories")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/media/example/categories")
4print(response.json())
200 Example Response
No Body
POST /media/:collection/shares

Record that a media item was used

POST /media/:collection/shares — record that an item was used. KLIPY builds its trending ranking from this, and firing it is what an integration owes them for the catalogue. Called once the item has actually landed in a message or on a slide, never on hover or on a grid render. A failure here is deliberately not the caller's problem: the GIF is already sent. The response is 204 either way and the client never waits on it.

Parameters
collection string · path
required
Body · CreateShareapplication/json
slug string · min length: 1 · max length: 200
required
propertyName anything
Responses
200Successful Response
POST /media/example/shares
1curl -X POST "http://localhost:8000/media/example/shares" \
2 -H "Content-Type: application/json" \
3 -d '{"slug":"string"}'
1fetch("http://localhost:8000/media/example/shares", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "slug": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/media/example/shares",
5 json={"slug":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
DELETE /meetings/:id undocumented

/meetings/:id

Parameters
id string · path
required
Responses
200Successful Response
DELETE /meetings/example
1curl -X DELETE "http://localhost:8000/meetings/example"
1fetch("http://localhost:8000/meetings/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/meetings/example")
4print(response.json())
200 Example Response
No Body
DELETE /meetings/:id/attendees/:attendee_id undocumented

/meetings/:id/attendees/:attendee_id

Parameters
id string · path
required
attendee_id string · path
required
Responses
200Successful Response
DELETE /meetings/example/attendees/example
1curl -X DELETE "http://localhost:8000/meetings/example/attendees/example"
1fetch("http://localhost:8000/meetings/example/attendees/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/meetings/example/attendees/example")
4print(response.json())
200 Example Response
No Body
GET /meetings undocumented

/meetings

Responses
200Successful Response
GET /meetings
1curl "http://localhost:8000/meetings"
1fetch("http://localhost:8000/meetings")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/meetings")
4print(response.json())
200 Example Response
No Body
GET /meetings/:id/attendees undocumented

/meetings/:id/attendees

Parameters
id string · path
required
Responses
200Successful Response
GET /meetings/example/attendees
1curl "http://localhost:8000/meetings/example/attendees"
1fetch("http://localhost:8000/meetings/example/attendees")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/meetings/example/attendees")
4print(response.json())
200 Example Response
No Body
PATCH /meetings/:id

Update a meeting

Parameters
id string · path
required
Body · UpdateMeetingapplication/json
title string · min length: 1 · max length: 300
description string
start_datetime string
end_datetime string
timezone string · max length: 64
is_all_day
color string
type string
status string
recurrence_rule string
visibility string
propertyName anything
Responses
200Successful Response
PATCH /meetings/example
1curl -X PATCH "http://localhost:8000/meetings/example" \
2 -H "Content-Type: application/json" \
3 -d '{"title":"string","description":"string","start_datetime":"string","end_datetime":"string","timezone":"string","is_all_day":{},"color":"string","type":"string","status":"string","recurrence_rule":"string","visibility":"string"}'
1fetch("http://localhost:8000/meetings/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "title": "string",
6 "description": "string",
7 "start_datetime": "string",
8 "end_datetime": "string",
9 "timezone": "string",
10 "is_all_day": {},
11 "color": "string",
12 "type": "string",
13 "status": "string",
14 "recurrence_rule": "string",
15 "visibility": "string"
16}),
17})
18 .then((res) => res.json())
19 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/meetings/example",
5 json={"title":"string","description":"string","start_datetime":"string","end_datetime":"string","timezone":"string","is_all_day":{},"color":"string","type":"string","status":"string","recurrence_rule":"string","visibility":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /meetings

Create a meeting

Body · CreateMeetingapplication/json
title string · min length: 1 · max length: 300
required
start_datetime string · min length: 1
required
end_datetime string · min length: 1
required
description string
timezone string · max length: 64
is_all_day
color string
type string
status string
create_call
recurrence_rule string
visibility string
attendees array
external_invitees array
resource_ids array
propertyName anything
Responses
200Successful Response
POST /meetings
1curl -X POST "http://localhost:8000/meetings" \
2 -H "Content-Type: application/json" \
3 -d '{"title":"string","start_datetime":"string","end_datetime":"string","description":"string","timezone":"string","is_all_day":{},"color":"string","type":"string","status":"string","create_call":{},"recurrence_rule":"string","visibility":"string","attendees":["string"],"external_invitees":[{"email":"user@example.com","name":"string"}],"resource_ids":["string"]}'
1fetch("http://localhost:8000/meetings", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "title": "string",
6 "start_datetime": "string",
7 "end_datetime": "string",
8 "description": "string",
9 "timezone": "string",
10 "is_all_day": {},
11 "color": "string",
12 "type": "string",
13 "status": "string",
14 "create_call": {},
15 "recurrence_rule": "string",
16 "visibility": "string",
17 "attendees": [
18 "string"
19 ],
20 "external_invitees": [
21 {
22 "email": "user@example.com",
23 "name": "string"
24 }
25 ],
26 "resource_ids": [
27 "string"
28 ]
29}),
30})
31 .then((res) => res.json())
32 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/meetings",
5 json={"title":"string","start_datetime":"string","end_datetime":"string","description":"string","timezone":"string","is_all_day":{},"color":"string","type":"string","status":"string","create_call":{},"recurrence_rule":"string","visibility":"string","attendees":["string"],"external_invitees":[{"email":"user@example.com","name":"string"}],"resource_ids":["string"]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /meetings/:id/attendees

Add someone to a meeting

Parameters
id string · path
required
Body · AddMeetingAttendeeapplication/json
profile_id string · max length: 100
email string · max length: 320
name string · max length: 200
resource_id string · max length: 100
notify_everyone
propertyName anything
Responses
200Successful Response
POST /meetings/example/attendees
1curl -X POST "http://localhost:8000/meetings/example/attendees" \
2 -H "Content-Type: application/json" \
3 -d '{"profile_id":"string","email":"string","name":"string","resource_id":"string","notify_everyone":{}}'
1fetch("http://localhost:8000/meetings/example/attendees", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "profile_id": "string",
6 "email": "string",
7 "name": "string",
8 "resource_id": "string",
9 "notify_everyone": {}
10}),
11})
12 .then((res) => res.json())
13 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/meetings/example/attendees",
5 json={"profile_id":"string","email":"string","name":"string","resource_id":"string","notify_everyone":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /meetings/:id/call undocumented

/meetings/:id/call

Parameters
id string · path
required
Responses
200Successful Response
POST /meetings/example/call
1curl -X POST "http://localhost:8000/meetings/example/call"
1fetch("http://localhost:8000/meetings/example/call", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/meetings/example/call")
4print(response.json())
200 Example Response
No Body
PUT /meetings/:id/rsvp

Set your RSVP for a meeting

PUT /meetings/:id/rsvp — the authenticated caller sets their own RSVP.

Parameters
id string · path
required
Body · Rsvpapplication/json
status
required
propertyName anything
Responses
200Successful Response
PUT /meetings/example/rsvp
1curl -X PUT "http://localhost:8000/meetings/example/rsvp" \
2 -H "Content-Type: application/json" \
3 -d '{"status":"accepted"}'
1fetch("http://localhost:8000/meetings/example/rsvp", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "status": "accepted"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/meetings/example/rsvp",
5 json={"status":"accepted"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
DELETE /members/:member_id undocumented

/members/:member_id

DELETE /accounts/organisation/members/:member_id — Remove a member.

Parameters
member_id string · path
required
Responses
200Successful Response
DELETE /members/example
1curl -X DELETE "http://localhost:8000/members/example"
1fetch("http://localhost:8000/members/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/members/example")
4print(response.json())
200 Example Response
No Body
DELETE /members/:member_id/email-changes undocumented

/members/:member_id/email-changes

DELETE /members/:member_id/email-changes: withdraw the pending change, so its link stops working.

Parameters
member_id string · path
required
Responses
200Successful Response
DELETE /members/example/email-changes
1curl -X DELETE "http://localhost:8000/members/example/email-changes"
1fetch("http://localhost:8000/members/example/email-changes", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/members/example/email-changes")
4print(response.json())
200 Example Response
No Body
GET /members undocumented

/members

GET /members — Search workspace members by name or email.

Responses
200Successful Response
GET /members
1curl "http://localhost:8000/members"
1fetch("http://localhost:8000/members")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/members")
4print(response.json())
200 Example Response
No Body
PATCH /members/:member_id

Change a member's role, or reactivate them

PATCH /accounts/organisation/members/:member_id — Change platform role.

Parameters
member_id string · path
required
Body · UpdateMemberapplication/json
role
required
propertyName anything
Responses
200Successful Response
PATCH /members/example
1curl -X PATCH "http://localhost:8000/members/example" \
2 -H "Content-Type: application/json" \
3 -d '{"role":"admin"}'
1fetch("http://localhost:8000/members/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "role": "admin"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/members/example",
5 json={"role":"admin"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /password-help-requests/:request_id

Dismiss a request for help signing in

PATCH /password-help-requests/:request_id: dismiss a request without setting a password.

Parameters
request_id string · path
required
Body · UpdatePasswordHelpRequestapplication/json
status
required
propertyName anything
Responses
200Successful Response
PATCH /password-help-requests/example
1curl -X PATCH "http://localhost:8000/password-help-requests/example" \
2 -H "Content-Type: application/json" \
3 -d '{"status":"dismissed"}'
1fetch("http://localhost:8000/password-help-requests/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "status": "dismissed"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/password-help-requests/example",
5 json={"status":"dismissed"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /members

Invite member

POST /accounts/organisation/members — Invite a member.

Body · InviteMemberapplication/json
email string · min length: 1 · email
required
full_name string · max length: 200
role
propertyName anything
Responses
200Successful Response
POST /members
1curl -X POST "http://localhost:8000/members" \
2 -H "Content-Type: application/json" \
3 -d '{"email":"user@example.com","full_name":"string","role":"member"}'
1fetch("http://localhost:8000/members", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "email": "user@example.com",
6 "full_name": "string",
7 "role": "member"
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/members",
5 json={"email":"user@example.com","full_name":"string","role":"member"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /members/bulk

Bulk invite members

POST /members/bulk — Invite multiple members at once.

Body · BulkInviteMembersapplication/json
members array
required
propertyName anything
Responses
200Successful Response
POST /members/bulk
1curl -X POST "http://localhost:8000/members/bulk" \
2 -H "Content-Type: application/json" \
3 -d '{"members":[{"first_name":"string","last_name":"string","email":"user@example.com","role":"member"}]}'
1fetch("http://localhost:8000/members/bulk", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "members": [
6 {
7 "first_name": "string",
8 "last_name": "string",
9 "email": "user@example.com",
10 "role": "member"
11 }
12 ]
13}),
14})
15 .then((res) => res.json())
16 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/members/bulk",
5 json={"members":[{"first_name":"string","last_name":"string","email":"user@example.com","role":"member"}]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /members/:member_id/invitations undocumented

/members/:member_id/invitations

POST /members/:member_id/invitations: re-invite a member with a fresh token.

Parameters
member_id string · path
required
Responses
200Successful Response
POST /members/example/invitations
1curl -X POST "http://localhost:8000/members/example/invitations"
1fetch("http://localhost:8000/members/example/invitations", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/members/example/invitations")
4print(response.json())
200 Example Response
No Body
POST /members/:member_id/password-resets undocumented

/members/:member_id/password-resets

POST /members/:member_id/password-resets — Send a 'Set Your Password' email.

Parameters
member_id string · path
required
Responses
200Successful Response
POST /members/example/password-resets
1curl -X POST "http://localhost:8000/members/example/password-resets"
1fetch("http://localhost:8000/members/example/password-resets", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/members/example/password-resets")
4print(response.json())
200 Example Response
No Body
POST /members/:member_id/email-changes

Change a member's sign-in email

POST /members/:member_id/email-changes: send a confirm link to a member's new sign-in email. Without an email it resends the pending change. A member who never accepted is re-invited at the new address.

Parameters
member_id string · path
required
Body · StartEmailChangeapplication/json
email string · min length: 1 · email
propertyName anything
Responses
200Successful Response
POST /members/example/email-changes
1curl -X POST "http://localhost:8000/members/example/email-changes" \
2 -H "Content-Type: application/json" \
3 -d '{"email":"user@example.com"}'
1fetch("http://localhost:8000/members/example/email-changes", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "email": "user@example.com"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/members/example/email-changes",
5 json={"email":"user@example.com"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /members/:member_id/sessions

Force logout member

POST /members/:member_id/sessions — really sign a member out of THIS workspace. This used to push a WebSocket frame and hope the browser was listening, which a closed tab, an offline client, or anyone holding the cookie in curl simply ignored. Then it rotated the profile's security stamp, which worked but was per IDENTITY: the same person signed into another workspace under the same email got kicked out of that one too, by an admin with no authority there. Since migration 079 every session has its own row tagged with the workspace it belongs to, so this revokes exactly the rows for this workspace. The socket push stays as the courtesy, not the mechanism.

Parameters
member_id string · path
required
Body · ForceLogoutapplication/json
action
required
propertyName anything
Responses
200Successful Response
POST /members/example/sessions
1curl -X POST "http://localhost:8000/members/example/sessions" \
2 -H "Content-Type: application/json" \
3 -d '{"action":"force_logout"}'
1fetch("http://localhost:8000/members/example/sessions", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "action": "force_logout"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/members/example/sessions",
5 json={"action":"force_logout"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /members/:member_id/password

Set a member's password

PUT /members/:member_id/password: an admin sets a member's password. Their 2FA is turned off so the new password alone gets in, and every session they hold ends.

Parameters
member_id string · path
required
Body · SetMemberPasswordapplication/json
password string · min length: 8 · max length: 128
required
propertyName anything
Responses
200Successful Response
PUT /members/example/password
1curl -X PUT "http://localhost:8000/members/example/password" \
2 -H "Content-Type: application/json" \
3 -d '{"password":"string"}'
1fetch("http://localhost:8000/members/example/password", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "password": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/members/example/password",
5 json={"password":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /chats/:id/messages/:msg_id

Edit a message

PATCH /chats/:id/messages/:msg_id — edit a message.

Parameters
id string · path
required
msg_id string · path
required
Body · EditMessageapplication/json
content string · min length: 1 · max length: 200000
required
propertyName anything
Responses
200Successful Response
PATCH /chats/example/messages/example
1curl -X PATCH "http://localhost:8000/chats/example/messages/example" \
2 -H "Content-Type: application/json" \
3 -d '{"content":"string"}'
1fetch("http://localhost:8000/chats/example/messages/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "content": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/chats/example/messages/example",
5 json={"content":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /chats/:id/messages

Send a message

POST /chats/:id/messages — send a message.

Parameters
id string · path
required
Body · SendMessageapplication/json
to array
required
cc array
bcc array
subject string · max length: 998
required
body_text string
body_html string
is_draft
signature_id string · min length: 1
attachments array
in_reply_to string · max length: 998
references string · max length: 8000
propertyName anything
Responses
200Successful Response
POST /chats/example/messages
1curl -X POST "http://localhost:8000/chats/example/messages" \
2 -H "Content-Type: application/json" \
3 -d '{"to":[{"email":"user@example.com","name":"string"}],"cc":[{"email":"user@example.com","name":"string"}],"bcc":[{"email":"user@example.com","name":"string"}],"subject":"string","body_text":"string","body_html":"string","is_draft":{},"signature_id":"string","attachments":[{"storage_key":"string","filename":"string","content_type":"string","size":1}],"in_reply_to":"string","references":"string"}'
1fetch("http://localhost:8000/chats/example/messages", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "to": [
6 {
7 "email": "user@example.com",
8 "name": "string"
9 }
10 ],
11 "cc": [
12 {
13 "email": "user@example.com",
14 "name": "string"
15 }
16 ],
17 "bcc": [
18 {
19 "email": "user@example.com",
20 "name": "string"
21 }
22 ],
23 "subject": "string",
24 "body_text": "string",
25 "body_html": "string",
26 "is_draft": {},
27 "signature_id": "string",
28 "attachments": [
29 {
30 "storage_key": "string",
31 "filename": "string",
32 "content_type": "string",
33 "size": 1
34 }
35 ],
36 "in_reply_to": "string",
37 "references": "string"
38}),
39})
40 .then((res) => res.json())
41 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/chats/example/messages",
5 json={"to":[{"email":"user@example.com","name":"string"}],"cc":[{"email":"user@example.com","name":"string"}],"bcc":[{"email":"user@example.com","name":"string"}],"subject":"string","body_text":"string","body_html":"string","is_draft":{},"signature_id":"string","attachments":[{"storage_key":"string","filename":"string","content_type":"string","size":1}],"in_reply_to":"string","references":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /calls/:id/messages

Send a chat message

Parameters
id string · path
required
Body · CreateMessageapplication/json
content string · max length: 2000
parent_id string · max length: 64
gif object
propertyName anything
Responses
200Successful Response
POST /calls/example/messages
1curl -X POST "http://localhost:8000/calls/example/messages" \
2 -H "Content-Type: application/json" \
3 -d '{"content":"string","parent_id":"string","gif":{"collection":"string","slug":"string"}}'
1fetch("http://localhost:8000/calls/example/messages", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "content": "string",
6 "parent_id": "string",
7 "gif": {
8 "collection": "string",
9 "slug": "string"
10 }
11}),
12})
13 .then((res) => res.json())
14 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/calls/example/messages",
5 json={"content":"string","parent_id":"string","gif":{"collection":"string","slug":"string"}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
GET /meters/call-minutes undocumented

/meters/call-minutes

Responses
200Successful Response
GET /meters/call-minutes
1curl "http://localhost:8000/meters/call-minutes"
1fetch("http://localhost:8000/meters/call-minutes")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/meters/call-minutes")
4print(response.json())
200 Example Response
No Body
DELETE /notifications/:id undocumented

/notifications/:id

Hard-delete a single notification.

Parameters
id string · path
required
Responses
200Successful Response
DELETE /notifications/example
1curl -X DELETE "http://localhost:8000/notifications/example"
1fetch("http://localhost:8000/notifications/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/notifications/example")
4print(response.json())
200 Example Response
No Body
GET /notifications undocumented

/notifications

Responses
200Successful Response
GET /notifications
1curl "http://localhost:8000/notifications"
1fetch("http://localhost:8000/notifications")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/notifications")
4print(response.json())
200 Example Response
No Body
GET /notifications/unread-count undocumented

/notifications/unread-count

Responses
200Successful Response
GET /notifications/unread-count
1curl "http://localhost:8000/notifications/unread-count"
1fetch("http://localhost:8000/notifications/unread-count")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/notifications/unread-count")
4print(response.json())
200 Example Response
No Body
PATCH /notifications/:id undocumented

/notifications/:id

Mark a single notification as read.

Parameters
id string · path
required
Responses
200Successful Response
PATCH /notifications/example
1curl -X PATCH "http://localhost:8000/notifications/example"
1fetch("http://localhost:8000/notifications/example", { method: "PATCH" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.patch("http://localhost:8000/notifications/example")
4print(response.json())
200 Example Response
No Body
PATCH /notifications undocumented

/notifications

Mark all notifications as read for the authenticated member.

Responses
200Successful Response
PATCH /notifications
1curl -X PATCH "http://localhost:8000/notifications"
1fetch("http://localhost:8000/notifications", { method: "PATCH" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.patch("http://localhost:8000/notifications")
4print(response.json())
200 Example Response
No Body
GET /onboarding/plans undocumented

/onboarding/plans

GET /onboarding/plans: every plan priced in the workspace's currency, for the choice made after the card.

Responses
200Successful Response
GET /onboarding/plans
1curl "http://localhost:8000/onboarding/plans"
1fetch("http://localhost:8000/onboarding/plans")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/onboarding/plans")
4print(response.json())
200 Example Response
No Body
GET /onboarding/handle-check undocumented

/onboarding/handle-check

GET /onboarding/handle-check?handle=xxx — Check if a workspace handle is available.

Responses
200Successful Response
GET /onboarding/handle-check
1curl "http://localhost:8000/onboarding/handle-check"
1fetch("http://localhost:8000/onboarding/handle-check")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/onboarding/handle-check")
4print(response.json())
200 Example Response
No Body
POST /onboarding/payments

Capture onboarding payment

POST /accounts/onboarding/payment — Add card via Flutterwave v4.

Body · CapturePaymentapplication/json
card_number string · min length: 13 · max length: 19
required
expiry_month string · min length: 1 · max length: 2
required
expiry_year string · min length: 2 · max length: 4
required
cvv string · min length: 3 · max length: 4
required
propertyName anything
Responses
200Successful Response
POST /onboarding/payments
1curl -X POST "http://localhost:8000/onboarding/payments" \
2 -H "Content-Type: application/json" \
3 -d '{"card_number":"string","expiry_month":"string","expiry_year":"string","cvv":"string"}'
1fetch("http://localhost:8000/onboarding/payments", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "card_number": "string",
6 "expiry_month": "string",
7 "expiry_year": "string",
8 "cvv": "string"
9}),
10})
11 .then((res) => res.json())
12 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/onboarding/payments",
5 json={"card_number":"string","expiry_month":"string","expiry_year":"string","cvv":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /onboarding/verification-checks undocumented

/onboarding/verification-checks

POST /onboarding/verification-checks: the automatic organisation check, run once right after signup.

Responses
200Successful Response
POST /onboarding/verification-checks
1curl -X POST "http://localhost:8000/onboarding/verification-checks"
1fetch("http://localhost:8000/onboarding/verification-checks", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/onboarding/verification-checks")
4print(response.json())
200 Example Response
No Body
POST /onboarding/invitations

Send onboarding invites

POST /onboarding/invitations: invite collaborators.

Body · SendInvitesapplication/json
emails array
required
propertyName anything
Responses
200Successful Response
POST /onboarding/invitations
1curl -X POST "http://localhost:8000/onboarding/invitations" \
2 -H "Content-Type: application/json" \
3 -d '{"emails":["string"]}'
1fetch("http://localhost:8000/onboarding/invitations", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "emails": [
6 "string"
7 ]
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/onboarding/invitations",
5 json={"emails":["string"]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /onboarding/completions

Finish onboarding with the plan chosen

POST /accounts/onboarding/complete — Mark workspace as onboarded.

Body · CompleteOnboardingapplication/json
plan
required
billing_interval
required
propertyName anything
Responses
200Successful Response
POST /onboarding/completions
1curl -X POST "http://localhost:8000/onboarding/completions" \
2 -H "Content-Type: application/json" \
3 -d '{"plan":"starter","billing_interval":"monthly"}'
1fetch("http://localhost:8000/onboarding/completions", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "plan": "starter",
6 "billing_interval": "monthly"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/onboarding/completions",
5 json={"plan":"starter","billing_interval":"monthly"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /onboarding/payments/:pm_id/authorization

Confirm an onboarding card with its PIN, OTP or address

PUT /onboarding/payments/:pm_id/authorization: the PIN, OTP or billing address the bank asked for.

Parameters
pm_id string · path
required
Body · AuthorizeCardapplication/json
type
required
pin string · min length: 4 · max length: 4
otp string · min length: 4 · max length: 8
address object
propertyName anything
Responses
200Successful Response
PUT /onboarding/payments/example/authorization
1curl -X PUT "http://localhost:8000/onboarding/payments/example/authorization" \
2 -H "Content-Type: application/json" \
3 -d '{"type":"pin","pin":"string","otp":"string","address":{"line1":"string","line2":"string","city":"string","state":"string","postal_code":"string","country":"string"}}'
1fetch("http://localhost:8000/onboarding/payments/example/authorization", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "type": "pin",
6 "pin": "string",
7 "otp": "string",
8 "address": {
9 "line1": "string",
10 "line2": "string",
11 "city": "string",
12 "state": "string",
13 "postal_code": "string",
14 "country": "string"
15 }
16}),
17})
18 .then((res) => res.json())
19 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/onboarding/payments/example/authorization",
5 json={"type":"pin","pin":"string","otp":"string","address":{"line1":"string","line2":"string","city":"string","state":"string","postal_code":"string","country":"string"}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /onboarding/profile

Setup onboarding profile

PUT /accounts/onboarding/profile — Update avatar and workspace theme.

Body · SetupProfileapplication/json
avatar_url string · max length: 2048
propertyName anything
Responses
200Successful Response
PUT /onboarding/profile
1curl -X PUT "http://localhost:8000/onboarding/profile" \
2 -H "Content-Type: application/json" \
3 -d '{"avatar_url":"string"}'
1fetch("http://localhost:8000/onboarding/profile", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "avatar_url": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/onboarding/profile",
5 json={"avatar_url":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /onboarding/handle

Set workspace handle

PUT /onboarding/handle — Set the workspace handle and display name.

Body · SetHandleapplication/json
handle string · min length: 3 · max length: 30
required
name string · min length: 1 · max length: 200
propertyName anything
Responses
200Successful Response
PUT /onboarding/handle
1curl -X PUT "http://localhost:8000/onboarding/handle" \
2 -H "Content-Type: application/json" \
3 -d '{"handle":"string","name":"string"}'
1fetch("http://localhost:8000/onboarding/handle", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "handle": "string",
6 "name": "string"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/onboarding/handle",
5 json={"handle":"string","name":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
GET /online undocumented

/online

List workspace members who are currently online.

Responses
200Successful Response
GET /online
1curl "http://localhost:8000/online"
1fetch("http://localhost:8000/online")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/online")
4print(response.json())
200 Example Response
No Body
PATCH /finance/orders/:entry_id

Transition an order

Parameters
entry_id string · path
required
Body · UpdateOrderStatusapplication/json
status
required
propertyName anything
Responses
200Successful Response
PATCH /finance/orders/example
1curl -X PATCH "http://localhost:8000/finance/orders/example" \
2 -H "Content-Type: application/json" \
3 -d '{"status":"confirmed"}'
1fetch("http://localhost:8000/finance/orders/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "status": "confirmed"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/finance/orders/example",
5 json={"status":"confirmed"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /finance/orders

Create an order

Body · CreateOrderapplication/json
date string · min length: 10
required
items array
contact_mrn string
company_mrn string
currency
required
exchange_rate number
memo string · max length: 5000
tags array
sources array
adjustments array
idempotency_key string · max length: 100
propertyName anything
Responses
200Successful Response
POST /finance/orders
1curl -X POST "http://localhost:8000/finance/orders" \
2 -H "Content-Type: application/json" \
3 -d '{"date":"string","items":[{"description":"string","quantity":1.5,"unit_price":1.5,"discount":1.5,"amount":1.5,"account_code":"string","product_mrn":"string","taxes":[{"name":"string","rate":1.5,"amount":1.5,"reverse_charge":{}}]}],"contact_mrn":"string","company_mrn":"string","currency":"USD","exchange_rate":1.5,"memo":"string","tags":["string"],"sources":["string"],"adjustments":[{"label":"string","type":"fixed","value":1.5,"amount":1.5,"account_code":"string"}],"idempotency_key":"string"}'
1fetch("http://localhost:8000/finance/orders", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "date": "string",
6 "items": [
7 {
8 "description": "string",
9 "quantity": 1.5,
10 "unit_price": 1.5,
11 "discount": 1.5,
12 "amount": 1.5,
13 "account_code": "string",
14 "product_mrn": "string",
15 "taxes": [
16 {
17 "name": "string",
18 "rate": 1.5,
19 "amount": 1.5,
20 "reverse_charge": {}
21 }
22 ]
23 }
24 ],
25 "contact_mrn": "string",
26 "company_mrn": "string",
27 "currency": "USD",
28 "exchange_rate": 1.5,
29 "memo": "string",
30 "tags": [
31 "string"
32 ],
33 "sources": [
34 "string"
35 ],
36 "adjustments": [
37 {
38 "label": "string",
39 "type": "fixed",
40 "value": 1.5,
41 "amount": 1.5,
42 "account_code": "string"
43 }
44 ],
45 "idempotency_key": "string"
46}),
47})
48 .then((res) => res.json())
49 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/finance/orders",
5 json={"date":"string","items":[{"description":"string","quantity":1.5,"unit_price":1.5,"discount":1.5,"amount":1.5,"account_code":"string","product_mrn":"string","taxes":[{"name":"string","rate":1.5,"amount":1.5,"reverse_charge":{}}]}],"contact_mrn":"string","company_mrn":"string","currency":"USD","exchange_rate":1.5,"memo":"string","tags":["string"],"sources":["string"],"adjustments":[{"label":"string","type":"fixed","value":1.5,"amount":1.5,"account_code":"string"}],"idempotency_key":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /finance/orders/:entry_id/fulfillments

Record a fulfillment

Record a fulfillment — auto-creates a draft invoice with selected lines.

Parameters
entry_id string · path
required
Body · CreateFulfillmentapplication/json
date string · min length: 10
required
lines array
required
memo string · max length: 2000
propertyName anything
Responses
200Successful Response
POST /finance/orders/example/fulfillments
1curl -X POST "http://localhost:8000/finance/orders/example/fulfillments" \
2 -H "Content-Type: application/json" \
3 -d '{"date":"string","lines":[{"item_index":1,"quantity":1.5}],"memo":"string"}'
1fetch("http://localhost:8000/finance/orders/example/fulfillments", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "date": "string",
6 "lines": [
7 {
8 "item_index": 1,
9 "quantity": 1.5
10 }
11 ],
12 "memo": "string"
13}),
14})
15 .then((res) => res.json())
16 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/finance/orders/example/fulfillments",
5 json={"date":"string","lines":[{"item_index":1,"quantity":1.5}],"memo":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /finance/orders/:entry_id

Update a draft order

Parameters
entry_id string · path
required
Body · UpdateOrderapplication/json
status
required
fulfillment object
propertyName anything
Responses
200Successful Response
PUT /finance/orders/example
1curl -X PUT "http://localhost:8000/finance/orders/example" \
2 -H "Content-Type: application/json" \
3 -d '{"status":"fulfilled","fulfillment":{"carrier":"string","tracking_ref":"string","note":"string"}}'
1fetch("http://localhost:8000/finance/orders/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "status": "fulfilled",
6 "fulfillment": {
7 "carrier": "string",
8 "tracking_ref": "string",
9 "note": "string"
10 }
11}),
12})
13 .then((res) => res.json())
14 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/finance/orders/example",
5 json={"status":"fulfilled","fulfillment":{"carrier":"string","tracking_ref":"string","note":"string"}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /organisations/:org_id

Update organisation

PUT /accounts/organisation — Update org details.

Parameters
org_id string · path
required
Body · UpdateOrgapplication/json
name string · min length: 1 · max length: 200
email_domain string
industry string
size string
timezone string · max length: 64
elevation_ttl_seconds
home_currency string · min length: 3 · max length: 3
logo_key string · max length: 512
propertyName anything
Responses
200Successful Response
PUT /organisations/example
1curl -X PUT "http://localhost:8000/organisations/example" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","email_domain":"string","industry":"string","size":"string","timezone":"string","elevation_ttl_seconds":600,"home_currency":"string","logo_key":"string"}'
1fetch("http://localhost:8000/organisations/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "email_domain": "string",
7 "industry": "string",
8 "size": "string",
9 "timezone": "string",
10 "elevation_ttl_seconds": 600,
11 "home_currency": "string",
12 "logo_key": "string"
13}),
14})
15 .then((res) => res.json())
16 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/organisations/example",
5 json={"name":"string","email_domain":"string","industry":"string","size":"string","timezone":"string","elevation_ttl_seconds":600,"home_currency":"string","logo_key":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /ptos

Request time off

Body · CreatePtoapplication/json
policy_id string · min length: 1
required
start_date string · min length: 1
required
end_date string · min length: 1
required
half_day
reason string · max length: 1000
propertyName anything
Responses
200Successful Response
POST /ptos
1curl -X POST "http://localhost:8000/ptos" \
2 -H "Content-Type: application/json" \
3 -d '{"policy_id":"string","start_date":"string","end_date":"string","half_day":"start_am","reason":"string"}'
1fetch("http://localhost:8000/ptos", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "policy_id": "string",
6 "start_date": "string",
7 "end_date": "string",
8 "half_day": "start_am",
9 "reason": "string"
10}),
11})
12 .then((res) => res.json())
13 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/ptos",
5 json={"policy_id":"string","start_date":"string","end_date":"string","half_day":"start_am","reason":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /ptos/:id

Update a pending PTO

Parameters
id string · path
required
Body · UpdatePtoapplication/json
start_date string · min length: 1
end_date string · min length: 1
half_day
reason string · max length: 1000
propertyName anything
Responses
200Successful Response
PUT /ptos/example
1curl -X PUT "http://localhost:8000/ptos/example" \
2 -H "Content-Type: application/json" \
3 -d '{"start_date":"string","end_date":"string","half_day":"start_am","reason":"string"}'
1fetch("http://localhost:8000/ptos/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "start_date": "string",
6 "end_date": "string",
7 "half_day": "start_am",
8 "reason": "string"
9}),
10})
11 .then((res) => res.json())
12 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/ptos/example",
5 json={"start_date":"string","end_date":"string","half_day":"start_am","reason":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /ptos/:id/decision

Approve or deny a PTO

Parameters
id string · path
required
Body · DecidePtoapplication/json
decision
required
note string · max length: 1000
propertyName anything
Responses
200Successful Response
PUT /ptos/example/decision
1curl -X PUT "http://localhost:8000/ptos/example/decision" \
2 -H "Content-Type: application/json" \
3 -d '{"decision":"approved","note":"string"}'
1fetch("http://localhost:8000/ptos/example/decision", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "decision": "approved",
6 "note": "string"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/ptos/example/decision",
5 json={"decision":"approved","note":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
DELETE /papers/templates/:template_id undocumented

/papers/templates/:template_id

DELETE /papers/templates/:template_id: remove a saved template; its pictures are released by the daily pass.

Parameters
template_id string · path
required
Responses
200Successful Response
DELETE /papers/templates/example
1curl -X DELETE "http://localhost:8000/papers/templates/example"
1fetch("http://localhost:8000/papers/templates/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/papers/templates/example")
4print(response.json())
200 Example Response
No Body
DELETE /papers/trash undocumented

/papers/trash

DELETE /papers/trash — destroy every trashed document the caller manages. Scoped by the same query as the listing, so this can only ever destroy what the caller was already being shown. It never touches a colleague's trash.

Responses
200Successful Response
DELETE /papers/trash
1curl -X DELETE "http://localhost:8000/papers/trash"
1fetch("http://localhost:8000/papers/trash", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/papers/trash")
4print(response.json())
200 Example Response
No Body
DELETE /papers/trash/:document_id undocumented

/papers/trash/:document_id

DELETE /papers/trash/:document_id — destroy a trashed document for good. The purge gate has already confirmed the document is in the trash and that the caller manages it (CLAUDE.md rule 18). Versions, comments and collaborator rows go with it through ON DELETE CASCADE; the grants are not foreign keys, so they are revoked explicitly.

Parameters
document_id string · path
required
Responses
200Successful Response
DELETE /papers/trash/example
1curl -X DELETE "http://localhost:8000/papers/trash/example"
1fetch("http://localhost:8000/papers/trash/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/papers/trash/example")
4print(response.json())
200 Example Response
No Body
DELETE /papers/pristine undocumented

/papers/pristine

DELETE /papers/pristine: remove the caller's own untouched papers older than the grace period.

Responses
200Successful Response
DELETE /papers/pristine
1curl -X DELETE "http://localhost:8000/papers/pristine"
1fetch("http://localhost:8000/papers/pristine", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/papers/pristine")
4print(response.json())
200 Example Response
No Body
DELETE /papers/pristine/:document_id undocumented

/papers/pristine/:document_id

DELETE /papers/pristine/:document_id: remove a paper its owner is leaving without having touched it.

Parameters
document_id string · path
required
Responses
200Successful Response
DELETE /papers/pristine/example
1curl -X DELETE "http://localhost:8000/papers/pristine/example"
1fetch("http://localhost:8000/papers/pristine/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/papers/pristine/example")
4print(response.json())
200 Example Response
No Body
DELETE /papers/:document_id undocumented

/papers/:document_id

DELETE /papers/:document_id — move a document to the trash. The delete gate has already loaded the document onto ctx.authz.document (CLAUDE.md rule 18). Grants are deliberately LEFT INTACT here. This used to call revoke_all, on the reasoning that the document was gone, which quietly made the trash unimplementable: a restored document came back with no grants at all, not even its owner's, so nobody could open, edit or delete it ever again. Grants are dropped at permanent deletion instead, in api_purge_document.

Parameters
document_id string · path
required
Responses
200Successful Response
DELETE /papers/example
1curl -X DELETE "http://localhost:8000/papers/example"
1fetch("http://localhost:8000/papers/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/papers/example")
4print(response.json())
200 Example Response
No Body
DELETE /papers/:document_id/comments/:comment_id undocumented

/papers/:document_id/comments/:comment_id

DELETE /papers/:document_id/comments/:comment_id — delete a comment. The delete gate (authz.can_delete_comment) has already loaded the comment onto ctx.authz.comment and confirmed the caller authored it or manages the document, so there's no re-query here (CLAUDE.md rule 18).

Parameters
document_id string · path
required
comment_id string · path
required
Responses
200Successful Response
DELETE /papers/example/comments/example
1curl -X DELETE "http://localhost:8000/papers/example/comments/example"
1fetch("http://localhost:8000/papers/example/comments/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/papers/example/comments/example")
4print(response.json())
200 Example Response
No Body
GET /papers undocumented

/papers

GET /papers — list documents for the workspace.

Responses
200Successful Response
GET /papers
1curl "http://localhost:8000/papers"
1fetch("http://localhost:8000/papers")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/papers")
4print(response.json())
200 Example Response
No Body
GET /papers/web-images undocumented

/papers/web-images

GET /papers/web-images?q=&page= — search openly-licensed web images.

Responses
200Successful Response
GET /papers/web-images
1curl "http://localhost:8000/papers/web-images"
1fetch("http://localhost:8000/papers/web-images")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/papers/web-images")
4print(response.json())
200 Example Response
No Body
GET /papers/templates undocumented

/papers/templates

GET /papers/templates?scope=&q=: the caller's own templates and the workspace's, newest first.

Responses
200Successful Response
GET /papers/templates
1curl "http://localhost:8000/papers/templates"
1fetch("http://localhost:8000/papers/templates")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/papers/templates")
4print(response.json())
200 Example Response
No Body
GET /papers/trash undocumented

/papers/trash

GET /papers/trash — documents in the trash that the caller can restore.

Responses
200Successful Response
GET /papers/trash
1curl "http://localhost:8000/papers/trash"
1fetch("http://localhost:8000/papers/trash")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/papers/trash")
4print(response.json())
200 Example Response
No Body
GET /papers/:document_id undocumented

/papers/:document_id

GET /papers/:document_id — get a single document with content.

Parameters
document_id string · path
required
Responses
200Successful Response
GET /papers/example
1curl "http://localhost:8000/papers/example"
1fetch("http://localhost:8000/papers/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/papers/example")
4print(response.json())
200 Example Response
No Body
GET /papers/:document_id/content undocumented

/papers/:document_id/content

GET /papers/:document_id/content: the document's body, with any edits still open in the room saved first.

Parameters
document_id string · path
required
Responses
200Successful Response
GET /papers/example/content
1curl "http://localhost:8000/papers/example/content"
1fetch("http://localhost:8000/papers/example/content")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/papers/example/content")
4print(response.json())
200 Example Response
No Body
GET /papers/:document_id/linked-charts undocumented

/papers/:document_id/linked-charts

GET /papers/:document_id/linked-charts: the latest Tables values for each linked chart in this document.

Parameters
document_id string · path
required
Responses
200Successful Response
GET /papers/example/linked-charts
1curl "http://localhost:8000/papers/example/linked-charts"
1fetch("http://localhost:8000/papers/example/linked-charts")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/papers/example/linked-charts")
4print(response.json())
200 Example Response
No Body
GET /papers/:document_id/exports/:format undocumented

/papers/:document_id/exports/:format

GET /papers/:document_id/exports/:format — download as docx, odt, or pdf. The read gate (authz.can_view_doc) has already loaded the document onto ctx.authz.document, so there's no re-query here (CLAUDE.md rule 18).

Parameters
document_id string · path
required
format string · path
required
Responses
200Successful Response
GET /papers/example/exports/example
1curl "http://localhost:8000/papers/example/exports/example"
1fetch("http://localhost:8000/papers/example/exports/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/papers/example/exports/example")
4print(response.json())
200 Example Response
No Body
GET /papers/:document_id/versions undocumented

/papers/:document_id/versions

GET /papers/:document_id/versions — list version history.

Parameters
document_id string · path
required
Responses
200Successful Response
GET /papers/example/versions
1curl "http://localhost:8000/papers/example/versions"
1fetch("http://localhost:8000/papers/example/versions")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/papers/example/versions")
4print(response.json())
200 Example Response
No Body
GET /papers/:document_id/versions/:version_id undocumented

/papers/:document_id/versions/:version_id

GET /papers/:document_id/versions/:version_id — get a single version.

Parameters
document_id string · path
required
version_id string · path
required
Responses
200Successful Response
GET /papers/example/versions/example
1curl "http://localhost:8000/papers/example/versions/example"
1fetch("http://localhost:8000/papers/example/versions/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/papers/example/versions/example")
4print(response.json())
200 Example Response
No Body
GET /papers/:document_id/comments undocumented

/papers/:document_id/comments

GET /papers/:document_id/comments — list comments for a document.

Parameters
document_id string · path
required
Responses
200Successful Response
GET /papers/example/comments
1curl "http://localhost:8000/papers/example/comments"
1fetch("http://localhost:8000/papers/example/comments")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/papers/example/comments")
4print(response.json())
200 Example Response
No Body
GET /papers/:document_id/presence undocumented

/papers/:document_id/presence

GET /papers/:document_id/presence — get active collaborators.

Parameters
document_id string · path
required
Responses
200Successful Response
GET /papers/example/presence
1curl "http://localhost:8000/papers/example/presence"
1fetch("http://localhost:8000/papers/example/presence")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/papers/example/presence")
4print(response.json())
200 Example Response
No Body
PATCH /papers/templates/:template_id

Rename a saved template

PATCH /papers/templates/:template_id: rename a saved template or change its description.

Parameters
template_id string · path
required
Body · UpdateTemplateapplication/json
name string · min length: 1 · max length: 200
description string · max length: 300
propertyName anything
Responses
200Successful Response
PATCH /papers/templates/example
1curl -X PATCH "http://localhost:8000/papers/templates/example" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","description":"string"}'
1fetch("http://localhost:8000/papers/templates/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "description": "string"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/papers/templates/example",
5 json={"name":"string","description":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /papers/:document_id

Update a document

PATCH /papers/:document_id — update a document, or restore it from trash. The update gate (authz.can_update_doc) has already loaded the document onto ctx.authz.document and decided what this caller may do with it, including the trashed case, so there's no re-query here (CLAUDE.md rule 18).

Parameters
document_id string · path
required
Body · UpdateDocumentapplication/json
title string · min length: 1 · max length: 500
icon string · max length: 100
icon_type
content string
is_starred
page_mode
visibility
page_setup object
deleted
propertyName anything
Responses
200Successful Response
PATCH /papers/example
1curl -X PATCH "http://localhost:8000/papers/example" \
2 -H "Content-Type: application/json" \
3 -d '{"title":"string","icon":"string","icon_type":"emoji","content":"string","is_starred":{},"page_mode":"paged","visibility":"private","page_setup":{"size":"default","page_width":1,"page_height":1,"orientation":"portrait","margins":"normal","margin_x":1,"margin_y":1,"margin_top":1,"margin_right":1,"margin_bottom":1,"margin_left":1,"page_color":"string","header_text":"string","header_image":"string","header_align":"left","footer_text":"string","footer_align":"left","show_page_numbers":{},"page_number_align":"left","page_number_format":"n_of_m","different_first_page":{},"watermark_text":"string","line_numbers":"continuous"},"deleted":{}}'
1fetch("http://localhost:8000/papers/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "title": "string",
6 "icon": "string",
7 "icon_type": "emoji",
8 "content": "string",
9 "is_starred": {},
10 "page_mode": "paged",
11 "visibility": "private",
12 "page_setup": {
13 "size": "default",
14 "page_width": 1,
15 "page_height": 1,
16 "orientation": "portrait",
17 "margins": "normal",
18 "margin_x": 1,
19 "margin_y": 1,
20 "margin_top": 1,
21 "margin_right": 1,
22 "margin_bottom": 1,
23 "margin_left": 1,
24 "page_color": "string",
25 "header_text": "string",
26 "header_image": "string",
27 "header_align": "left",
28 "footer_text": "string",
29 "footer_align": "left",
30 "show_page_numbers": {},
31 "page_number_align": "left",
32 "page_number_format": "n_of_m",
33 "different_first_page": {},
34 "watermark_text": "string",
35 "line_numbers": "continuous"
36 },
37 "deleted": {}
38}),
39})
40 .then((res) => res.json())
41 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/papers/example",
5 json={"title":"string","icon":"string","icon_type":"emoji","content":"string","is_starred":{},"page_mode":"paged","visibility":"private","page_setup":{"size":"default","page_width":1,"page_height":1,"orientation":"portrait","margins":"normal","margin_x":1,"margin_y":1,"margin_top":1,"margin_right":1,"margin_bottom":1,"margin_left":1,"page_color":"string","header_text":"string","header_image":"string","header_align":"left","footer_text":"string","footer_align":"left","show_page_numbers":{},"page_number_align":"left","page_number_format":"n_of_m","different_first_page":{},"watermark_text":"string","line_numbers":"continuous"},"deleted":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /papers/:document_id/versions/:version_id

Name or rename a version

PATCH /papers/:document_id/versions/:version_id — name or rename a version.

Parameters
document_id string · path
required
version_id string · path
required
Body · UpdateVersionapplication/json
name string · max length: 120
required
propertyName anything
Responses
200Successful Response
PATCH /papers/example/versions/example
1curl -X PATCH "http://localhost:8000/papers/example/versions/example" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string"}'
1fetch("http://localhost:8000/papers/example/versions/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/papers/example/versions/example",
5 json={"name":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /papers/:document_id/comments/:comment_id

Resolve/unresolve comment

PATCH /papers/:document_id/comments/:comment_id — resolve or unresolve.

Parameters
document_id string · path
required
comment_id string · path
required
Body · ResolveCommentapplication/json
resolved
required
propertyName anything
Responses
200Successful Response
PATCH /papers/example/comments/example
1curl -X PATCH "http://localhost:8000/papers/example/comments/example" \
2 -H "Content-Type: application/json" \
3 -d '{"resolved":{}}'
1fetch("http://localhost:8000/papers/example/comments/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "resolved": {}
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/papers/example/comments/example",
5 json={"resolved":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /papers

Create a document

POST /papers: create a document, blank, from the given content, or built from a template.

Body · CreateDocumentapplication/json
title string · min length: 1 · max length: 500
icon string · max length: 100
icon_type
content string
template string · min length: 1 · max length: 60
propertyName anything
Responses
200Successful Response
POST /papers
1curl -X POST "http://localhost:8000/papers" \
2 -H "Content-Type: application/json" \
3 -d '{"title":"string","icon":"string","icon_type":"emoji","content":"string","template":"string"}'
1fetch("http://localhost:8000/papers", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "title": "string",
6 "icon": "string",
7 "icon_type": "emoji",
8 "content": "string",
9 "template": "string"
10}),
11})
12 .then((res) => res.json())
13 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/papers",
5 json={"title":"string","icon":"string","icon_type":"emoji","content":"string","template":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /papers/imports

Make a new document from an uploaded file

POST /papers/imports: turn a file uploaded into the Papers namespace into a new document.

Body · ImportDocumentapplication/json
key string · min length: 1 · max length: 1024
required
filename string · max length: 255
propertyName anything
Responses
200Successful Response
POST /papers/imports
1curl -X POST "http://localhost:8000/papers/imports" \
2 -H "Content-Type: application/json" \
3 -d '{"key":"string","filename":"string"}'
1fetch("http://localhost:8000/papers/imports", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "key": "string",
6 "filename": "string"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/papers/imports",
5 json={"key":"string","filename":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /papers/:document_id/exports

Save a copy of a document to Files

POST /papers/:document_id/exports: save a docx, odt or pdf copy into the caller's Files.

Parameters
document_id string · path
required
Body · SaveExportapplication/json
format
required
target
required
folder_id string · max length: 64
on_clash
replaces_file_id string · max length: 64
propertyName anything
Responses
200Successful Response
POST /papers/example/exports
1curl -X POST "http://localhost:8000/papers/example/exports" \
2 -H "Content-Type: application/json" \
3 -d '{"format":"docx","target":"files","folder_id":"string","on_clash":"replace","replaces_file_id":"string"}'
1fetch("http://localhost:8000/papers/example/exports", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "format": "docx",
6 "target": "files",
7 "folder_id": "string",
8 "on_clash": "replace",
9 "replaces_file_id": "string"
10}),
11})
12 .then((res) => res.json())
13 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/papers/example/exports",
5 json={"format":"docx","target":"files","folder_id":"string","on_clash":"replace","replaces_file_id":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /papers/:document_id/images undocumented

/papers/:document_id/images

POST /papers/:document_id/images: keep an uploaded image with this document, privately.

Parameters
document_id string · path
required
Responses
200Successful Response
POST /papers/example/images
1curl -X POST "http://localhost:8000/papers/example/images"
1fetch("http://localhost:8000/papers/example/images", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/papers/example/images")
4print(response.json())
200 Example Response
No Body
POST /papers/:document_id/image-imports

Bring a web image into a document

POST /papers/:document_id/image-imports: bring an image into this document, privately. A web URL is fetched; another document's picture is copied, so this document never depends on that one.

Parameters
document_id string · path
required
Body · ImportImageapplication/json
url string · min length: 1 · max length: 2000
required
propertyName anything
Responses
200Successful Response
POST /papers/example/image-imports
1curl -X POST "http://localhost:8000/papers/example/image-imports" \
2 -H "Content-Type: application/json" \
3 -d '{"url":"string"}'
1fetch("http://localhost:8000/papers/example/image-imports", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "url": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/papers/example/image-imports",
5 json={"url":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /papers/:document_id/templates

Save a document as a template

POST /papers/:document_id/templates: keep a frozen copy of this document, pictures included, as a template.

Parameters
document_id string · path
required
Body · SaveTemplateapplication/json
name string · min length: 1 · max length: 200
required
description string · max length: 300
scope
on_clash
propertyName anything
Responses
200Successful Response
POST /papers/example/templates
1curl -X POST "http://localhost:8000/papers/example/templates" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","description":"string","scope":"private","on_clash":"replace"}'
1fetch("http://localhost:8000/papers/example/templates", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "description": "string",
7 "scope": "private",
8 "on_clash": "replace"
9}),
10})
11 .then((res) => res.json())
12 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/papers/example/templates",
5 json={"name":"string","description":"string","scope":"private","on_clash":"replace"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /papers/:document_id/versions

Snapshot a named version

POST /papers/:document_id/versions — snapshot the current state as a named version. The edit gate (authz.can_edit_doc) has already loaded the document onto ctx.authz.document, so there's no re-query here (CLAUDE.md rule 18).

Parameters
document_id string · path
required
Body · CreateVersionapplication/json
label string · min length: 1 · max length: 120
required
propertyName anything
Responses
200Successful Response
POST /papers/example/versions
1curl -X POST "http://localhost:8000/papers/example/versions" \
2 -H "Content-Type: application/json" \
3 -d '{"label":"string"}'
1fetch("http://localhost:8000/papers/example/versions", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "label": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/papers/example/versions",
5 json={"label":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /papers/:document_id/comments

Add a comment

POST /papers/:document_id/comments — add a comment.

Parameters
document_id string · path
required
Body · CreateCommentapplication/json
body string · max length: 4000
asset_id string · max length: 64
object_id string · max length: 64
parent_id string · max length: 64
nx number
ny number
propertyName anything
Responses
200Successful Response
POST /papers/example/comments
1curl -X POST "http://localhost:8000/papers/example/comments" \
2 -H "Content-Type: application/json" \
3 -d '{"body":"string","asset_id":"string","object_id":"string","parent_id":"string","nx":1.5,"ny":1.5}'
1fetch("http://localhost:8000/papers/example/comments", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "body": "string",
6 "asset_id": "string",
7 "object_id": "string",
8 "parent_id": "string",
9 "nx": 1.5,
10 "ny": 1.5
11}),
12})
13 .then((res) => res.json())
14 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/papers/example/comments",
5 json={"body":"string","asset_id":"string","object_id":"string","parent_id":"string","nx":1.5,"ny":1.5},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /papers/:document_id/presence undocumented

/papers/:document_id/presence

PUT /papers/:document_id/presence — update cursor position.

Parameters
document_id string · path
required
Responses
200Successful Response
PUT /papers/example/presence
1curl -X PUT "http://localhost:8000/papers/example/presence"
1fetch("http://localhost:8000/papers/example/presence", { method: "PUT" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.put("http://localhost:8000/papers/example/presence")
4print(response.json())
200 Example Response
No Body
PATCH /chats/:id/participants/:member_mrn

Update participant role

PATCH /chats/:id/participants/:member_mrn — change a participant's role.

Parameters
id string · path
required
member_mrn string · path
required
Body · UpdateParticipantapplication/json
role
required
propertyName anything
Responses
200Successful Response
PATCH /chats/example/participants/example
1curl -X PATCH "http://localhost:8000/chats/example/participants/example" \
2 -H "Content-Type: application/json" \
3 -d '{"role":"admin"}'
1fetch("http://localhost:8000/chats/example/participants/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "role": "admin"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/chats/example/participants/example",
5 json={"role":"admin"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /calls/:id/participants/:member_mrn

Update participant role

Parameters
id string · path
required
member_mrn string · path
required
Body · UpdateParticipantapplication/json
role
required
propertyName anything
Responses
200Successful Response
PATCH /calls/example/participants/example
1curl -X PATCH "http://localhost:8000/calls/example/participants/example" \
2 -H "Content-Type: application/json" \
3 -d '{"role":"admin"}'
1fetch("http://localhost:8000/calls/example/participants/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "role": "admin"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/calls/example/participants/example",
5 json={"role":"admin"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /chats/:id/participants

Add participants

POST /chats/:id/participants — add participants to a group.

Parameters
id string · path
required
Body · AddParticipantsapplication/json
members array
required
history
history_days integer · min: 1 · max: 3650
share_history
propertyName anything
Responses
200Successful Response
POST /chats/example/participants
1curl -X POST "http://localhost:8000/chats/example/participants" \
2 -H "Content-Type: application/json" \
3 -d '{"members":["string"],"history":"none","history_days":1,"share_history":{}}'
1fetch("http://localhost:8000/chats/example/participants", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "members": [
6 "string"
7 ],
8 "history": "none",
9 "history_days": 1,
10 "share_history": {}
11}),
12})
13 .then((res) => res.json())
14 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/chats/example/participants",
5 json={"members":["string"],"history":"none","history_days":1,"share_history":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /calls/:id/participants

Invite participants

Parameters
id string · path
required
Body · InviteParticipantsapplication/json
members array
required
propertyName anything
Responses
200Successful Response
POST /calls/example/participants
1curl -X POST "http://localhost:8000/calls/example/participants" \
2 -H "Content-Type: application/json" \
3 -d '{"members":["string"]}'
1fetch("http://localhost:8000/calls/example/participants", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "members": [
6 "string"
7 ]
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/calls/example/participants",
5 json={"members":["string"]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
DELETE /payment-methods/:pm_id undocumented

/payment-methods/:pm_id

DELETE /payment-methods/:pm_id — Remove a payment method.

Parameters
pm_id string · path
required
Responses
200Successful Response
DELETE /payment-methods/example
1curl -X DELETE "http://localhost:8000/payment-methods/example"
1fetch("http://localhost:8000/payment-methods/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/payment-methods/example")
4print(response.json())
200 Example Response
No Body
PUT /payment-methods/:pm_id undocumented

/payment-methods/:pm_id

PUT /payment-methods/:pm_id — Set default payment method.

Parameters
pm_id string · path
required
Responses
200Successful Response
PUT /payment-methods/example
1curl -X PUT "http://localhost:8000/payment-methods/example"
1fetch("http://localhost:8000/payment-methods/example", { method: "PUT" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.put("http://localhost:8000/payment-methods/example")
4print(response.json())
200 Example Response
No Body
PATCH /finance/payments/:payment_id

Apply allocations

Apply new allocations to an unallocated (or partially-allocated) payment.

Parameters
payment_id string · path
required
Body · ApplyAllocationsapplication/json
allocations array
required
propertyName anything
Responses
200Successful Response
PATCH /finance/payments/example
1curl -X PATCH "http://localhost:8000/finance/payments/example" \
2 -H "Content-Type: application/json" \
3 -d '{"allocations":[{"entry_id":"string","amount":1.5,"entry_amount":1.5}]}'
1fetch("http://localhost:8000/finance/payments/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "allocations": [
6 {
7 "entry_id": "string",
8 "amount": 1.5,
9 "entry_amount": 1.5
10 }
11 ]
12}),
13})
14 .then((res) => res.json())
15 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/finance/payments/example",
5 json={"allocations":[{"entry_id":"string","amount":1.5,"entry_amount":1.5}]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /finance/payments

Record a payment

Body · CreatePaymentapplication/json
direction
required
amount number
required
method
required
paid_at string · min length: 10
required
bank_account_id string
allocations array
allocate_entry_id string
allocate_entry_amount number
allow_overpayment
contact_mrn string
company_mrn string
currency
exchange_rate number
reference string · max length: 200
memo string · max length: 2000
idempotency_key string · max length: 100
propertyName anything
Responses
200Successful Response
POST /finance/payments
1curl -X POST "http://localhost:8000/finance/payments" \
2 -H "Content-Type: application/json" \
3 -d '{"direction":"inbound","amount":1.5,"method":"bank_transfer","paid_at":"string","bank_account_id":"string","allocations":[{"entry_id":"string","amount":1.5,"entry_amount":1.5}],"allocate_entry_id":"string","allocate_entry_amount":1.5,"allow_overpayment":{},"contact_mrn":"string","company_mrn":"string","currency":"USD","exchange_rate":1.5,"reference":"string","memo":"string","idempotency_key":"string"}'
1fetch("http://localhost:8000/finance/payments", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "direction": "inbound",
6 "amount": 1.5,
7 "method": "bank_transfer",
8 "paid_at": "string",
9 "bank_account_id": "string",
10 "allocations": [
11 {
12 "entry_id": "string",
13 "amount": 1.5,
14 "entry_amount": 1.5
15 }
16 ],
17 "allocate_entry_id": "string",
18 "allocate_entry_amount": 1.5,
19 "allow_overpayment": {},
20 "contact_mrn": "string",
21 "company_mrn": "string",
22 "currency": "USD",
23 "exchange_rate": 1.5,
24 "reference": "string",
25 "memo": "string",
26 "idempotency_key": "string"
27}),
28})
29 .then((res) => res.json())
30 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/finance/payments",
5 json={"direction":"inbound","amount":1.5,"method":"bank_transfer","paid_at":"string","bank_account_id":"string","allocations":[{"entry_id":"string","amount":1.5,"entry_amount":1.5}],"allocate_entry_id":"string","allocate_entry_amount":1.5,"allow_overpayment":{},"contact_mrn":"string","company_mrn":"string","currency":"USD","exchange_rate":1.5,"reference":"string","memo":"string","idempotency_key":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /finance/payments/:payment_id/reversals

Reverse a payment

Parameters
payment_id string · path
required
Body · CreateReversalapplication/json
reason string · min length: 1 · max length: 500
required
propertyName anything
Responses
200Successful Response
POST /finance/payments/example/reversals
1curl -X POST "http://localhost:8000/finance/payments/example/reversals" \
2 -H "Content-Type: application/json" \
3 -d '{"reason":"string"}'
1fetch("http://localhost:8000/finance/payments/example/reversals", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "reason": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/finance/payments/example/reversals",
5 json={"reason":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /finance/fiscal-periods/:period_id

Update/close a period

Parameters
period_id string · path
required
Body · UpdateFiscalPeriodapplication/json
name string · min length: 1 · max length: 50
start string · min length: 10
end string · min length: 10
status
propertyName anything
Responses
200Successful Response
PATCH /finance/fiscal-periods/example
1curl -X PATCH "http://localhost:8000/finance/fiscal-periods/example" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","start":"string","end":"string","status":"open"}'
1fetch("http://localhost:8000/finance/fiscal-periods/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "start": "string",
7 "end": "string",
8 "status": "open"
9}),
10})
11 .then((res) => res.json())
12 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/finance/fiscal-periods/example",
5 json={"name":"string","start":"string","end":"string","status":"open"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /finance/fiscal-periods

Create a fiscal period

Body · FiscalPeriodapplication/json
name string · min length: 1 · max length: 50
required
start string · min length: 10
required
end string · min length: 10
required
status
propertyName anything
Responses
200Successful Response
POST /finance/fiscal-periods
1curl -X POST "http://localhost:8000/finance/fiscal-periods" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","start":"string","end":"string","status":"open"}'
1fetch("http://localhost:8000/finance/fiscal-periods", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "start": "string",
7 "end": "string",
8 "status": "open"
9}),
10})
11 .then((res) => res.json())
12 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/finance/fiscal-periods",
5 json={"name":"string","start":"string","end":"string","status":"open"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /finance/fiscal-periods/:period_id/revaluations

Run period-end FX revaluation

POST /finance/fiscal-periods/:period_id/revaluations Runs one revaluation for the period at the given ``as_of``, applying the supplied closing rates to every open foreign-currency monetary position. Posts a journal entry (``type=journal``, ``status=posted``) and schedules the reversing entry for the first day of the next period.

Parameters
period_id string · path
required
Body · CreateRevaluationapplication/json
as_of string · min length: 10
required
rates
required
propertyName anything
Responses
200Successful Response
POST /finance/fiscal-periods/example/revaluations
1curl -X POST "http://localhost:8000/finance/fiscal-periods/example/revaluations" \
2 -H "Content-Type: application/json" \
3 -d '{"as_of":"string","rates":{}}'
1fetch("http://localhost:8000/finance/fiscal-periods/example/revaluations", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "as_of": "string",
6 "rates": {}
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/finance/fiscal-periods/example/revaluations",
5 json={"as_of":"string","rates":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /folders/:folder_id/permissions

Update folder permission

Parameters
folder_id string · path
required
Body · UpdateFolderPermissionapplication/json
member_mrn string · min length: 1
required
role
required
propertyName anything
Responses
200Successful Response
PATCH /folders/example/permissions
1curl -X PATCH "http://localhost:8000/folders/example/permissions" \
2 -H "Content-Type: application/json" \
3 -d '{"member_mrn":"string","role":"editor"}'
1fetch("http://localhost:8000/folders/example/permissions", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "member_mrn": "string",
6 "role": "editor"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/folders/example/permissions",
5 json={"member_mrn":"string","role":"editor"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /files/:file_id/permissions

Update file permission

Parameters
file_id string · path
required
Body · UpdateFilePermissionapplication/json
member_mrn string · min length: 1
required
role
required
propertyName anything
Responses
200Successful Response
PATCH /files/example/permissions
1curl -X PATCH "http://localhost:8000/files/example/permissions" \
2 -H "Content-Type: application/json" \
3 -d '{"member_mrn":"string","role":"editor"}'
1fetch("http://localhost:8000/files/example/permissions", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "member_mrn": "string",
6 "role": "editor"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/files/example/permissions",
5 json={"member_mrn":"string","role":"editor"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /folders/:folder_id/permissions

Grant folder permissions

Parameters
folder_id string · path
required
Body · GrantFolderPermissionsapplication/json
members array
required
propertyName anything
Responses
200Successful Response
POST /folders/example/permissions
1curl -X POST "http://localhost:8000/folders/example/permissions" \
2 -H "Content-Type: application/json" \
3 -d '{"members":[{"mrn":"string","role":"editor"}]}'
1fetch("http://localhost:8000/folders/example/permissions", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "members": [
6 {
7 "mrn": "string",
8 "role": "editor"
9 }
10 ]
11}),
12})
13 .then((res) => res.json())
14 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/folders/example/permissions",
5 json={"members":[{"mrn":"string","role":"editor"}]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /files/:file_id/permissions

Grant file permissions

Parameters
file_id string · path
required
Body · GrantFilePermissionsapplication/json
members array
required
propertyName anything
Responses
200Successful Response
POST /files/example/permissions
1curl -X POST "http://localhost:8000/files/example/permissions" \
2 -H "Content-Type: application/json" \
3 -d '{"members":[{"mrn":"string","role":"editor"}]}'
1fetch("http://localhost:8000/files/example/permissions", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "members": [
6 {
7 "mrn": "string",
8 "role": "editor"
9 }
10 ]
11}),
12})
13 .then((res) => res.json())
14 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/files/example/permissions",
5 json={"members":[{"mrn":"string","role":"editor"}]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
DELETE /phone/lines/:id undocumented

/phone/lines/:id

Parameters
id string · path
required
Responses
200Successful Response
DELETE /phone/lines/example
1curl -X DELETE "http://localhost:8000/phone/lines/example"
1fetch("http://localhost:8000/phone/lines/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/phone/lines/example")
4print(response.json())
200 Example Response
No Body
DELETE /phone/calls/:id undocumented

/phone/calls/:id

Parameters
id string · path
required
Responses
200Successful Response
DELETE /phone/calls/example
1curl -X DELETE "http://localhost:8000/phone/calls/example"
1fetch("http://localhost:8000/phone/calls/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/phone/calls/example")
4print(response.json())
200 Example Response
No Body
GET /phone/available-numbers undocumented

/phone/available-numbers

Responses
200Successful Response
GET /phone/available-numbers
1curl "http://localhost:8000/phone/available-numbers"
1fetch("http://localhost:8000/phone/available-numbers")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/phone/available-numbers")
4print(response.json())
200 Example Response
No Body
GET /phone/lines undocumented

/phone/lines

Responses
200Successful Response
GET /phone/lines
1curl "http://localhost:8000/phone/lines"
1fetch("http://localhost:8000/phone/lines")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/phone/lines")
4print(response.json())
200 Example Response
No Body
GET /phone/rates undocumented

/phone/rates

Responses
200Successful Response
GET /phone/rates
1curl "http://localhost:8000/phone/rates"
1fetch("http://localhost:8000/phone/rates")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/phone/rates")
4print(response.json())
200 Example Response
No Body
GET /phone/credits undocumented

/phone/credits

Responses
200Successful Response
GET /phone/credits
1curl "http://localhost:8000/phone/credits"
1fetch("http://localhost:8000/phone/credits")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/phone/credits")
4print(response.json())
200 Example Response
No Body
GET /phone/usage undocumented

/phone/usage

Responses
200Successful Response
GET /phone/usage
1curl "http://localhost:8000/phone/usage"
1fetch("http://localhost:8000/phone/usage")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/phone/usage")
4print(response.json())
200 Example Response
No Body
GET /phone/me undocumented

/phone/me

Responses
200Successful Response
GET /phone/me
1curl "http://localhost:8000/phone/me"
1fetch("http://localhost:8000/phone/me")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/phone/me")
4print(response.json())
200 Example Response
No Body
PATCH /phone/lines/:id

Update a phone number

Parameters
id string · path
required
Body · UpdateLineapplication/json
label string · max length: 80
auto_topup
ring_mode
access array
propertyName anything
Responses
200Successful Response
PATCH /phone/lines/example
1curl -X PATCH "http://localhost:8000/phone/lines/example" \
2 -H "Content-Type: application/json" \
3 -d '{"label":"string","auto_topup":{},"ring_mode":"all","access":[{"target_type":"member","target_id":"string","can_answer":{},"can_call":{}}]}'
1fetch("http://localhost:8000/phone/lines/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "label": "string",
6 "auto_topup": {},
7 "ring_mode": "all",
8 "access": [
9 {
10 "target_type": "member",
11 "target_id": "string",
12 "can_answer": {},
13 "can_call": {}
14 }
15 ]
16}),
17})
18 .then((res) => res.json())
19 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/phone/lines/example",
5 json={"label":"string","auto_topup":{},"ring_mode":"all","access":[{"target_type":"member","target_id":"string","can_answer":{},"can_call":{}}]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /phone/lines

Buy a phone number

Body · BuyLineapplication/json
number string · min length: 8 · max length: 20
required
request_key string · min length: 8 · max length: 64
required
label string · max length: 80
locality string · max length: 120
number_type
access array
required
propertyName anything
Responses
200Successful Response
POST /phone/lines
1curl -X POST "http://localhost:8000/phone/lines" \
2 -H "Content-Type: application/json" \
3 -d '{"number":"string","request_key":"string","label":"string","locality":"string","number_type":"local","access":[{"target_type":"member","target_id":"string","can_answer":{},"can_call":{}}]}'
1fetch("http://localhost:8000/phone/lines", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "number": "string",
6 "request_key": "string",
7 "label": "string",
8 "locality": "string",
9 "number_type": "local",
10 "access": [
11 {
12 "target_type": "member",
13 "target_id": "string",
14 "can_answer": {},
15 "can_call": {}
16 }
17 ]
18}),
19})
20 .then((res) => res.json())
21 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/phone/lines",
5 json={"number":"string","request_key":"string","label":"string","locality":"string","number_type":"local","access":[{"target_type":"member","target_id":"string","can_answer":{},"can_call":{}}]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /phone/lines/:id/recharges

Recharge a phone number

Parameters
id string · path
required
Body · Rechargeapplication/json
request_key string · min length: 8 · max length: 64
required
propertyName anything
Responses
200Successful Response
POST /phone/lines/example/recharges
1curl -X POST "http://localhost:8000/phone/lines/example/recharges" \
2 -H "Content-Type: application/json" \
3 -d '{"request_key":"string"}'
1fetch("http://localhost:8000/phone/lines/example/recharges", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "request_key": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/phone/lines/example/recharges",
5 json={"request_key":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /phone/calls

Place a phone call

Body · PlaceCallapplication/json
line_id string · min length: 1 · max length: 64
required
to string · min length: 3 · max length: 32
required
propertyName anything
Responses
200Successful Response
POST /phone/calls
1curl -X POST "http://localhost:8000/phone/calls" \
2 -H "Content-Type: application/json" \
3 -d '{"line_id":"string","to":"string"}'
1fetch("http://localhost:8000/phone/calls", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "line_id": "string",
6 "to": "string"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/phone/calls",
5 json={"line_id":"string","to":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /phone/calls/:id/answers undocumented

/phone/calls/:id/answers

Parameters
id string · path
required
Responses
200Successful Response
POST /phone/calls/example/answers
1curl -X POST "http://localhost:8000/phone/calls/example/answers"
1fetch("http://localhost:8000/phone/calls/example/answers", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/phone/calls/example/answers")
4print(response.json())
200 Example Response
No Body
POST /phone/calls/:id/declines undocumented

/phone/calls/:id/declines

Parameters
id string · path
required
Responses
200Successful Response
POST /phone/calls/example/declines
1curl -X POST "http://localhost:8000/phone/calls/example/declines"
1fetch("http://localhost:8000/phone/calls/example/declines", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/phone/calls/example/declines")
4print(response.json())
200 Example Response
No Body
DELETE /pipelines/:pipeline_id undocumented

/pipelines/:pipeline_id

Parameters
pipeline_id string · path
required
Responses
200Successful Response
DELETE /pipelines/example
1curl -X DELETE "http://localhost:8000/pipelines/example"
1fetch("http://localhost:8000/pipelines/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/pipelines/example")
4print(response.json())
200 Example Response
No Body
DELETE /pipelines/:pipeline_id/stages/:stage_id undocumented

/pipelines/:pipeline_id/stages/:stage_id

Parameters
pipeline_id string · path
required
stage_id string · path
required
Responses
200Successful Response
DELETE /pipelines/example/stages/example
1curl -X DELETE "http://localhost:8000/pipelines/example/stages/example"
1fetch("http://localhost:8000/pipelines/example/stages/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/pipelines/example/stages/example")
4print(response.json())
200 Example Response
No Body
GET /pipelines undocumented

/pipelines

Responses
200Successful Response
GET /pipelines
1curl "http://localhost:8000/pipelines"
1fetch("http://localhost:8000/pipelines")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/pipelines")
4print(response.json())
200 Example Response
No Body
GET /pipelines/:pipeline_id undocumented

/pipelines/:pipeline_id

Parameters
pipeline_id string · path
required
Responses
200Successful Response
GET /pipelines/example
1curl "http://localhost:8000/pipelines/example"
1fetch("http://localhost:8000/pipelines/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/pipelines/example")
4print(response.json())
200 Example Response
No Body
GET /pipelines/overview undocumented

/pipelines/overview

GET /pipelines/overview: every pipeline as a card, with its value and how its open deals spread across stages.

Responses
200Successful Response
GET /pipelines/overview
1curl "http://localhost:8000/pipelines/overview"
1fetch("http://localhost:8000/pipelines/overview")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/pipelines/overview")
4print(response.json())
200 Example Response
No Body
GET /pipelines/:pipeline_id/board undocumented

/pipelines/:pipeline_id/board

GET /pipelines/:pipeline_id/board: the pipeline's open stages, the open deals in each, and its summary.

Parameters
pipeline_id string · path
required
Responses
200Successful Response
GET /pipelines/example/board
1curl "http://localhost:8000/pipelines/example/board"
1fetch("http://localhost:8000/pipelines/example/board")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/pipelines/example/board")
4print(response.json())
200 Example Response
No Body
GET /pipelines/:pipeline_id/stages undocumented

/pipelines/:pipeline_id/stages

Parameters
pipeline_id string · path
required
Responses
200Successful Response
GET /pipelines/example/stages
1curl "http://localhost:8000/pipelines/example/stages"
1fetch("http://localhost:8000/pipelines/example/stages")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/pipelines/example/stages")
4print(response.json())
200 Example Response
No Body
POST /pipelines

Create a pipeline

Body · CreatePipelineapplication/json
name string · min length: 1 · max length: 200
required
description string · max length: 2000
stages array
is_default
propertyName anything
Responses
200Successful Response
POST /pipelines
1curl -X POST "http://localhost:8000/pipelines" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","description":"string","stages":[{"key":"string","name":"string","order":1,"probability":1,"checklist":[{"key":"string","label":"string"}],"playbook":"string","is_closed":{},"is_won":{}}],"is_default":{}}'
1fetch("http://localhost:8000/pipelines", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "description": "string",
7 "stages": [
8 {
9 "key": "string",
10 "name": "string",
11 "order": 1,
12 "probability": 1,
13 "checklist": [
14 {
15 "key": "string",
16 "label": "string"
17 }
18 ],
19 "playbook": "string",
20 "is_closed": {},
21 "is_won": {}
22 }
23 ],
24 "is_default": {}
25}),
26})
27 .then((res) => res.json())
28 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/pipelines",
5 json={"name":"string","description":"string","stages":[{"key":"string","name":"string","order":1,"probability":1,"checklist":[{"key":"string","label":"string"}],"playbook":"string","is_closed":{},"is_won":{}}],"is_default":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /pipelines/:pipeline_id/stages

Add a stage to a pipeline

Parameters
pipeline_id string · path
required
Body · CreateStageapplication/json
name string · min length: 1 · max length: 100
required
key string · min length: 1 · max length: 50
position integer
probability integer · min: 0 · max: 100
is_closed
is_won
playbook string · max length: 5000
checklist_template array
propertyName anything
Responses
200Successful Response
POST /pipelines/example/stages
1curl -X POST "http://localhost:8000/pipelines/example/stages" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","key":"string","position":1,"probability":1,"is_closed":{},"is_won":{},"playbook":"string","checklist_template":[{"key":"string","label":"string"}]}'
1fetch("http://localhost:8000/pipelines/example/stages", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "key": "string",
7 "position": 1,
8 "probability": 1,
9 "is_closed": {},
10 "is_won": {},
11 "playbook": "string",
12 "checklist_template": [
13 {
14 "key": "string",
15 "label": "string"
16 }
17 ]
18}),
19})
20 .then((res) => res.json())
21 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/pipelines/example/stages",
5 json={"name":"string","key":"string","position":1,"probability":1,"is_closed":{},"is_won":{},"playbook":"string","checklist_template":[{"key":"string","label":"string"}]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /pipelines/:pipeline_id

Update a pipeline

Parameters
pipeline_id string · path
required
Body · UpdatePipelineapplication/json
name string · min length: 1 · max length: 200
description string · max length: 2000
is_default
propertyName anything
Responses
200Successful Response
PUT /pipelines/example
1curl -X PUT "http://localhost:8000/pipelines/example" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","description":"string","is_default":{}}'
1fetch("http://localhost:8000/pipelines/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "description": "string",
7 "is_default": {}
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/pipelines/example",
5 json={"name":"string","description":"string","is_default":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /pipelines/:pipeline_id/stages/:stage_id

Update a stage

Parameters
pipeline_id string · path
required
stage_id string · path
required
Body · UpdateStageapplication/json
name string · min length: 1 · max length: 100
position integer
probability integer · min: 0 · max: 100
is_closed
is_won
playbook string · max length: 5000
checklist_template array
propertyName anything
Responses
200Successful Response
PUT /pipelines/example/stages/example
1curl -X PUT "http://localhost:8000/pipelines/example/stages/example" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","position":1,"probability":1,"is_closed":{},"is_won":{},"playbook":"string","checklist_template":[{"key":"string","label":"string"}]}'
1fetch("http://localhost:8000/pipelines/example/stages/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "position": 1,
7 "probability": 1,
8 "is_closed": {},
9 "is_won": {},
10 "playbook": "string",
11 "checklist_template": [
12 {
13 "key": "string",
14 "label": "string"
15 }
16 ]
17}),
18})
19 .then((res) => res.json())
20 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/pipelines/example/stages/example",
5 json={"name":"string","position":1,"probability":1,"is_closed":{},"is_won":{},"playbook":"string","checklist_template":[{"key":"string","label":"string"}]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
GET /plan undocumented

/plan

GET /plan: current plan, price book, currency and billing interval.

Responses
200Successful Response
GET /plan
1curl "http://localhost:8000/plan"
1fetch("http://localhost:8000/plan")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/plan")
4print(response.json())
200 Example Response
No Body
POST /finance/quotes/:entry_id/links

Share a quote with a customer

Parameters
entry_id string · path
required
Body · CreatePortalLinkapplication/json
recipient_email string · max length: 320
propertyName anything
Responses
200Successful Response
POST /finance/quotes/example/links
1curl -X POST "http://localhost:8000/finance/quotes/example/links" \
2 -H "Content-Type: application/json" \
3 -d '{"recipient_email":"string"}'
1fetch("http://localhost:8000/finance/quotes/example/links", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "recipient_email": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/finance/quotes/example/links",
5 json={"recipient_email":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /finance/invoices/:entry_id/links

Share an invoice with a customer

Parameters
entry_id string · path
required
Body · CreatePortalLinkapplication/json
recipient_email string · max length: 320
propertyName anything
Responses
200Successful Response
POST /finance/invoices/example/links
1curl -X POST "http://localhost:8000/finance/invoices/example/links" \
2 -H "Content-Type: application/json" \
3 -d '{"recipient_email":"string"}'
1fetch("http://localhost:8000/finance/invoices/example/links", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "recipient_email": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/finance/invoices/example/links",
5 json={"recipient_email":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /finance/credit-notes/:entry_id/links

Share a credit note with a customer

Parameters
entry_id string · path
required
Body · CreatePortalLinkapplication/json
recipient_email string · max length: 320
propertyName anything
Responses
200Successful Response
POST /finance/credit-notes/example/links
1curl -X POST "http://localhost:8000/finance/credit-notes/example/links" \
2 -H "Content-Type: application/json" \
3 -d '{"recipient_email":"string"}'
1fetch("http://localhost:8000/finance/credit-notes/example/links", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "recipient_email": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/finance/credit-notes/example/links",
5 json={"recipient_email":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /finance/payment-credentials/:provider

Store workspace payment keys

Store a workspace's own provider keys, encrypted at rest. The raw key is write-only: responses only ever carry the mask.

Parameters
provider string · path
required
Body · UpdatePaymentCredentialsapplication/json
secret_key string · min length: 8 · max length: 200
required
public_key string · max length: 200
enabled
propertyName anything
Responses
200Successful Response
PUT /finance/payment-credentials/example
1curl -X PUT "http://localhost:8000/finance/payment-credentials/example" \
2 -H "Content-Type: application/json" \
3 -d '{"secret_key":"string","public_key":"string","enabled":{}}'
1fetch("http://localhost:8000/finance/payment-credentials/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "secret_key": "string",
6 "public_key": "string",
7 "enabled": {}
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/finance/payment-credentials/example",
5 json={"secret_key":"string","public_key":"string","enabled":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
GET /preferences undocumented

/preferences

Responses
200Successful Response
GET /preferences
1curl "http://localhost:8000/preferences"
1fetch("http://localhost:8000/preferences")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/preferences")
4print(response.json())
200 Example Response
No Body
PUT /preferences undocumented

/preferences

Responses
200Successful Response
PUT /preferences
1curl -X PUT "http://localhost:8000/preferences"
1fetch("http://localhost:8000/preferences", { method: "PUT" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.put("http://localhost:8000/preferences")
4print(response.json())
200 Example Response
No Body
DELETE /presignations/:id undocumented

/presignations/:id

DELETE /presignations/:id — abandon a multipart upload so no orphaned parts linger (R2 bills incomplete parts until aborted).

Parameters
id string · path
required
Responses
200Successful Response
DELETE /presignations/example
1curl -X DELETE "http://localhost:8000/presignations/example"
1fetch("http://localhost:8000/presignations/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/presignations/example")
4print(response.json())
200 Example Response
No Body
POST /presignations undocumented

/presignations

POST /presignations — generate a presigned R2 PUT URL. Body: {app, filename, content_type, size_bytes, context: {...}}

Responses
200Successful Response
POST /presignations
1curl -X POST "http://localhost:8000/presignations"
1fetch("http://localhost:8000/presignations", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/presignations")
4print(response.json())
200 Example Response
No Body
POST /presignations/:id/confirmations undocumented

/presignations/:id/confirmations

POST /presignations/:id/confirmations — confirm upload completed. Emits ``system.{app}.upload.confirmed`` with the upload metadata + app context so the originating app can do its bookkeeping. The client-supplied fields are treated as claims, not facts: the storage key must live inside the caller's own workspace namespace, and when R2 is configured the object is HEAD-verified so the size the apps record (and quota checks trust) is what R2 actually holds, not what the client typed.

Parameters
id string · path
required
Responses
200Successful Response
POST /presignations/example/confirmations
1curl -X POST "http://localhost:8000/presignations/example/confirmations"
1fetch("http://localhost:8000/presignations/example/confirmations", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/presignations/example/confirmations")
4print(response.json())
200 Example Response
No Body
POST /presignations/:id/completions undocumented

/presignations/:id/completions

POST /presignations/:id/completions — stitch uploaded parts together. Body: {app, storage_key, r2_upload_id, parts: [{part_number, etag}]}. The client still calls the confirmation endpoint afterwards; that is where the HEAD verification and app bookkeeping happen.

Parameters
id string · path
required
Responses
200Successful Response
POST /presignations/example/completions
1curl -X POST "http://localhost:8000/presignations/example/completions"
1fetch("http://localhost:8000/presignations/example/completions", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/presignations/example/completions")
4print(response.json())
200 Example Response
No Body
DELETE /me/recovery-email

Remove the owner's recovery email

Body · RemoveRecoveryEmailapplication/json
password string · max length: 128
totp string · max length: 9
propertyName anything
Responses
200Successful Response
DELETE /me/recovery-email
1curl -X DELETE "http://localhost:8000/me/recovery-email" \
2 -H "Content-Type: application/json" \
3 -d '{"password":"string","totp":"string"}'
1fetch("http://localhost:8000/me/recovery-email", {
2 method: "DELETE",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "password": "string",
6 "totp": "string"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.delete(
4 "http://localhost:8000/me/recovery-email",
5 json={"password":"string","totp":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /me/locale

Set your UI language

PUT /me/locale — save the UI language this person picked. Written to profiles, not members: the preference belongs to the individual, so it follows them into every workspace they belong to and onto every device they sign in from. A workspace never overrides it. Three places are updated together, and all three matter: * profiles.locale — the durable record, read at sign-in on a new device * the session blob — what the locale middleware reads per request * the cookie — so signing out does not drop the login page back to English, and so the marketing site agrees with the app The caller reloads afterwards. Every surface is server-rendered, so there is nothing to re-translate in place.

Body · SetLocaleapplication/json
locale
required
propertyName anything
Responses
200Successful Response
PUT /me/locale
1curl -X PUT "http://localhost:8000/me/locale" \
2 -H "Content-Type: application/json" \
3 -d '{"locale":"en"}'
1fetch("http://localhost:8000/me/locale", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "locale": "en"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/me/locale",
5 json={"locale":"en"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /profiles/:member_id

Update profile

Update own profile (name, job title).

Parameters
member_id string · path
required
Body · UpdateProfileapplication/json
full_name string · min length: 1 · max length: 200
job_title string · max length: 200
propertyName anything
Responses
200Successful Response
PUT /profiles/example
1curl -X PUT "http://localhost:8000/profiles/example" \
2 -H "Content-Type: application/json" \
3 -d '{"full_name":"string","job_title":"string"}'
1fetch("http://localhost:8000/profiles/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "full_name": "string",
6 "job_title": "string"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/profiles/example",
5 json={"full_name":"string","job_title":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /profiles/:member_id/contact

Update contact info

PUT /profiles/:member_id/contact — update phone number and address. Writes the CURRENT WORKSPACE's copy, not the shared profile. Before migration 080 these six fields lived only on profiles, so two workspaces inviting the same email shared one row: handing your mobile to one employer published it to every other workspace you belonged to. Same reason migration 035 moved name, title and avatar.

Parameters
member_id string · path
required
Body · UpdateContactapplication/json
phone_number string · max length: 50
street string · max length: 300
city string · max length: 100
state string · max length: 100
postal_code string · max length: 20
country string · max length: 100
propertyName anything
Responses
200Successful Response
PUT /profiles/example/contact
1curl -X PUT "http://localhost:8000/profiles/example/contact" \
2 -H "Content-Type: application/json" \
3 -d '{"phone_number":"string","street":"string","city":"string","state":"string","postal_code":"string","country":"string"}'
1fetch("http://localhost:8000/profiles/example/contact", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "phone_number": "string",
6 "street": "string",
7 "city": "string",
8 "state": "string",
9 "postal_code": "string",
10 "country": "string"
11}),
12})
13 .then((res) => res.json())
14 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/profiles/example/contact",
5 json={"phone_number":"string","street":"string","city":"string","state":"string","postal_code":"string","country":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /passwords/:member_id

Set or change password

Set or change your own password. This is also the only way to SET one, because there is no forgot-password flow: if you cannot remember it, you sign in with a mailed link and come here. So the current password is required only when one exists. Somebody who joined by link and has never had a password proves nothing beyond the live session they are already holding, and demanding a password they do not have would strand them with no way to ever get one.

Parameters
member_id string · path
required
Body · ChangePasswordapplication/json
new_password string · min length: 8 · max length: 128
required
current_password string · min length: 1 · max length: 128
propertyName anything
Responses
200Successful Response
PUT /passwords/example
1curl -X PUT "http://localhost:8000/passwords/example" \
2 -H "Content-Type: application/json" \
3 -d '{"new_password":"string","current_password":"string"}'
1fetch("http://localhost:8000/passwords/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "new_password": "string",
6 "current_password": "string"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/passwords/example",
5 json={"new_password":"string","current_password":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /me/recovery-email

Set the owner's recovery email

PUT /me/recovery-email: mail a confirm link to the new address. It counts once confirmed.

Body · SetRecoveryEmailapplication/json
email string · min length: 3 · max length: 254 · email
required
password string · max length: 128
totp string · max length: 9
propertyName anything
Responses
200Successful Response
PUT /me/recovery-email
1curl -X PUT "http://localhost:8000/me/recovery-email" \
2 -H "Content-Type: application/json" \
3 -d '{"email":"user@example.com","password":"string","totp":"string"}'
1fetch("http://localhost:8000/me/recovery-email", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "email": "user@example.com",
6 "password": "string",
7 "totp": "string"
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/me/recovery-email",
5 json={"email":"user@example.com","password":"string","totp":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /workers/:worker_id/fields

Update a worker's custom field values

PATCH custom field values: {values: [{field_id, value}]}. A null/empty value clears the field. Values are validated against the definition type.

Parameters
worker_id string · path
required
Body · UpdateWorkerCustomFieldsapplication/json
values array
required
propertyName anything
Responses
200Successful Response
PATCH /workers/example/fields
1curl -X PATCH "http://localhost:8000/workers/example/fields" \
2 -H "Content-Type: application/json" \
3 -d '{"values":[{"field_id":"string","value":"string"}]}'
1fetch("http://localhost:8000/workers/example/fields", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "values": [
6 {
7 "field_id": "string",
8 "value": "string"
9 }
10 ]
11}),
12})
13 .then((res) => res.json())
14 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/workers/example/fields",
5 json={"values":[{"field_id":"string","value":"string"}]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /workers/fields

Create a custom profile field

Body · CreateFieldDefinitionapplication/json
label string · min length: 1 · max length: 100
required
type
required
section string · max length: 100
options array
required
sensitive
help_text string · max length: 300
position integer · min: 0 · max: 10000
propertyName anything
Responses
200Successful Response
POST /workers/fields
1curl -X POST "http://localhost:8000/workers/fields" \
2 -H "Content-Type: application/json" \
3 -d '{"label":"string","type":"text","section":"string","options":["string"],"required":{},"sensitive":{},"help_text":"string","position":1}'
1fetch("http://localhost:8000/workers/fields", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "label": "string",
6 "type": "text",
7 "section": "string",
8 "options": [
9 "string"
10 ],
11 "required": {},
12 "sensitive": {},
13 "help_text": "string",
14 "position": 1
15}),
16})
17 .then((res) => res.json())
18 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/workers/fields",
5 json={"label":"string","type":"text","section":"string","options":["string"],"required":{},"sensitive":{},"help_text":"string","position":1},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /workers/fields/:field_id

Update a custom profile field

Parameters
field_id string · path
required
Body · UpdateFieldDefinitionapplication/json
label string · min length: 1 · max length: 100
section string · max length: 100
options array
required
sensitive
help_text string · max length: 300
position integer · min: 0 · max: 10000
propertyName anything
Responses
200Successful Response
PUT /workers/fields/example
1curl -X PUT "http://localhost:8000/workers/fields/example" \
2 -H "Content-Type: application/json" \
3 -d '{"label":"string","section":"string","options":["string"],"required":{},"sensitive":{},"help_text":"string","position":1}'
1fetch("http://localhost:8000/workers/fields/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "label": "string",
6 "section": "string",
7 "options": [
8 "string"
9 ],
10 "required": {},
11 "sensitive": {},
12 "help_text": "string",
13 "position": 1
14}),
15})
16 .then((res) => res.json())
17 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/workers/fields/example",
5 json={"label":"string","section":"string","options":["string"],"required":{},"sensitive":{},"help_text":"string","position":1},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /identity/groups/:group_id

Pick the role an identity-provider group fills

PATCH /identity/groups/:group_id: pick the role the group fills, or none to ignore it (decision R).

Parameters
group_id string · path
required
Body · UpdateIdentityGroupapplication/json
role_id string · max length: 64
required
propertyName anything
Responses
200Successful Response
PATCH /identity/groups/example
1curl -X PATCH "http://localhost:8000/identity/groups/example" \
2 -H "Content-Type: application/json" \
3 -d '{"role_id":"string"}'
1fetch("http://localhost:8000/identity/groups/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "role_id": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/identity/groups/example",
5 json={"role_id":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /identity/scim-tokens

Make a SCIM token for an identity provider

POST /identity/scim-tokens: a token for one connection's identity provider, shown this once.

Body · CreateScimTokenapplication/json
connection_id string · min length: 1 · max length: 64
required
propertyName anything
Responses
200Successful Response
POST /identity/scim-tokens
1curl -X POST "http://localhost:8000/identity/scim-tokens" \
2 -H "Content-Type: application/json" \
3 -d '{"connection_id":"string"}'
1fetch("http://localhost:8000/identity/scim-tokens", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "connection_id": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/identity/scim-tokens",
5 json={"connection_id":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
DELETE /ptos/:id undocumented

/ptos/:id

Parameters
id string · path
required
Responses
200Successful Response
DELETE /ptos/example
1curl -X DELETE "http://localhost:8000/ptos/example"
1fetch("http://localhost:8000/ptos/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/ptos/example")
4print(response.json())
200 Example Response
No Body
GET /ptos undocumented

/ptos

Responses
200Successful Response
GET /ptos
1curl "http://localhost:8000/ptos"
1fetch("http://localhost:8000/ptos")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/ptos")
4print(response.json())
200 Example Response
No Body
GET /ptos/pending undocumented

/ptos/pending

List pending PTOs the current user can approve. A user approves their direct reports (workers whose manager is them). The projection stores ``manager_id`` as a *worker* id, so we resolve the viewer's own worker id and match against it — never against the member id. Owners and admins additionally approve workers who have no manager at all (the no-manager fallback). A user never approves their own request.

Responses
200Successful Response
GET /ptos/pending
1curl "http://localhost:8000/ptos/pending"
1fetch("http://localhost:8000/ptos/pending")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/ptos/pending")
4print(response.json())
200 Example Response
No Body
GET /ptos/:id undocumented

/ptos/:id

Parameters
id string · path
required
Responses
200Successful Response
GET /ptos/example
1curl "http://localhost:8000/ptos/example"
1fetch("http://localhost:8000/ptos/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/ptos/example")
4print(response.json())
200 Example Response
No Body
GET /public-holidays undocumented

/public-holidays

GET /public-holidays: one country's public holidays for a year, for a schedule to close on.

Responses
200Successful Response
GET /public-holidays
1curl "http://localhost:8000/public-holidays"
1fetch("http://localhost:8000/public-holidays")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/public-holidays")
4print(response.json())
200 Example Response
No Body
GET /public-holidays/countries undocumented

/public-holidays/countries

GET /public-holidays/countries: countries whose public holidays can be added, found by name, with their regions.

Responses
200Successful Response
GET /public-holidays/countries
1curl "http://localhost:8000/public-holidays/countries"
1fetch("http://localhost:8000/public-holidays/countries")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/public-holidays/countries")
4print(response.json())
200 Example Response
No Body
PATCH /finance/purchase-credit-notes/:entry_id

Issue/void purchase credit note

Parameters
entry_id string · path
required
Body · UpdatePurchaseCreditNoteStatusapplication/json
status
required
propertyName anything
Responses
200Successful Response
PATCH /finance/purchase-credit-notes/example
1curl -X PATCH "http://localhost:8000/finance/purchase-credit-notes/example" \
2 -H "Content-Type: application/json" \
3 -d '{"status":"issued"}'
1fetch("http://localhost:8000/finance/purchase-credit-notes/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "status": "issued"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/finance/purchase-credit-notes/example",
5 json={"status":"issued"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /finance/purchase-credit-notes

Record a vendor credit note

Body · CreatePurchaseCreditNoteapplication/json
date string · min length: 10
required
items array
source_entry_id string · min length: 1
required
contact_mrn string
company_mrn string
currency
exchange_rate number
memo string · max length: 5000
adjustments array
dimensions
idempotency_key string · max length: 100
propertyName anything
Responses
200Successful Response
POST /finance/purchase-credit-notes
1curl -X POST "http://localhost:8000/finance/purchase-credit-notes" \
2 -H "Content-Type: application/json" \
3 -d '{"date":"string","items":[{"description":"string","quantity":1.5,"unit_price":1.5,"discount":1.5,"amount":1.5,"account_code":"string","product_mrn":"string","taxes":[{"name":"string","rate":1.5,"amount":1.5,"reverse_charge":{}}]}],"source_entry_id":"string","contact_mrn":"string","company_mrn":"string","currency":"USD","exchange_rate":1.5,"memo":"string","adjustments":[{"label":"string","type":"fixed","value":1.5,"amount":1.5,"account_code":"string"}],"dimensions":{},"idempotency_key":"string"}'
1fetch("http://localhost:8000/finance/purchase-credit-notes", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "date": "string",
6 "items": [
7 {
8 "description": "string",
9 "quantity": 1.5,
10 "unit_price": 1.5,
11 "discount": 1.5,
12 "amount": 1.5,
13 "account_code": "string",
14 "product_mrn": "string",
15 "taxes": [
16 {
17 "name": "string",
18 "rate": 1.5,
19 "amount": 1.5,
20 "reverse_charge": {}
21 }
22 ]
23 }
24 ],
25 "source_entry_id": "string",
26 "contact_mrn": "string",
27 "company_mrn": "string",
28 "currency": "USD",
29 "exchange_rate": 1.5,
30 "memo": "string",
31 "adjustments": [
32 {
33 "label": "string",
34 "type": "fixed",
35 "value": 1.5,
36 "amount": 1.5,
37 "account_code": "string"
38 }
39 ],
40 "dimensions": {},
41 "idempotency_key": "string"
42}),
43})
44 .then((res) => res.json())
45 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/finance/purchase-credit-notes",
5 json={"date":"string","items":[{"description":"string","quantity":1.5,"unit_price":1.5,"discount":1.5,"amount":1.5,"account_code":"string","product_mrn":"string","taxes":[{"name":"string","rate":1.5,"amount":1.5,"reverse_charge":{}}]}],"source_entry_id":"string","contact_mrn":"string","company_mrn":"string","currency":"USD","exchange_rate":1.5,"memo":"string","adjustments":[{"label":"string","type":"fixed","value":1.5,"amount":1.5,"account_code":"string"}],"dimensions":{},"idempotency_key":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /finance/purchase-credit-notes/:entry_id/allocations

Set vendor credit against a bill

Parameters
entry_id string · path
required
Body · CreatePurchaseCreditNoteAllocationapplication/json
entry_id string · min length: 1
required
amount number
required
entry_amount number
propertyName anything
Responses
200Successful Response
POST /finance/purchase-credit-notes/example/allocations
1curl -X POST "http://localhost:8000/finance/purchase-credit-notes/example/allocations" \
2 -H "Content-Type: application/json" \
3 -d '{"entry_id":"string","amount":1.5,"entry_amount":1.5}'
1fetch("http://localhost:8000/finance/purchase-credit-notes/example/allocations", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "entry_id": "string",
6 "amount": 1.5,
7 "entry_amount": 1.5
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/finance/purchase-credit-notes/example/allocations",
5 json={"entry_id":"string","amount":1.5,"entry_amount":1.5},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /finance/purchase-credit-notes/:entry_id

Update a draft purchase credit note

Parameters
entry_id string · path
required
Body · UpdatePurchaseCreditNoteapplication/json
date string · min length: 10
items array
contact_mrn string
company_mrn string
currency
exchange_rate number
memo string · max length: 5000
adjustments array
dimensions
propertyName anything
Responses
200Successful Response
PUT /finance/purchase-credit-notes/example
1curl -X PUT "http://localhost:8000/finance/purchase-credit-notes/example" \
2 -H "Content-Type: application/json" \
3 -d '{"date":"string","items":[{"description":"string","quantity":1.5,"unit_price":1.5,"discount":1.5,"amount":1.5,"account_code":"string","product_mrn":"string","taxes":[{"name":"string","rate":1.5,"amount":1.5,"reverse_charge":{}}]}],"contact_mrn":"string","company_mrn":"string","currency":"USD","exchange_rate":1.5,"memo":"string","adjustments":[{"label":"string","type":"fixed","value":1.5,"amount":1.5,"account_code":"string"}],"dimensions":{}}'
1fetch("http://localhost:8000/finance/purchase-credit-notes/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "date": "string",
6 "items": [
7 {
8 "description": "string",
9 "quantity": 1.5,
10 "unit_price": 1.5,
11 "discount": 1.5,
12 "amount": 1.5,
13 "account_code": "string",
14 "product_mrn": "string",
15 "taxes": [
16 {
17 "name": "string",
18 "rate": 1.5,
19 "amount": 1.5,
20 "reverse_charge": {}
21 }
22 ]
23 }
24 ],
25 "contact_mrn": "string",
26 "company_mrn": "string",
27 "currency": "USD",
28 "exchange_rate": 1.5,
29 "memo": "string",
30 "adjustments": [
31 {
32 "label": "string",
33 "type": "fixed",
34 "value": 1.5,
35 "amount": 1.5,
36 "account_code": "string"
37 }
38 ],
39 "dimensions": {}
40}),
41})
42 .then((res) => res.json())
43 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/finance/purchase-credit-notes/example",
5 json={"date":"string","items":[{"description":"string","quantity":1.5,"unit_price":1.5,"discount":1.5,"amount":1.5,"account_code":"string","product_mrn":"string","taxes":[{"name":"string","rate":1.5,"amount":1.5,"reverse_charge":{}}]}],"contact_mrn":"string","company_mrn":"string","currency":"USD","exchange_rate":1.5,"memo":"string","adjustments":[{"label":"string","type":"fixed","value":1.5,"amount":1.5,"account_code":"string"}],"dimensions":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /finance/purchase-orders/:entry_id

Transition a PO

Parameters
entry_id string · path
required
Body · UpdatePurchaseOrderStatusapplication/json
status
required
propertyName anything
Responses
200Successful Response
PATCH /finance/purchase-orders/example
1curl -X PATCH "http://localhost:8000/finance/purchase-orders/example" \
2 -H "Content-Type: application/json" \
3 -d '{"status":"sent"}'
1fetch("http://localhost:8000/finance/purchase-orders/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "status": "sent"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/finance/purchase-orders/example",
5 json={"status":"sent"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /finance/purchase-orders

Create a purchase order

Body · CreatePurchaseOrderapplication/json
date string · min length: 10
required
items array
company_mrn string
contact_mrn string
currency
required
exchange_rate number
memo string · max length: 5000
tags array
adjustments array
idempotency_key string · max length: 100
propertyName anything
Responses
200Successful Response
POST /finance/purchase-orders
1curl -X POST "http://localhost:8000/finance/purchase-orders" \
2 -H "Content-Type: application/json" \
3 -d '{"date":"string","items":[{"description":"string","quantity":1.5,"unit_price":1.5,"discount":1.5,"amount":1.5,"account_code":"string","product_mrn":"string","taxes":[{"name":"string","rate":1.5,"amount":1.5,"reverse_charge":{}}]}],"company_mrn":"string","contact_mrn":"string","currency":"USD","exchange_rate":1.5,"memo":"string","tags":["string"],"adjustments":[{"label":"string","type":"fixed","value":1.5,"amount":1.5,"account_code":"string"}],"idempotency_key":"string"}'
1fetch("http://localhost:8000/finance/purchase-orders", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "date": "string",
6 "items": [
7 {
8 "description": "string",
9 "quantity": 1.5,
10 "unit_price": 1.5,
11 "discount": 1.5,
12 "amount": 1.5,
13 "account_code": "string",
14 "product_mrn": "string",
15 "taxes": [
16 {
17 "name": "string",
18 "rate": 1.5,
19 "amount": 1.5,
20 "reverse_charge": {}
21 }
22 ]
23 }
24 ],
25 "company_mrn": "string",
26 "contact_mrn": "string",
27 "currency": "USD",
28 "exchange_rate": 1.5,
29 "memo": "string",
30 "tags": [
31 "string"
32 ],
33 "adjustments": [
34 {
35 "label": "string",
36 "type": "fixed",
37 "value": 1.5,
38 "amount": 1.5,
39 "account_code": "string"
40 }
41 ],
42 "idempotency_key": "string"
43}),
44})
45 .then((res) => res.json())
46 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/finance/purchase-orders",
5 json={"date":"string","items":[{"description":"string","quantity":1.5,"unit_price":1.5,"discount":1.5,"amount":1.5,"account_code":"string","product_mrn":"string","taxes":[{"name":"string","rate":1.5,"amount":1.5,"reverse_charge":{}}]}],"company_mrn":"string","contact_mrn":"string","currency":"USD","exchange_rate":1.5,"memo":"string","tags":["string"],"adjustments":[{"label":"string","type":"fixed","value":1.5,"amount":1.5,"account_code":"string"}],"idempotency_key":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /finance/purchase-orders/:entry_id/receipts

Record a receipt

Record a receipt against a PO — auto-creates a draft bill with the selected lines.

Parameters
entry_id string · path
required
Body · CreateReceiptapplication/json
date string · min length: 10
required
lines array
required
memo string · max length: 2000
propertyName anything
Responses
200Successful Response
POST /finance/purchase-orders/example/receipts
1curl -X POST "http://localhost:8000/finance/purchase-orders/example/receipts" \
2 -H "Content-Type: application/json" \
3 -d '{"date":"string","lines":[{"item_index":1,"quantity":1.5}],"memo":"string"}'
1fetch("http://localhost:8000/finance/purchase-orders/example/receipts", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "date": "string",
6 "lines": [
7 {
8 "item_index": 1,
9 "quantity": 1.5
10 }
11 ],
12 "memo": "string"
13}),
14})
15 .then((res) => res.json())
16 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/finance/purchase-orders/example/receipts",
5 json={"date":"string","lines":[{"item_index":1,"quantity":1.5}],"memo":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /finance/purchase-orders/:entry_id

Update a draft PO

Parameters
entry_id string · path
required
Body · UpdatePurchaseOrderapplication/json
date string · min length: 10
items array
company_mrn string
contact_mrn string
currency
exchange_rate number
memo string · max length: 5000
tags array
adjustments array
dimensions
propertyName anything
Responses
200Successful Response
PUT /finance/purchase-orders/example
1curl -X PUT "http://localhost:8000/finance/purchase-orders/example" \
2 -H "Content-Type: application/json" \
3 -d '{"date":"string","items":[{"description":"string","quantity":1.5,"unit_price":1.5,"discount":1.5,"amount":1.5,"account_code":"string","product_mrn":"string","taxes":[{"name":"string","rate":1.5,"amount":1.5,"reverse_charge":{}}]}],"company_mrn":"string","contact_mrn":"string","currency":"USD","exchange_rate":1.5,"memo":"string","tags":["string"],"adjustments":[{"label":"string","type":"fixed","value":1.5,"amount":1.5,"account_code":"string"}],"dimensions":{}}'
1fetch("http://localhost:8000/finance/purchase-orders/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "date": "string",
6 "items": [
7 {
8 "description": "string",
9 "quantity": 1.5,
10 "unit_price": 1.5,
11 "discount": 1.5,
12 "amount": 1.5,
13 "account_code": "string",
14 "product_mrn": "string",
15 "taxes": [
16 {
17 "name": "string",
18 "rate": 1.5,
19 "amount": 1.5,
20 "reverse_charge": {}
21 }
22 ]
23 }
24 ],
25 "company_mrn": "string",
26 "contact_mrn": "string",
27 "currency": "USD",
28 "exchange_rate": 1.5,
29 "memo": "string",
30 "tags": [
31 "string"
32 ],
33 "adjustments": [
34 {
35 "label": "string",
36 "type": "fixed",
37 "value": 1.5,
38 "amount": 1.5,
39 "account_code": "string"
40 }
41 ],
42 "dimensions": {}
43}),
44})
45 .then((res) => res.json())
46 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/finance/purchase-orders/example",
5 json={"date":"string","items":[{"description":"string","quantity":1.5,"unit_price":1.5,"discount":1.5,"amount":1.5,"account_code":"string","product_mrn":"string","taxes":[{"name":"string","rate":1.5,"amount":1.5,"reverse_charge":{}}]}],"company_mrn":"string","contact_mrn":"string","currency":"USD","exchange_rate":1.5,"memo":"string","tags":["string"],"adjustments":[{"label":"string","type":"fixed","value":1.5,"amount":1.5,"account_code":"string"}],"dimensions":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
DELETE /push-devices/:id undocumented

/push-devices/:id

DELETE /push-devices/:id: stop notifying this phone.

Parameters
id string · path
required
Responses
200Successful Response
DELETE /push-devices/example
1curl -X DELETE "http://localhost:8000/push-devices/example"
1fetch("http://localhost:8000/push-devices/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/push-devices/example")
4print(response.json())
200 Example Response
No Body
DELETE /push-subscriptions/:id undocumented

/push-subscriptions/:id

DELETE /push-subscriptions/:id: stop notifying this browser.

Parameters
id string · path
required
Responses
200Successful Response
DELETE /push-subscriptions/example
1curl -X DELETE "http://localhost:8000/push-subscriptions/example"
1fetch("http://localhost:8000/push-subscriptions/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/push-subscriptions/example")
4print(response.json())
200 Example Response
No Body
PATCH /finance/quotes/:entry_id

Transition a quote

Parameters
entry_id string · path
required
Body · UpdateQuoteStatusapplication/json
status
required
propertyName anything
Responses
200Successful Response
PATCH /finance/quotes/example
1curl -X PATCH "http://localhost:8000/finance/quotes/example" \
2 -H "Content-Type: application/json" \
3 -d '{"status":"sent"}'
1fetch("http://localhost:8000/finance/quotes/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "status": "sent"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/finance/quotes/example",
5 json={"status":"sent"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /finance/quotes

Create a quote

Body · CreateQuoteapplication/json
date string · min length: 10
required
items array
contact_mrn string
company_mrn string
currency
required
exchange_rate number
valid_until string · min length: 10
memo string · max length: 5000
tags array
adjustments array
idempotency_key string · max length: 100
propertyName anything
Responses
200Successful Response
POST /finance/quotes
1curl -X POST "http://localhost:8000/finance/quotes" \
2 -H "Content-Type: application/json" \
3 -d '{"date":"string","items":[{"description":"string","quantity":1.5,"unit_price":1.5,"discount":1.5,"amount":1.5,"account_code":"string","product_mrn":"string","taxes":[{"name":"string","rate":1.5,"amount":1.5,"reverse_charge":{}}]}],"contact_mrn":"string","company_mrn":"string","currency":"USD","exchange_rate":1.5,"valid_until":"string","memo":"string","tags":["string"],"adjustments":[{"label":"string","type":"fixed","value":1.5,"amount":1.5,"account_code":"string"}],"idempotency_key":"string"}'
1fetch("http://localhost:8000/finance/quotes", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "date": "string",
6 "items": [
7 {
8 "description": "string",
9 "quantity": 1.5,
10 "unit_price": 1.5,
11 "discount": 1.5,
12 "amount": 1.5,
13 "account_code": "string",
14 "product_mrn": "string",
15 "taxes": [
16 {
17 "name": "string",
18 "rate": 1.5,
19 "amount": 1.5,
20 "reverse_charge": {}
21 }
22 ]
23 }
24 ],
25 "contact_mrn": "string",
26 "company_mrn": "string",
27 "currency": "USD",
28 "exchange_rate": 1.5,
29 "valid_until": "string",
30 "memo": "string",
31 "tags": [
32 "string"
33 ],
34 "adjustments": [
35 {
36 "label": "string",
37 "type": "fixed",
38 "value": 1.5,
39 "amount": 1.5,
40 "account_code": "string"
41 }
42 ],
43 "idempotency_key": "string"
44}),
45})
46 .then((res) => res.json())
47 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/finance/quotes",
5 json={"date":"string","items":[{"description":"string","quantity":1.5,"unit_price":1.5,"discount":1.5,"amount":1.5,"account_code":"string","product_mrn":"string","taxes":[{"name":"string","rate":1.5,"amount":1.5,"reverse_charge":{}}]}],"contact_mrn":"string","company_mrn":"string","currency":"USD","exchange_rate":1.5,"valid_until":"string","memo":"string","tags":["string"],"adjustments":[{"label":"string","type":"fixed","value":1.5,"amount":1.5,"account_code":"string"}],"idempotency_key":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /finance/quotes/:entry_id/sends

Email a quote

Parameters
entry_id string · path
required
Body · SendQuoteapplication/json
to string · min length: 1 · max length: 500
required
cc string · max length: 500
subject string · max length: 300
message string · max length: 5000
propertyName anything
Responses
200Successful Response
POST /finance/quotes/example/sends
1curl -X POST "http://localhost:8000/finance/quotes/example/sends" \
2 -H "Content-Type: application/json" \
3 -d '{"to":"string","cc":"string","subject":"string","message":"string"}'
1fetch("http://localhost:8000/finance/quotes/example/sends", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "to": "string",
6 "cc": "string",
7 "subject": "string",
8 "message": "string"
9}),
10})
11 .then((res) => res.json())
12 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/finance/quotes/example/sends",
5 json={"to":"string","cc":"string","subject":"string","message":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /finance/quotes/:entry_id/revisions

Revise a sent quote

Revise a sent/rejected quote: supersede the original and create a new draft revision carrying the edits. With ``resend`` (and a known recipient) the revision is emailed and marked sent in one step.

Parameters
entry_id string · path
required
Body · ReviseQuoteapplication/json
date string · min length: 10
items array
contact_mrn string
company_mrn string
currency
exchange_rate number
valid_until string · min length: 10
memo string · max length: 5000
tags array
resend
to string · max length: 500
propertyName anything
Responses
200Successful Response
POST /finance/quotes/example/revisions
1curl -X POST "http://localhost:8000/finance/quotes/example/revisions" \
2 -H "Content-Type: application/json" \
3 -d '{"date":"string","items":[{"description":"string","quantity":1.5,"unit_price":1.5,"discount":1.5,"amount":1.5,"account_code":"string","product_mrn":"string","taxes":[{"name":"string","rate":1.5,"amount":1.5,"reverse_charge":{}}]}],"contact_mrn":"string","company_mrn":"string","currency":"USD","exchange_rate":1.5,"valid_until":"string","memo":"string","tags":["string"],"resend":{},"to":"string"}'
1fetch("http://localhost:8000/finance/quotes/example/revisions", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "date": "string",
6 "items": [
7 {
8 "description": "string",
9 "quantity": 1.5,
10 "unit_price": 1.5,
11 "discount": 1.5,
12 "amount": 1.5,
13 "account_code": "string",
14 "product_mrn": "string",
15 "taxes": [
16 {
17 "name": "string",
18 "rate": 1.5,
19 "amount": 1.5,
20 "reverse_charge": {}
21 }
22 ]
23 }
24 ],
25 "contact_mrn": "string",
26 "company_mrn": "string",
27 "currency": "USD",
28 "exchange_rate": 1.5,
29 "valid_until": "string",
30 "memo": "string",
31 "tags": [
32 "string"
33 ],
34 "resend": {},
35 "to": "string"
36}),
37})
38 .then((res) => res.json())
39 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/finance/quotes/example/revisions",
5 json={"date":"string","items":[{"description":"string","quantity":1.5,"unit_price":1.5,"discount":1.5,"amount":1.5,"account_code":"string","product_mrn":"string","taxes":[{"name":"string","rate":1.5,"amount":1.5,"reverse_charge":{}}]}],"contact_mrn":"string","company_mrn":"string","currency":"USD","exchange_rate":1.5,"valid_until":"string","memo":"string","tags":["string"],"resend":{},"to":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /finance/quotes/:entry_id

Update a draft quote

Parameters
entry_id string · path
required
Body · UpdateQuoteapplication/json
date string · min length: 10
items array
contact_mrn string
company_mrn string
currency
exchange_rate number
valid_until string · min length: 10
memo string · max length: 5000
tags array
adjustments array
dimensions
propertyName anything
Responses
200Successful Response
PUT /finance/quotes/example
1curl -X PUT "http://localhost:8000/finance/quotes/example" \
2 -H "Content-Type: application/json" \
3 -d '{"date":"string","items":[{"description":"string","quantity":1.5,"unit_price":1.5,"discount":1.5,"amount":1.5,"account_code":"string","product_mrn":"string","taxes":[{"name":"string","rate":1.5,"amount":1.5,"reverse_charge":{}}]}],"contact_mrn":"string","company_mrn":"string","currency":"USD","exchange_rate":1.5,"valid_until":"string","memo":"string","tags":["string"],"adjustments":[{"label":"string","type":"fixed","value":1.5,"amount":1.5,"account_code":"string"}],"dimensions":{}}'
1fetch("http://localhost:8000/finance/quotes/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "date": "string",
6 "items": [
7 {
8 "description": "string",
9 "quantity": 1.5,
10 "unit_price": 1.5,
11 "discount": 1.5,
12 "amount": 1.5,
13 "account_code": "string",
14 "product_mrn": "string",
15 "taxes": [
16 {
17 "name": "string",
18 "rate": 1.5,
19 "amount": 1.5,
20 "reverse_charge": {}
21 }
22 ]
23 }
24 ],
25 "contact_mrn": "string",
26 "company_mrn": "string",
27 "currency": "USD",
28 "exchange_rate": 1.5,
29 "valid_until": "string",
30 "memo": "string",
31 "tags": [
32 "string"
33 ],
34 "adjustments": [
35 {
36 "label": "string",
37 "type": "fixed",
38 "value": 1.5,
39 "amount": 1.5,
40 "account_code": "string"
41 }
42 ],
43 "dimensions": {}
44}),
45})
46 .then((res) => res.json())
47 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/finance/quotes/example",
5 json={"date":"string","items":[{"description":"string","quantity":1.5,"unit_price":1.5,"discount":1.5,"amount":1.5,"account_code":"string","product_mrn":"string","taxes":[{"name":"string","rate":1.5,"amount":1.5,"reverse_charge":{}}]}],"contact_mrn":"string","company_mrn":"string","currency":"USD","exchange_rate":1.5,"valid_until":"string","memo":"string","tags":["string"],"adjustments":[{"label":"string","type":"fixed","value":1.5,"amount":1.5,"account_code":"string"}],"dimensions":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /chats/:id/messages/:msg_id/reactions

Add a reaction

POST /chats/:id/messages/:msg_id/reactions — add an emoji reaction.

Parameters
id string · path
required
msg_id string · path
required
Body · AddReactionapplication/json
emoji string · min length: 1 · max length: 32
required
propertyName anything
Responses
200Successful Response
POST /chats/example/messages/example/reactions
1curl -X POST "http://localhost:8000/chats/example/messages/example/reactions" \
2 -H "Content-Type: application/json" \
3 -d '{"emoji":"string"}'
1fetch("http://localhost:8000/chats/example/messages/example/reactions", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "emoji": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/chats/example/messages/example/reactions",
5 json={"emoji":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /sign/envelopes/:envelope_id/recipients/:recipient_id

Edit a recipient

PATCH /sign/envelopes/:envelope_id/recipients/:recipient_id — edit a recipient (before send).

Parameters
envelope_id string · path
required
recipient_id string · path
required
Body · UpdateRecipientapplication/json
name string · min length: 1 · max length: 200
email string · email
role string · min length: 1 · max length: 100
recipient_type
signer_mrn string
signing_order integer
access_code string · min length: 4 · max length: 64
propertyName anything
Responses
200Successful Response
PATCH /sign/envelopes/example/recipients/example
1curl -X PATCH "http://localhost:8000/sign/envelopes/example/recipients/example" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","email":"user@example.com","role":"string","recipient_type":"signer","signer_mrn":"string","signing_order":1,"access_code":"string"}'
1fetch("http://localhost:8000/sign/envelopes/example/recipients/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "email": "user@example.com",
7 "role": "string",
8 "recipient_type": "signer",
9 "signer_mrn": "string",
10 "signing_order": 1,
11 "access_code": "string"
12}),
13})
14 .then((res) => res.json())
15 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/sign/envelopes/example/recipients/example",
5 json={"name":"string","email":"user@example.com","role":"string","recipient_type":"signer","signer_mrn":"string","signing_order":1,"access_code":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /sign/envelopes/:envelope_id/recipients

Add a recipient

POST /sign/envelopes/:envelope_id/recipients — add a recipient (member or external guest).

Parameters
envelope_id string · path
required
Body · CreateRecipientapplication/json
name string · min length: 1 · max length: 200
required
email string · email
required
role string · min length: 1 · max length: 100
required
recipient_type
signer_mrn string
signing_order integer
access_code string · min length: 4 · max length: 64
propertyName anything
Responses
200Successful Response
POST /sign/envelopes/example/recipients
1curl -X POST "http://localhost:8000/sign/envelopes/example/recipients" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","email":"user@example.com","role":"string","recipient_type":"signer","signer_mrn":"string","signing_order":1,"access_code":"string"}'
1fetch("http://localhost:8000/sign/envelopes/example/recipients", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "email": "user@example.com",
7 "role": "string",
8 "recipient_type": "signer",
9 "signer_mrn": "string",
10 "signing_order": 1,
11 "access_code": "string"
12}),
13})
14 .then((res) => res.json())
15 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/sign/envelopes/example/recipients",
5 json={"name":"string","email":"user@example.com","role":"string","recipient_type":"signer","signer_mrn":"string","signing_order":1,"access_code":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /finance/bank-rules/:rule_id

Update a bank rule

Parameters
rule_id string · path
required
Body · BankRuleapplication/json
name string · min length: 1 · max length: 100
required
match object
required
action object
required
propertyName anything
Responses
200Successful Response
PATCH /finance/bank-rules/example
1curl -X PATCH "http://localhost:8000/finance/bank-rules/example" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","match":{"description_contains":"string","direction":"inbound","amount_min":1.5,"amount_max":1.5},"action":{"account_code":"string","description":"string","entry_type":"invoice"}}'
1fetch("http://localhost:8000/finance/bank-rules/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "match": {
7 "description_contains": "string",
8 "direction": "inbound",
9 "amount_min": 1.5,
10 "amount_max": 1.5
11 },
12 "action": {
13 "account_code": "string",
14 "description": "string",
15 "entry_type": "invoice"
16 }
17}),
18})
19 .then((res) => res.json())
20 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/finance/bank-rules/example",
5 json={"name":"string","match":{"description_contains":"string","direction":"inbound","amount_min":1.5,"amount_max":1.5},"action":{"account_code":"string","description":"string","entry_type":"invoice"}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /finance/bank-imports

Import a bank feed

Body · ImportBankFeedapplication/json
bank_account_id string · min length: 1
required
rows array
required
propertyName anything
Responses
200Successful Response
POST /finance/bank-imports
1curl -X POST "http://localhost:8000/finance/bank-imports" \
2 -H "Content-Type: application/json" \
3 -d '{"bank_account_id":"string","rows":[{"date":"string","description":"string","amount":1.5,"reference":"string"}]}'
1fetch("http://localhost:8000/finance/bank-imports", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "bank_account_id": "string",
6 "rows": [
7 {
8 "date": "string",
9 "description": "string",
10 "amount": 1.5,
11 "reference": "string"
12 }
13 ]
14}),
15})
16 .then((res) => res.json())
17 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/finance/bank-imports",
5 json={"bank_account_id":"string","rows":[{"date":"string","description":"string","amount":1.5,"reference":"string"}]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /finance/bank-imports/:import_id/entries

Create an entry from a bank import

Create a bill/invoice for an unmatched bank import and reconcile the import against it in one step. The category comes from the request body or from the first matching bank rule.

Parameters
import_id string · path
required
Body · CreateEntryFromImportapplication/json
account_code string · max length: 20
description string · max length: 500
entry_type
propertyName anything
Responses
200Successful Response
POST /finance/bank-imports/example/entries
1curl -X POST "http://localhost:8000/finance/bank-imports/example/entries" \
2 -H "Content-Type: application/json" \
3 -d '{"account_code":"string","description":"string","entry_type":"invoice"}'
1fetch("http://localhost:8000/finance/bank-imports/example/entries", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "account_code": "string",
6 "description": "string",
7 "entry_type": "invoice"
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/finance/bank-imports/example/entries",
5 json={"account_code":"string","description":"string","entry_type":"invoice"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /finance/bank-connections

Connect a bank account

Body · ConnectBankAccountapplication/json
code string · min length: 1 · max length: 200
required
propertyName anything
Responses
200Successful Response
POST /finance/bank-connections
1curl -X POST "http://localhost:8000/finance/bank-connections" \
2 -H "Content-Type: application/json" \
3 -d '{"code":"string"}'
1fetch("http://localhost:8000/finance/bank-connections", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "code": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/finance/bank-connections",
5 json={"code":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /finance/reconciliations

Finalise a reconciliation

Body · CompleteReconciliationapplication/json
bank_account_id string · min length: 1
required
period_start string · min length: 10
required
period_end string · min length: 10
required
statement_balance number
required
propertyName anything
Responses
200Successful Response
POST /finance/reconciliations
1curl -X POST "http://localhost:8000/finance/reconciliations" \
2 -H "Content-Type: application/json" \
3 -d '{"bank_account_id":"string","period_start":"string","period_end":"string","statement_balance":1.5}'
1fetch("http://localhost:8000/finance/reconciliations", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "bank_account_id": "string",
6 "period_start": "string",
7 "period_end": "string",
8 "statement_balance": 1.5
9}),
10})
11 .then((res) => res.json())
12 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/finance/reconciliations",
5 json={"bank_account_id":"string","period_start":"string","period_end":"string","statement_balance":1.5},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /finance/bank-rules

Create a bank rule

Body · BankRuleapplication/json
name string · min length: 1 · max length: 100
required
match object
required
action object
required
propertyName anything
Responses
200Successful Response
POST /finance/bank-rules
1curl -X POST "http://localhost:8000/finance/bank-rules" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","match":{"description_contains":"string","direction":"inbound","amount_min":1.5,"amount_max":1.5},"action":{"account_code":"string","description":"string","entry_type":"invoice"}}'
1fetch("http://localhost:8000/finance/bank-rules", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "match": {
7 "description_contains": "string",
8 "direction": "inbound",
9 "amount_min": 1.5,
10 "amount_max": 1.5
11 },
12 "action": {
13 "account_code": "string",
14 "description": "string",
15 "entry_type": "invoice"
16 }
17}),
18})
19 .then((res) => res.json())
20 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/finance/bank-rules",
5 json={"name":"string","match":{"description_contains":"string","direction":"inbound","amount_min":1.5,"amount_max":1.5},"action":{"account_code":"string","description":"string","entry_type":"invoice"}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /calls/:id/recordings/:recording_id

Abort a recording

Abandon a recording: abort the R2 multipart upload and mark it failed. Host-only.

Parameters
id string · path
required
recording_id string · path
required
Body · AbortRecordingapplication/json
status
required
upload_id string · min length: 1 · max length: 512
propertyName anything
Responses
200Successful Response
PATCH /calls/example/recordings/example
1curl -X PATCH "http://localhost:8000/calls/example/recordings/example" \
2 -H "Content-Type: application/json" \
3 -d '{"status":"failed","upload_id":"string"}'
1fetch("http://localhost:8000/calls/example/recordings/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "status": "failed",
6 "upload_id": "string"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/calls/example/recordings/example",
5 json={"status":"failed","upload_id":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /calls/:id/recordings

Start a recording

Parameters
id string · path
required
Body · StartRecordingapplication/json
content_type string · max length: 100
propertyName anything
Responses
200Successful Response
POST /calls/example/recordings
1curl -X POST "http://localhost:8000/calls/example/recordings" \
2 -H "Content-Type: application/json" \
3 -d '{"content_type":"string"}'
1fetch("http://localhost:8000/calls/example/recordings", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "content_type": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/calls/example/recordings",
5 json={"content_type":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /calls/:id/recordings/:recording_id

Complete a recording

Finalize a recording: assemble the uploaded parts in R2 and mark it ready. Host-only.

Parameters
id string · path
required
recording_id string · path
required
Body · CompleteRecordingapplication/json
upload_id string · min length: 1 · max length: 512
required
parts array
required
size_bytes integer · min: 0
duration_seconds integer · min: 0
propertyName anything
Responses
200Successful Response
PUT /calls/example/recordings/example
1curl -X PUT "http://localhost:8000/calls/example/recordings/example" \
2 -H "Content-Type: application/json" \
3 -d '{"upload_id":"string","parts":[{"part_number":1,"etag":"string"}],"size_bytes":1,"duration_seconds":1}'
1fetch("http://localhost:8000/calls/example/recordings/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "upload_id": "string",
6 "parts": [
7 {
8 "part_number": 1,
9 "etag": "string"
10 }
11 ],
12 "size_bytes": 1,
13 "duration_seconds": 1
14}),
15})
16 .then((res) => res.json())
17 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/calls/example/recordings/example",
5 json={"upload_id":"string","parts":[{"part_number":1,"etag":"string"}],"size_bytes":1,"duration_seconds":1},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
GET /recovery-codes undocumented

/recovery-codes

Responses
200Successful Response
GET /recovery-codes
1curl "http://localhost:8000/recovery-codes"
1fetch("http://localhost:8000/recovery-codes")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/recovery-codes")
4print(response.json())
200 Example Response
No Body
PUT /recovery-emails/:token undocumented

/recovery-emails/:token

PUT /recovery-emails/:token: the link was opened, so the address becomes the recovery email.

Parameters
token string · path
required
Responses
200Successful Response
PUT /recovery-emails/example
1curl -X PUT "http://localhost:8000/recovery-emails/example"
1fetch("http://localhost:8000/recovery-emails/example", { method: "PUT" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.put("http://localhost:8000/recovery-emails/example")
4print(response.json())
200 Example Response
No Body
PATCH /finance/recurring-entries/:recurring_id

Update recurring entry

Parameters
recurring_id string · path
required
Body · RecurringEntryDefapplication/json
name string · min length: 1 · max length: 200
required
type
required
frequency
required
next_date string · min length: 10
required
company_mrn string
contact_mrn string
items array
auto_approve
propertyName anything
Responses
200Successful Response
PATCH /finance/recurring-entries/example
1curl -X PATCH "http://localhost:8000/finance/recurring-entries/example" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","type":"invoice","frequency":"weekly","next_date":"string","company_mrn":"string","contact_mrn":"string","items":[{"description":"string","quantity":1.5,"unit_price":1.5,"discount":1.5,"amount":1.5,"account_code":"string","product_mrn":"string","taxes":[{"name":"string","rate":1.5,"amount":1.5,"reverse_charge":{}}]}],"auto_approve":{}}'
1fetch("http://localhost:8000/finance/recurring-entries/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "type": "invoice",
7 "frequency": "weekly",
8 "next_date": "string",
9 "company_mrn": "string",
10 "contact_mrn": "string",
11 "items": [
12 {
13 "description": "string",
14 "quantity": 1.5,
15 "unit_price": 1.5,
16 "discount": 1.5,
17 "amount": 1.5,
18 "account_code": "string",
19 "product_mrn": "string",
20 "taxes": [
21 {
22 "name": "string",
23 "rate": 1.5,
24 "amount": 1.5,
25 "reverse_charge": {}
26 }
27 ]
28 }
29 ],
30 "auto_approve": {}
31}),
32})
33 .then((res) => res.json())
34 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/finance/recurring-entries/example",
5 json={"name":"string","type":"invoice","frequency":"weekly","next_date":"string","company_mrn":"string","contact_mrn":"string","items":[{"description":"string","quantity":1.5,"unit_price":1.5,"discount":1.5,"amount":1.5,"account_code":"string","product_mrn":"string","taxes":[{"name":"string","rate":1.5,"amount":1.5,"reverse_charge":{}}]}],"auto_approve":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /finance/recurring-entries

Create recurring entry

Body · RecurringEntryDefapplication/json
name string · min length: 1 · max length: 200
required
type
required
frequency
required
next_date string · min length: 10
required
company_mrn string
contact_mrn string
items array
auto_approve
propertyName anything
Responses
200Successful Response
POST /finance/recurring-entries
1curl -X POST "http://localhost:8000/finance/recurring-entries" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","type":"invoice","frequency":"weekly","next_date":"string","company_mrn":"string","contact_mrn":"string","items":[{"description":"string","quantity":1.5,"unit_price":1.5,"discount":1.5,"amount":1.5,"account_code":"string","product_mrn":"string","taxes":[{"name":"string","rate":1.5,"amount":1.5,"reverse_charge":{}}]}],"auto_approve":{}}'
1fetch("http://localhost:8000/finance/recurring-entries", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "type": "invoice",
7 "frequency": "weekly",
8 "next_date": "string",
9 "company_mrn": "string",
10 "contact_mrn": "string",
11 "items": [
12 {
13 "description": "string",
14 "quantity": 1.5,
15 "unit_price": 1.5,
16 "discount": 1.5,
17 "amount": 1.5,
18 "account_code": "string",
19 "product_mrn": "string",
20 "taxes": [
21 {
22 "name": "string",
23 "rate": 1.5,
24 "amount": 1.5,
25 "reverse_charge": {}
26 }
27 ]
28 }
29 ],
30 "auto_approve": {}
31}),
32})
33 .then((res) => res.json())
34 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/finance/recurring-entries",
5 json={"name":"string","type":"invoice","frequency":"weekly","next_date":"string","company_mrn":"string","contact_mrn":"string","items":[{"description":"string","quantity":1.5,"unit_price":1.5,"discount":1.5,"amount":1.5,"account_code":"string","product_mrn":"string","taxes":[{"name":"string","rate":1.5,"amount":1.5,"reverse_charge":{}}]}],"auto_approve":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
DELETE /reply-suggestions/:key undocumented

/reply-suggestions/:key

DELETE /reply-suggestions/:key: stop suggesting this reply.

Parameters
key string · path
required
Responses
200Successful Response
DELETE /reply-suggestions/example
1curl -X DELETE "http://localhost:8000/reply-suggestions/example"
1fetch("http://localhost:8000/reply-suggestions/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/reply-suggestions/example")
4print(response.json())
200 Example Response
No Body
GET /reports/:report_key undocumented

/reports/:report_key

One board report, named by report_key. Authorization ran in authz.py.

Parameters
report_key string · path
required
Responses
200Successful Response
GET /reports/example
1curl "http://localhost:8000/reports/example"
1fetch("http://localhost:8000/reports/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/reports/example")
4print(response.json())
200 Example Response
No Body
PATCH /finance/requests/:request_id

Approve or decline a request

PATCH /finance/requests/:id — approve (books the artifact) or decline.

Parameters
request_id string · path
required
Body · DecideFinanceRequestapplication/json
status
required
reason string · max length: 1000
propertyName anything
Responses
200Successful Response
PATCH /finance/requests/example
1curl -X PATCH "http://localhost:8000/finance/requests/example" \
2 -H "Content-Type: application/json" \
3 -d '{"status":"approved","reason":"string"}'
1fetch("http://localhost:8000/finance/requests/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "status": "approved",
6 "reason": "string"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/finance/requests/example",
5 json={"status":"approved","reason":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /finance/requests

File an expense claim, advance, or purchase request

POST /finance/requests — any portal member files their own request.

Body · CreateFinanceRequestapplication/json
kind
required
amount number
required
date string · min length: 10
required
description string · min length: 1 · max length: 2000
required
currency
category_code string · max length: 20
vendor string · max length: 200
needed_by string · min length: 10
receipts array
dimensions
propertyName anything
Responses
200Successful Response
POST /finance/requests
1curl -X POST "http://localhost:8000/finance/requests" \
2 -H "Content-Type: application/json" \
3 -d '{"kind":"expense","amount":1.5,"date":"string","description":"string","currency":"USD","category_code":"string","vendor":"string","needed_by":"string","receipts":[{"key":"string","filename":"string","url":"string","content_type":"string","size":1}],"dimensions":{}}'
1fetch("http://localhost:8000/finance/requests", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "kind": "expense",
6 "amount": 1.5,
7 "date": "string",
8 "description": "string",
9 "currency": "USD",
10 "category_code": "string",
11 "vendor": "string",
12 "needed_by": "string",
13 "receipts": [
14 {
15 "key": "string",
16 "filename": "string",
17 "url": "string",
18 "content_type": "string",
19 "size": 1
20 }
21 ],
22 "dimensions": {}
23}),
24})
25 .then((res) => res.json())
26 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/finance/requests",
5 json={"kind":"expense","amount":1.5,"date":"string","description":"string","currency":"USD","category_code":"string","vendor":"string","needed_by":"string","receipts":[{"key":"string","filename":"string","url":"string","content_type":"string","size":1}],"dimensions":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /finance/requests/:request_id/payments

Pay out an approved request

POST /finance/requests/:id/payments — pay out an approved request. Expenses settle the bill the approval created (outbound payment, AP → cash). Advances post a journal (Employee Advances ← cash). Purchases are paid through their PO chain, never directly.

Parameters
request_id string · path
required
Body · PayFinanceRequestapplication/json
bank_account_id string
propertyName anything
Responses
200Successful Response
POST /finance/requests/example/payments
1curl -X POST "http://localhost:8000/finance/requests/example/payments" \
2 -H "Content-Type: application/json" \
3 -d '{"bank_account_id":"string"}'
1fetch("http://localhost:8000/finance/requests/example/payments", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "bank_account_id": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/finance/requests/example/payments",
5 json={"bank_account_id":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /finance/requests/:request_id/messages

Message on a request thread

POST /finance/requests/:id/messages — the claimant or a reviewer leaves a message on the request's thread. Visibility follows the request itself (scope deposited by the authz chain).

Parameters
request_id string · path
required
Body · PostRequestMessageapplication/json
body string · min length: 1 · max length: 2000
required
propertyName anything
Responses
200Successful Response
POST /finance/requests/example/messages
1curl -X POST "http://localhost:8000/finance/requests/example/messages" \
2 -H "Content-Type: application/json" \
3 -d '{"body":"string"}'
1fetch("http://localhost:8000/finance/requests/example/messages", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "body": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/finance/requests/example/messages",
5 json={"body":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /requests/:update_id undocumented

/requests/:update_id

PUT /requests/:update_id — Approve or deny an install request via status field.

Parameters
update_id string · path
required
Responses
200Successful Response
PUT /requests/example
1curl -X PUT "http://localhost:8000/requests/example"
1fetch("http://localhost:8000/requests/example", { method: "PUT" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.put("http://localhost:8000/requests/example")
4print(response.json())
200 Example Response
No Body
DELETE /resources/:id undocumented

/resources/:id

Parameters
id string · path
required
Responses
200Successful Response
DELETE /resources/example
1curl -X DELETE "http://localhost:8000/resources/example"
1fetch("http://localhost:8000/resources/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/resources/example")
4print(response.json())
200 Example Response
No Body
GET /resources undocumented

/resources

Responses
200Successful Response
GET /resources
1curl "http://localhost:8000/resources"
1fetch("http://localhost:8000/resources")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/resources")
4print(response.json())
200 Example Response
No Body
GET /resources/:id undocumented

/resources/:id

Parameters
id string · path
required
Responses
200Successful Response
GET /resources/example
1curl "http://localhost:8000/resources/example"
1fetch("http://localhost:8000/resources/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/resources/example")
4print(response.json())
200 Example Response
No Body
GET /resources/:id/bookings undocumented

/resources/:id/bookings

Parameters
id string · path
required
Responses
200Successful Response
GET /resources/example/bookings
1curl "http://localhost:8000/resources/example/bookings"
1fetch("http://localhost:8000/resources/example/bookings")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/resources/example/bookings")
4print(response.json())
200 Example Response
No Body
PATCH /resources/:id

Change a resource

Parameters
id string · path
required
Body · UpdateResourceapplication/json
name string · min length: 1 · max length: 120
category
resource_type string · max length: 80
description string · max length: 2000
email string · max length: 320
capacity integer · min: 0 · max: 100000
color string · max length: 20
acceptance
propertyName anything
Responses
200Successful Response
PATCH /resources/example
1curl -X PATCH "http://localhost:8000/resources/example" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","category":"room","resource_type":"string","description":"string","email":"string","capacity":1,"color":"string","acceptance":"automatic"}'
1fetch("http://localhost:8000/resources/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "category": "room",
7 "resource_type": "string",
8 "description": "string",
9 "email": "string",
10 "capacity": 1,
11 "color": "string",
12 "acceptance": "automatic"
13}),
14})
15 .then((res) => res.json())
16 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/resources/example",
5 json={"name":"string","category":"room","resource_type":"string","description":"string","email":"string","capacity":1,"color":"string","acceptance":"automatic"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /resources/:id/bookings/:booking_id

Accept or decline a booking

Parameters
id string · path
required
booking_id string · path
required
Body · AnswerBookingapplication/json
status
required
propertyName anything
Responses
200Successful Response
PATCH /resources/example/bookings/example
1curl -X PATCH "http://localhost:8000/resources/example/bookings/example" \
2 -H "Content-Type: application/json" \
3 -d '{"status":"accepted"}'
1fetch("http://localhost:8000/resources/example/bookings/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "status": "accepted"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/resources/example/bookings/example",
5 json={"status":"accepted"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /resources

Add a room or other bookable resource

Body · CreateResourceapplication/json
name string · min length: 1 · max length: 120
required
category
resource_type string · max length: 80
description string · max length: 2000
email string · max length: 320
capacity integer · min: 0 · max: 100000
color string · max length: 20
acceptance
propertyName anything
Responses
200Successful Response
POST /resources
1curl -X POST "http://localhost:8000/resources" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","category":"room","resource_type":"string","description":"string","email":"string","capacity":1,"color":"string","acceptance":"automatic"}'
1fetch("http://localhost:8000/resources", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "category": "room",
7 "resource_type": "string",
8 "description": "string",
9 "email": "string",
10 "capacity": 1,
11 "color": "string",
12 "acceptance": "automatic"
13}),
14})
15 .then((res) => res.json())
16 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/resources",
5 json={"name":"string","category":"room","resource_type":"string","description":"string","email":"string","capacity":1,"color":"string","acceptance":"automatic"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
DELETE /roles/:role_id undocumented

/roles/:role_id

DELETE /accounts/organisation/roles/:role_id — Delete a role.

Parameters
role_id string · path
required
Responses
200Successful Response
DELETE /roles/example
1curl -X DELETE "http://localhost:8000/roles/example"
1fetch("http://localhost:8000/roles/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/roles/example")
4print(response.json())
200 Example Response
No Body
DELETE /roles/:role_id/members/:member_id undocumented

/roles/:role_id/members/:member_id

DELETE /accounts/organisation/roles/:role_id/members/:member_id — Remove member from role.

Parameters
role_id string · path
required
member_id string · path
required
Responses
200Successful Response
DELETE /roles/example/members/example
1curl -X DELETE "http://localhost:8000/roles/example/members/example"
1fetch("http://localhost:8000/roles/example/members/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/roles/example/members/example")
4print(response.json())
200 Example Response
No Body
GET /roles undocumented

/roles

GET /roles — List custom roles for the workspace (admin view).

Responses
200Successful Response
GET /roles
1curl "http://localhost:8000/roles"
1fetch("http://localhost:8000/roles")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/roles")
4print(response.json())
200 Example Response
No Body
GET /roles/:role_id/members undocumented

/roles/:role_id/members

GET /roles/:role_id/members: the joined members who hold a role.

Parameters
role_id string · path
required
Responses
200Successful Response
GET /roles/example/members
1curl "http://localhost:8000/roles/example/members"
1fetch("http://localhost:8000/roles/example/members")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/roles/example/members")
4print(response.json())
200 Example Response
No Body
POST /roles

Create role

POST /accounts/organisation/roles — Create a role.

Body · CreateRoleapplication/json
name string · min length: 1 · max length: 100
required
description string · max length: 500
propertyName anything
Responses
200Successful Response
POST /roles
1curl -X POST "http://localhost:8000/roles" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","description":"string"}'
1fetch("http://localhost:8000/roles", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "description": "string"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/roles",
5 json={"name":"string","description":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /roles/:role_id/members

Assign member to role

POST /accounts/organisation/roles/:role_id/members — Assign member to role.

Parameters
role_id string · path
required
Body · AssignRoleMemberapplication/json
member_id string · min length: 1
required
propertyName anything
Responses
200Successful Response
POST /roles/example/members
1curl -X POST "http://localhost:8000/roles/example/members" \
2 -H "Content-Type: application/json" \
3 -d '{"member_id":"string"}'
1fetch("http://localhost:8000/roles/example/members", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "member_id": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/roles/example/members",
5 json={"member_id":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /roles/:role_id undocumented

/roles/:role_id

PUT /accounts/organisation/roles/:role_id — Update role + permissions.

Parameters
role_id string · path
required
Responses
200Successful Response
PUT /roles/example
1curl -X PUT "http://localhost:8000/roles/example"
1fetch("http://localhost:8000/roles/example", { method: "PUT" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.put("http://localhost:8000/roles/example")
4print(response.json())
200 Example Response
No Body
PUT /roles/:role_id/default

Set role as default

Toggle whether a role is auto-assigned to new members. Body: {is_default: bool}

Parameters
role_id string · path
required
Body · UpdateRoleDefaultapplication/json
is_default
required
propertyName anything
Responses
200Successful Response
PUT /roles/example/default
1curl -X PUT "http://localhost:8000/roles/example/default" \
2 -H "Content-Type: application/json" \
3 -d '{"is_default":{}}'
1fetch("http://localhost:8000/roles/example/default", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "is_default": {}
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/roles/example/default",
5 json={"is_default":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
DELETE /rooms/:id undocumented

/rooms/:id

Permanently delete a room. Kicks all connected participants, then removes the room row (live_room_members rows cascade via FK).

Parameters
id string · path
required
Responses
200Successful Response
DELETE /rooms/example
1curl -X DELETE "http://localhost:8000/rooms/example"
1fetch("http://localhost:8000/rooms/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/rooms/example")
4print(response.json())
200 Example Response
No Body
DELETE /rooms/:id/members/:member_mrn undocumented

/rooms/:id/members/:member_mrn

Remove member from room.

Parameters
id string · path
required
member_mrn string · path
required
Responses
200Successful Response
DELETE /rooms/example/members/example
1curl -X DELETE "http://localhost:8000/rooms/example/members/example"
1fetch("http://localhost:8000/rooms/example/members/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/rooms/example/members/example")
4print(response.json())
200 Example Response
No Body
DELETE /rooms/:id/sessions undocumented

/rooms/:id/sessions

Leave a room. Sets is_connected = FALSE.

Parameters
id string · path
required
Responses
200Successful Response
DELETE /rooms/example/sessions
1curl -X DELETE "http://localhost:8000/rooms/example/sessions"
1fetch("http://localhost:8000/rooms/example/sessions", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/rooms/example/sessions")
4print(response.json())
200 Example Response
No Body
GET /rooms undocumented

/rooms

List rooms visible to the current member. Supports ?q= search and pagination.

Responses
200Successful Response
GET /rooms
1curl "http://localhost:8000/rooms"
1fetch("http://localhost:8000/rooms")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/rooms")
4print(response.json())
200 Example Response
No Body
GET /rooms/:id undocumented

/rooms/:id

Get room details + full member list with connection status.

Parameters
id string · path
required
Responses
200Successful Response
GET /rooms/example
1curl "http://localhost:8000/rooms/example"
1fetch("http://localhost:8000/rooms/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/rooms/example")
4print(response.json())
200 Example Response
No Body
GET /rooms/:id/members undocumented

/rooms/:id/members

List room members with connection/mute state.

Parameters
id string · path
required
Responses
200Successful Response
GET /rooms/example/members
1curl "http://localhost:8000/rooms/example/members"
1fetch("http://localhost:8000/rooms/example/members")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/rooms/example/members")
4print(response.json())
200 Example Response
No Body
PATCH /rooms/:id

Update a room

Update room name, description, settings, type.

Parameters
id string · path
required
Body · UpdateRoomapplication/json
name string · min length: 1 · max length: 50
description string · max length: 200
type
max_participants integer · min: 2 · max: 100
settings object
propertyName anything
Responses
200Successful Response
PATCH /rooms/example
1curl -X PATCH "http://localhost:8000/rooms/example" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","description":"string","type":"public","max_participants":1,"settings":{"mute_on_join":{}}}'
1fetch("http://localhost:8000/rooms/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "description": "string",
7 "type": "public",
8 "max_participants": 1,
9 "settings": {
10 "mute_on_join": {}
11 }
12}),
13})
14 .then((res) => res.json())
15 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/rooms/example",
5 json={"name":"string","description":"string","type":"public","max_participants":1,"settings":{"mute_on_join":{}}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /rooms/:id/members/:member_mrn

Update room member role

Update member role (promote/demote admin).

Parameters
id string · path
required
member_mrn string · path
required
Body · UpdateMemberapplication/json
role
required
propertyName anything
Responses
200Successful Response
PATCH /rooms/example/members/example
1curl -X PATCH "http://localhost:8000/rooms/example/members/example" \
2 -H "Content-Type: application/json" \
3 -d '{"role":"admin"}'
1fetch("http://localhost:8000/rooms/example/members/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "role": "admin"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/rooms/example/members/example",
5 json={"role":"admin"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /rooms

Create a room

Create a new room. Creator becomes room admin.

Body · CreateRoomapplication/json
name string · min length: 1 · max length: 50
required
description string · max length: 200
type
max_participants integer · min: 2 · max: 100
settings object
propertyName anything
Responses
200Successful Response
POST /rooms
1curl -X POST "http://localhost:8000/rooms" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","description":"string","type":"public","max_participants":1,"settings":{"mute_on_join":{}}}'
1fetch("http://localhost:8000/rooms", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "description": "string",
7 "type": "public",
8 "max_participants": 1,
9 "settings": {
10 "mute_on_join": {}
11 }
12}),
13})
14 .then((res) => res.json())
15 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/rooms",
5 json={"name":"string","description":"string","type":"public","max_participants":1,"settings":{"mute_on_join":{}}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /rooms/:id/members

Add room members

Add member(s) to a room.

Parameters
id string · path
required
Body · AddMembersapplication/json
members array
required
propertyName anything
Responses
200Successful Response
POST /rooms/example/members
1curl -X POST "http://localhost:8000/rooms/example/members" \
2 -H "Content-Type: application/json" \
3 -d '{"members":["string"]}'
1fetch("http://localhost:8000/rooms/example/members", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "members": [
6 "string"
7 ]
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/rooms/example/members",
5 json={"members":["string"]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /rooms/:id/sessions undocumented

/rooms/:id/sessions

Join a room. Generates a LiveKit access token. Sets is_connected = TRUE.

Parameters
id string · path
required
Responses
200Successful Response
POST /rooms/example/sessions
1curl -X POST "http://localhost:8000/rooms/example/sessions"
1fetch("http://localhost:8000/rooms/example/sessions", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/rooms/example/sessions")
4print(response.json())
200 Example Response
No Body
POST /rooms/:id/token undocumented

/rooms/:id/token

Mint a fresh LiveKit token for a room the member is already connected to. Unlike POST /rooms/:id/sessions (which runs the full join lifecycle — kicks stale participants, updates is_connected, emits events), this endpoint is a pure token refresh. Used by the client's proactive refresh timer before the current token's `exp` claim kicks in.

Parameters
id string · path
required
Responses
200Successful Response
POST /rooms/example/token
1curl -X POST "http://localhost:8000/rooms/example/token"
1fetch("http://localhost:8000/rooms/example/token", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/rooms/example/token")
4print(response.json())
200 Example Response
No Body
POST /rooms/:id/members/:member_mrn/mute undocumented

/rooms/:id/members/:member_mrn/mute

Mute a participant (room admin only). Signals via platform WS.

Parameters
id string · path
required
member_mrn string · path
required
Responses
200Successful Response
POST /rooms/example/members/example/mute
1curl -X POST "http://localhost:8000/rooms/example/members/example/mute"
1fetch("http://localhost:8000/rooms/example/members/example/mute", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/rooms/example/members/example/mute")
4print(response.json())
200 Example Response
No Body
POST /rooms/:id/pings

Ping a member to join a room

Ping an online member to join this room: a live toast now, a record under the bell.

Parameters
id string · path
required
Body · CreatePingapplication/json
member_mrn string
required
propertyName anything
Responses
200Successful Response
POST /rooms/example/pings
1curl -X POST "http://localhost:8000/rooms/example/pings" \
2 -H "Content-Type: application/json" \
3 -d '{"member_mrn":"string"}'
1fetch("http://localhost:8000/rooms/example/pings", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "member_mrn": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/rooms/example/pings",
5 json={"member_mrn":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /rooms/session-state undocumented

/rooms/session-state

PUT /rooms/session-state — Sync client-side mute state into session for restore on refresh.

Responses
200Successful Response
PUT /rooms/session-state
1curl -X PUT "http://localhost:8000/rooms/session-state"
1fetch("http://localhost:8000/rooms/session-state", { method: "PUT" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.put("http://localhost:8000/rooms/session-state")
4print(response.json())
200 Example Response
No Body
DELETE /saved-replies/:reply_id undocumented

/saved-replies/:reply_id

DELETE /saved-replies/:reply_id: it is gone from every picker, and the rules that send it turn off.

Parameters
reply_id string · path
required
Responses
200Successful Response
DELETE /saved-replies/example
1curl -X DELETE "http://localhost:8000/saved-replies/example"
1fetch("http://localhost:8000/saved-replies/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/saved-replies/example")
4print(response.json())
200 Example Response
No Body
GET /saved-replies undocumented

/saved-replies

GET /saved-replies: every saved reply with its folder, who can use it and its last 30 days, and the replies worth saving.

Responses
200Successful Response
GET /saved-replies
1curl "http://localhost:8000/saved-replies"
1fetch("http://localhost:8000/saved-replies")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/saved-replies")
4print(response.json())
200 Example Response
No Body
DELETE /schedules/:schedule_id undocumented

/schedules/:schedule_id

Delete a schedule. Its tasks and deliverables are kept — the schedule link is cleared via the ON DELETE SET NULL foreign key, so they fall back to having no schedule rather than being deleted.

Parameters
schedule_id string · path
required
Responses
200Successful Response
DELETE /schedules/example
1curl -X DELETE "http://localhost:8000/schedules/example"
1fetch("http://localhost:8000/schedules/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/schedules/example")
4print(response.json())
200 Example Response
No Body
DELETE /schedules/:schedule_id/accepted-risks/:risk_id undocumented

/schedules/:schedule_id/accepted-risks/:risk_id

DELETE /schedules/:schedule_id/accepted-risks/:risk_id: the risk counts again.

Parameters
schedule_id string · path
required
risk_id string · path
required
Responses
200Successful Response
DELETE /schedules/example/accepted-risks/example
1curl -X DELETE "http://localhost:8000/schedules/example/accepted-risks/example"
1fetch("http://localhost:8000/schedules/example/accepted-risks/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/schedules/example/accepted-risks/example")
4print(response.json())
200 Example Response
No Body
GET /schedules undocumented

/schedules

GET /schedules?board_id=...&q=... — list schedules for a board, optionally filtered by name.

Responses
200Successful Response
GET /schedules
1curl "http://localhost:8000/schedules"
1fetch("http://localhost:8000/schedules")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/schedules")
4print(response.json())
200 Example Response
No Body
GET /schedules/:schedule_id undocumented

/schedules/:schedule_id

GET /schedules/:schedule_id: one schedule with its board, creator and task progress.

Parameters
schedule_id string · path
required
Responses
200Successful Response
GET /schedules/example
1curl "http://localhost:8000/schedules/example"
1fetch("http://localhost:8000/schedules/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/schedules/example")
4print(response.json())
200 Example Response
No Body
POST /schedules

Create a schedule

Body · CreateScheduleapplication/json
board_id string
required
name string · min length: 1 · max length: 200
required
start_date string · min length: 1
required
end_date string · min length: 1
required
goal string · max length: 500
description string · max length: 5000
status
propertyName anything
Responses
200Successful Response
POST /schedules
1curl -X POST "http://localhost:8000/schedules" \
2 -H "Content-Type: application/json" \
3 -d '{"board_id":"string","name":"string","start_date":"string","end_date":"string","goal":"string","description":"string","status":"planned"}'
1fetch("http://localhost:8000/schedules", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "board_id": "string",
6 "name": "string",
7 "start_date": "string",
8 "end_date": "string",
9 "goal": "string",
10 "description": "string",
11 "status": "planned"
12}),
13})
14 .then((res) => res.json())
15 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/schedules",
5 json={"board_id":"string","name":"string","start_date":"string","end_date":"string","goal":"string","description":"string","status":"planned"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /schedules/:schedule_id

Update a schedule

Update a schedule's mutable fields.

Parameters
schedule_id string · path
required
Body · UpdateScheduleapplication/json
name string · min length: 1 · max length: 200
goal string · max length: 500
description string · max length: 5000
status
start_date string
end_date string
carry_to string · min length: 1
retro string · max length: 20000
post_to_hub
propertyName anything
Responses
200Successful Response
PUT /schedules/example
1curl -X PUT "http://localhost:8000/schedules/example" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","goal":"string","description":"string","status":"planned","start_date":"string","end_date":"string","carry_to":"string","retro":"string","post_to_hub":{}}'
1fetch("http://localhost:8000/schedules/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "goal": "string",
7 "description": "string",
8 "status": "planned",
9 "start_date": "string",
10 "end_date": "string",
11 "carry_to": "string",
12 "retro": "string",
13 "post_to_hub": {}
14}),
15})
16 .then((res) => res.json())
17 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/schedules/example",
5 json={"name":"string","goal":"string","description":"string","status":"planned","start_date":"string","end_date":"string","carry_to":"string","retro":"string","post_to_hub":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /schedules/:schedule_id/accepted-risks/:risk_id

Accept a risk for a schedule

PUT /schedules/:schedule_id/accepted-risks/:risk_id: the team takes a risk on for this schedule, for the reasons it has now.

Parameters
schedule_id string · path
required
risk_id string · path
required
Body · AcceptRiskapplication/json
reasons array
required
propertyName anything
Responses
200Successful Response
PUT /schedules/example/accepted-risks/example
1curl -X PUT "http://localhost:8000/schedules/example/accepted-risks/example" \
2 -H "Content-Type: application/json" \
3 -d '{"reasons":["overdue"]}'
1fetch("http://localhost:8000/schedules/example/accepted-risks/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "reasons": [
6 "overdue"
7 ]
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/schedules/example/accepted-risks/example",
5 json={"reasons":["overdue"]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
DELETE /scoring/rules/:rule_id undocumented

/scoring/rules/:rule_id

Parameters
rule_id string · path
required
Responses
200Successful Response
DELETE /scoring/rules/example
1curl -X DELETE "http://localhost:8000/scoring/rules/example"
1fetch("http://localhost:8000/scoring/rules/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/scoring/rules/example")
4print(response.json())
200 Example Response
No Body
GET /scoring/rules undocumented

/scoring/rules

Responses
200Successful Response
GET /scoring/rules
1curl "http://localhost:8000/scoring/rules"
1fetch("http://localhost:8000/scoring/rules")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/scoring/rules")
4print(response.json())
200 Example Response
No Body
GET /scoring/rules/:rule_id undocumented

/scoring/rules/:rule_id

Parameters
rule_id string · path
required
Responses
200Successful Response
GET /scoring/rules/example
1curl "http://localhost:8000/scoring/rules/example"
1fetch("http://localhost:8000/scoring/rules/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/scoring/rules/example")
4print(response.json())
200 Example Response
No Body
GET /scoring/:entity_type/:entity_id undocumented

/scoring/:entity_type/:entity_id

Compute a score on demand. Deal scores persist on the deal and threshold events fire only on crossings (comparing against the stored score). Lead scores are worked out the same way rescore_leads stores them, read-only here: a lead's stored score moves when the lead, its person or a touch changes, and in the nightly sweep.

Parameters
entity_type string · path
required
entity_id string · path
required
Responses
200Successful Response
GET /scoring/example/example
1curl "http://localhost:8000/scoring/example/example"
1fetch("http://localhost:8000/scoring/example/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/scoring/example/example")
4print(response.json())
200 Example Response
No Body
POST /scoring/rules

Create a scoring rule

Body · CreateScoringRuleapplication/json
name string · min length: 1 · max length: 200
required
entity_type
required
rules array
required
thresholds array
enabled
propertyName anything
Responses
200Successful Response
POST /scoring/rules
1curl -X POST "http://localhost:8000/scoring/rules" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","entity_type":"lead","rules":[{"signal":"string","op":"eq","value":"string","points":1,"label":"string"}],"thresholds":[{"score_gte":1,"score_lte":1,"action":"string","label":"string"}],"enabled":{}}'
1fetch("http://localhost:8000/scoring/rules", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "entity_type": "lead",
7 "rules": [
8 {
9 "signal": "string",
10 "op": "eq",
11 "value": "string",
12 "points": 1,
13 "label": "string"
14 }
15 ],
16 "thresholds": [
17 {
18 "score_gte": 1,
19 "score_lte": 1,
20 "action": "string",
21 "label": "string"
22 }
23 ],
24 "enabled": {}
25}),
26})
27 .then((res) => res.json())
28 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/scoring/rules",
5 json={"name":"string","entity_type":"lead","rules":[{"signal":"string","op":"eq","value":"string","points":1,"label":"string"}],"thresholds":[{"score_gte":1,"score_lte":1,"action":"string","label":"string"}],"enabled":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /scoring/rules/:rule_id

Update a scoring rule

Parameters
rule_id string · path
required
Body · UpdateScoringRuleapplication/json
name string · min length: 1 · max length: 200
rules array
thresholds array
enabled
propertyName anything
Responses
200Successful Response
PUT /scoring/rules/example
1curl -X PUT "http://localhost:8000/scoring/rules/example" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","rules":[{"signal":"string","op":"eq","value":"string","points":1,"label":"string"}],"thresholds":[{"score_gte":1,"score_lte":1,"action":"string","label":"string"}],"enabled":{}}'
1fetch("http://localhost:8000/scoring/rules/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "rules": [
7 {
8 "signal": "string",
9 "op": "eq",
10 "value": "string",
11 "points": 1,
12 "label": "string"
13 }
14 ],
15 "thresholds": [
16 {
17 "score_gte": 1,
18 "score_lte": 1,
19 "action": "string",
20 "label": "string"
21 }
22 ],
23 "enabled": {}
24}),
25})
26 .then((res) => res.json())
27 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/scoring/rules/example",
5 json={"name":"string","rules":[{"signal":"string","op":"eq","value":"string","points":1,"label":"string"}],"thresholds":[{"score_gte":1,"score_lte":1,"action":"string","label":"string"}],"enabled":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
GET /search undocumented

/search

GET /search?app=tasks&q=PL-417&types=task: search one app, best match first, for pickers and embeds.

Responses
200Successful Response
GET /search
1curl "http://localhost:8000/search"
1fetch("http://localhost:8000/search")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/search")
4print(response.json())
200 Example Response
No Body
POST /search

Search every app the member can open

POST /search with {q, context}: every app the member can open, the context app's types first.

Body · SearchRequestapplication/json
q string · max length: 2000
required
context string · max length: 64
propertyName anything
Responses
200Successful Response
POST /search
1curl -X POST "http://localhost:8000/search" \
2 -H "Content-Type: application/json" \
3 -d '{"q":"string","context":"string"}'
1fetch("http://localhost:8000/search", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "q": "string",
6 "context": "string"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/search",
5 json={"q":"string","context":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /searches

Start a search session

POST /searches: start a session in a tab with its first search or question.

Body · CreateSearchSessionapplication/json
context string · max length: 64
required
entry object
required
propertyName anything
Responses
200Successful Response
POST /searches
1curl -X POST "http://localhost:8000/searches" \
2 -H "Content-Type: application/json" \
3 -d '{"context":"string","entry":{"kind":"search","text":"string","apps":["string"],"widget":"string","insight":{"key":"string","settings":[{"name":"string","value":"string"}]}}}'
1fetch("http://localhost:8000/searches", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "context": "string",
6 "entry": {
7 "kind": "search",
8 "text": "string",
9 "apps": [
10 "string"
11 ],
12 "widget": "string",
13 "insight": {
14 "key": "string",
15 "settings": [
16 {
17 "name": "string",
18 "value": "string"
19 }
20 ]
21 }
22 }
23}),
24})
25 .then((res) => res.json())
26 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/searches",
5 json={"context":"string","entry":{"kind":"search","text":"string","apps":["string"],"widget":"string","insight":{"key":"string","settings":[{"name":"string","value":"string"}]}}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /searches/:id/entries

Add to a search session

POST /searches/:id/entries: the next search or question in a session.

Parameters
id string · path
required
Body · AddSearchEntryapplication/json
entry object
required
propertyName anything
Responses
200Successful Response
POST /searches/example/entries
1curl -X POST "http://localhost:8000/searches/example/entries" \
2 -H "Content-Type: application/json" \
3 -d '{"entry":{"kind":"search","text":"string","apps":["string"],"widget":"string","insight":{"key":"string","settings":[{"name":"string","value":"string"}]}}}'
1fetch("http://localhost:8000/searches/example/entries", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "entry": {
6 "kind": "search",
7 "text": "string",
8 "apps": [
9 "string"
10 ],
11 "widget": "string",
12 "insight": {
13 "key": "string",
14 "settings": [
15 {
16 "name": "string",
17 "value": "string"
18 }
19 ]
20 }
21 }
22}),
23})
24 .then((res) => res.json())
25 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/searches/example/entries",
5 json={"entry":{"kind":"search","text":"string","apps":["string"],"widget":"string","insight":{"key":"string","settings":[{"name":"string","value":"string"}]}}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
GET /searches undocumented

/searches

GET /searches?context=mail: the member's sessions in that tab, newest first.

Responses
200Successful Response
GET /searches
1curl "http://localhost:8000/searches"
1fetch("http://localhost:8000/searches")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/searches")
4print(response.json())
200 Example Response
No Body
GET /searches/:id undocumented

/searches/:id

GET /searches/:id: one of the member's own sessions.

Parameters
id string · path
required
Responses
200Successful Response
GET /searches/example
1curl "http://localhost:8000/searches/example"
1fetch("http://localhost:8000/searches/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/searches/example")
4print(response.json())
200 Example Response
No Body
DELETE /segments/:segment_id undocumented

/segments/:segment_id

DELETE /segments/:segment_id: delete a segment. Its members stay in Connect.

Parameters
segment_id string · path
required
Responses
200Successful Response
DELETE /segments/example
1curl -X DELETE "http://localhost:8000/segments/example"
1fetch("http://localhost:8000/segments/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/segments/example")
4print(response.json())
200 Example Response
No Body
DELETE /segments/:segment_id/members undocumented

/segments/:segment_id/members

DELETE /segments/:segment_id/members?ids=a,b or ?all=true: take several out of a hand-picked segment.

Parameters
segment_id string · path
required
Responses
200Successful Response
DELETE /segments/example/members
1curl -X DELETE "http://localhost:8000/segments/example/members"
1fetch("http://localhost:8000/segments/example/members", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/segments/example/members")
4print(response.json())
200 Example Response
No Body
DELETE /segments/:segment_id/members/:member_id undocumented

/segments/:segment_id/members/:member_id

DELETE /segments/:segment_id/members/:member_id: take one person or company out of a hand-picked segment.

Parameters
segment_id string · path
required
member_id string · path
required
Responses
200Successful Response
DELETE /segments/example/members/example
1curl -X DELETE "http://localhost:8000/segments/example/members/example"
1fetch("http://localhost:8000/segments/example/members/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/segments/example/members/example")
4print(response.json())
200 Example Response
No Body
GET /segments undocumented

/segments

GET /segments: every segment with its size, trend and last change, newest change first.

Responses
200Successful Response
GET /segments
1curl "http://localhost:8000/segments"
1fetch("http://localhost:8000/segments")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/segments")
4print(response.json())
200 Example Response
No Body
GET /segments/facts undocumented

/segments/facts

GET /segments/facts: the counts on the Segments header.

Responses
200Successful Response
GET /segments/facts
1curl "http://localhost:8000/segments/facts"
1fetch("http://localhost:8000/segments/facts")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/segments/facts")
4print(response.json())
200 Example Response
No Body
GET /segments/:segment_id undocumented

/segments/:segment_id

GET /segments/:segment_id: one segment, its rules in words, its facts, size and history.

Parameters
segment_id string · path
required
Responses
200Successful Response
GET /segments/example
1curl "http://localhost:8000/segments/example"
1fetch("http://localhost:8000/segments/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/segments/example")
4print(response.json())
200 Example Response
No Body
GET /segments/:segment_id/members undocumented

/segments/:segment_id/members

GET /segments/:segment_id/members: one page of the people or companies in it, with why each is there.

Parameters
segment_id string · path
required
Responses
200Successful Response
GET /segments/example/members
1curl "http://localhost:8000/segments/example/members"
1fetch("http://localhost:8000/segments/example/members")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/segments/example/members")
4print(response.json())
200 Example Response
No Body
PATCH /segments/:segment_id/members

Tag, re-own or set the relationship of a segment's members

PATCH /segments/:segment_id/members: tag, re-own or set the relationship of the people picked, or all of them.

Parameters
segment_id string · path
required
Body · EditSegmentMembersapplication/json
members string · min length: 1
required
add_tags array
owner_mrn string · min length: 1
relationship string · min length: 1 · max length: 40
propertyName anything
Responses
200Successful Response
PATCH /segments/example/members
1curl -X PATCH "http://localhost:8000/segments/example/members" \
2 -H "Content-Type: application/json" \
3 -d '{"members":"string","add_tags":["string"],"owner_mrn":"string","relationship":"string"}'
1fetch("http://localhost:8000/segments/example/members", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "members": "string",
6 "add_tags": [
7 "string"
8 ],
9 "owner_mrn": "string",
10 "relationship": "string"
11}),
12})
13 .then((res) => res.json())
14 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/segments/example/members",
5 json={"members":"string","add_tags":["string"],"owner_mrn":"string","relationship":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /segments

Create a segment

POST /segments: create a live segment from rules or a recipe, or a hand-picked one.

Body · CreateSegmentapplication/json
name string · min length: 1 · max length: 100
required
copy_of string · max length: 60
description string · max length: 500
type
entity_type
filter object
recipe string · max length: 40
members array
propertyName anything
Responses
200Successful Response
POST /segments
1curl -X POST "http://localhost:8000/segments" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","copy_of":"string","description":"string","type":"static","entity_type":"contacts","filter":{"match":"all","rules":[{"field":"string","op":"string","values":["string"]}]},"recipe":"string","members":[{"type":"contact","id":"string"}]}'
1fetch("http://localhost:8000/segments", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "copy_of": "string",
7 "description": "string",
8 "type": "static",
9 "entity_type": "contacts",
10 "filter": {
11 "match": "all",
12 "rules": [
13 {
14 "field": "string",
15 "op": "string",
16 "values": [
17 "string"
18 ]
19 }
20 ]
21 },
22 "recipe": "string",
23 "members": [
24 {
25 "type": "contact",
26 "id": "string"
27 }
28 ]
29}),
30})
31 .then((res) => res.json())
32 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/segments",
5 json={"name":"string","copy_of":"string","description":"string","type":"static","entity_type":"contacts","filter":{"match":"all","rules":[{"field":"string","op":"string","values":["string"]}]},"recipe":"string","members":[{"type":"contact","id":"string"}]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /segments/:segment_id/members

Add people or companies to a hand-picked segment

POST /segments/:segment_id/members: put people or companies into a hand-picked segment, by id or by pasted email.

Parameters
segment_id string · path
required
Body · AddSegmentMembersapplication/json
members array
emails array
create_missing
propertyName anything
Responses
200Successful Response
POST /segments/example/members
1curl -X POST "http://localhost:8000/segments/example/members" \
2 -H "Content-Type: application/json" \
3 -d '{"members":[{"type":"contact","id":"string"}],"emails":["string"],"create_missing":{}}'
1fetch("http://localhost:8000/segments/example/members", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "members": [
6 {
7 "type": "contact",
8 "id": "string"
9 }
10 ],
11 "emails": [
12 "string"
13 ],
14 "create_missing": {}
15}),
16})
17 .then((res) => res.json())
18 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/segments/example/members",
5 json={"members":[{"type":"contact","id":"string"}],"emails":["string"],"create_missing":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /segments/:segment_id/email-matches

Match pasted emails to people

POST /segments/:segment_id/email-matches: which pasted addresses are people in Connect, and which are already in.

Parameters
segment_id string · path
required
Body · SegmentEmailMatchesapplication/json
emails array
required
propertyName anything
Responses
200Successful Response
POST /segments/example/email-matches
1curl -X POST "http://localhost:8000/segments/example/email-matches" \
2 -H "Content-Type: application/json" \
3 -d '{"emails":["string"]}'
1fetch("http://localhost:8000/segments/example/email-matches", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "emails": [
6 "string"
7 ]
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/segments/example/email-matches",
5 json={"emails":["string"]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /segments/:segment_id/previews

Preview what a set of rules would match

POST /segments/:segment_id/previews: what these rules would match, rule by rule, and who would join or leave.

Parameters
segment_id string · path
required
Body · SegmentPreviewInputapplication/json
filter object
required
propertyName anything
Responses
200Successful Response
POST /segments/example/previews
1curl -X POST "http://localhost:8000/segments/example/previews" \
2 -H "Content-Type: application/json" \
3 -d '{"filter":{"match":"all","rules":[{"field":"string","op":"string","values":["string"]}]}}'
1fetch("http://localhost:8000/segments/example/previews", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "filter": {
6 "match": "all",
7 "rules": [
8 {
9 "field": "string",
10 "op": "string",
11 "values": [
12 "string"
13 ]
14 }
15 ]
16 }
17}),
18})
19 .then((res) => res.json())
20 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/segments/example/previews",
5 json={"filter":{"match":"all","rules":[{"field":"string","op":"string","values":["string"]}]}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /segments/:segment_id/emails

Email everyone in a segment

POST /segments/:segment_id/emails: email everyone in a segment who can be emailed, or send a test to yourself.

Parameters
segment_id string · path
required
Body · SendSegmentEmailapplication/json
subject string · min length: 1 · max length: 200
required
body_html string · min length: 1 · max length: 100000
required
sender string · max length: 80
send_at string
keep_copy
test
propertyName anything
Responses
200Successful Response
POST /segments/example/emails
1curl -X POST "http://localhost:8000/segments/example/emails" \
2 -H "Content-Type: application/json" \
3 -d '{"subject":"string","body_html":"string","sender":"string","send_at":"string","keep_copy":{},"test":{}}'
1fetch("http://localhost:8000/segments/example/emails", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "subject": "string",
6 "body_html": "string",
7 "sender": "string",
8 "send_at": "string",
9 "keep_copy": {},
10 "test": {}
11}),
12})
13 .then((res) => res.json())
14 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/segments/example/emails",
5 json={"subject":"string","body_html":"string","sender":"string","send_at":"string","keep_copy":{},"test":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /segments/:segment_id

Update a segment

PUT /segments/:segment_id: rename, describe, or change the rules and the people with them.

Parameters
segment_id string · path
required
Body · UpdateSegmentapplication/json
name string · min length: 1 · max length: 100
description string · max length: 500
filter object
propertyName anything
Responses
200Successful Response
PUT /segments/example
1curl -X PUT "http://localhost:8000/segments/example" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","description":"string","filter":{"match":"all","rules":[{"field":"string","op":"string","values":["string"]}]}}'
1fetch("http://localhost:8000/segments/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "description": "string",
7 "filter": {
8 "match": "all",
9 "rules": [
10 {
11 "field": "string",
12 "op": "string",
13 "values": [
14 "string"
15 ]
16 }
17 ]
18 }
19}),
20})
21 .then((res) => res.json())
22 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/segments/example",
5 json={"name":"string","description":"string","filter":{"match":"all","rules":[{"field":"string","op":"string","values":["string"]}]}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /service-levels/:level_id

Change a service level or who is on it

PATCH /service-levels/:level_id: change a service level, its place in the order, or who is on it.

Parameters
level_id string · path
required
Body · ServiceLevelInapplication/json
name string · max length: 40
tone
desc string · max length: 160
clock
hours string · max length: 60
targets object
segments array
hand
warns array
missed array
raise_priority
how array
position integer
companies_add array
companies_remove array
contacts_add array
contacts_remove array
copy_of string · max length: 60
propertyName anything
Responses
200Successful Response
PATCH /service-levels/example
1curl -X PATCH "http://localhost:8000/service-levels/example" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","tone":"","desc":"string","clock":"biz","hours":"string","targets":{"first":{"high":"string","normal":"string","low":"string"},"next":{"high":"string","normal":"string","low":"string"},"resolve":{"high":"string","normal":"string","low":"string"}},"segments":["string"],"hand":{},"warns":[{"at":50,"who":"assignee"}],"missed":["string"],"raise_priority":{},"how":["app"],"position":1,"companies_add":["string"],"companies_remove":["string"],"contacts_add":["string"],"contacts_remove":["string"],"copy_of":"string"}'
1fetch("http://localhost:8000/service-levels/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "tone": "",
7 "desc": "string",
8 "clock": "biz",
9 "hours": "string",
10 "targets": {
11 "first": {
12 "high": "string",
13 "normal": "string",
14 "low": "string"
15 },
16 "next": {
17 "high": "string",
18 "normal": "string",
19 "low": "string"
20 },
21 "resolve": {
22 "high": "string",
23 "normal": "string",
24 "low": "string"
25 }
26 },
27 "segments": [
28 "string"
29 ],
30 "hand": {},
31 "warns": [
32 {
33 "at": 50,
34 "who": "assignee"
35 }
36 ],
37 "missed": [
38 "string"
39 ],
40 "raise_priority": {},
41 "how": [
42 "app"
43 ],
44 "position": 1,
45 "companies_add": [
46 "string"
47 ],
48 "companies_remove": [
49 "string"
50 ],
51 "contacts_add": [
52 "string"
53 ],
54 "contacts_remove": [
55 "string"
56 ],
57 "copy_of": "string"
58}),
59})
60 .then((res) => res.json())
61 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/service-levels/example",
5 json={"name":"string","tone":"","desc":"string","clock":"biz","hours":"string","targets":{"first":{"high":"string","normal":"string","low":"string"},"next":{"high":"string","normal":"string","low":"string"},"resolve":{"high":"string","normal":"string","low":"string"}},"segments":["string"],"hand":{},"warns":[{"at":50,"who":"assignee"}],"missed":["string"],"raise_priority":{},"how":["app"],"position":1,"companies_add":["string"],"companies_remove":["string"],"contacts_add":["string"],"contacts_remove":["string"],"copy_of":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /service-levels

Make a service level

POST /service-levels: a new service level, checked just before Standard. copy_of duplicates one, nobody on it.

Body · ServiceLevelInapplication/json
name string · max length: 40
tone
desc string · max length: 160
clock
hours string · max length: 60
targets object
segments array
hand
warns array
missed array
raise_priority
how array
position integer
companies_add array
companies_remove array
contacts_add array
contacts_remove array
copy_of string · max length: 60
propertyName anything
Responses
200Successful Response
POST /service-levels
1curl -X POST "http://localhost:8000/service-levels" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","tone":"","desc":"string","clock":"biz","hours":"string","targets":{"first":{"high":"string","normal":"string","low":"string"},"next":{"high":"string","normal":"string","low":"string"},"resolve":{"high":"string","normal":"string","low":"string"}},"segments":["string"],"hand":{},"warns":[{"at":50,"who":"assignee"}],"missed":["string"],"raise_priority":{},"how":["app"],"position":1,"companies_add":["string"],"companies_remove":["string"],"contacts_add":["string"],"contacts_remove":["string"],"copy_of":"string"}'
1fetch("http://localhost:8000/service-levels", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "tone": "",
7 "desc": "string",
8 "clock": "biz",
9 "hours": "string",
10 "targets": {
11 "first": {
12 "high": "string",
13 "normal": "string",
14 "low": "string"
15 },
16 "next": {
17 "high": "string",
18 "normal": "string",
19 "low": "string"
20 },
21 "resolve": {
22 "high": "string",
23 "normal": "string",
24 "low": "string"
25 }
26 },
27 "segments": [
28 "string"
29 ],
30 "hand": {},
31 "warns": [
32 {
33 "at": 50,
34 "who": "assignee"
35 }
36 ],
37 "missed": [
38 "string"
39 ],
40 "raise_priority": {},
41 "how": [
42 "app"
43 ],
44 "position": 1,
45 "companies_add": [
46 "string"
47 ],
48 "companies_remove": [
49 "string"
50 ],
51 "contacts_add": [
52 "string"
53 ],
54 "contacts_remove": [
55 "string"
56 ],
57 "copy_of": "string"
58}),
59})
60 .then((res) => res.json())
61 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/service-levels",
5 json={"name":"string","tone":"","desc":"string","clock":"biz","hours":"string","targets":{"first":{"high":"string","normal":"string","low":"string"},"next":{"high":"string","normal":"string","low":"string"},"resolve":{"high":"string","normal":"string","low":"string"}},"segments":["string"],"hand":{},"warns":[{"at":50,"who":"assignee"}],"missed":["string"],"raise_priority":{},"how":["app"],"position":1,"companies_add":["string"],"companies_remove":["string"],"contacts_add":["string"],"contacts_remove":["string"],"copy_of":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /service-levels/previews

Work out due times for a draft service level

POST /service-levels/previews: when a draft service level falls due on its hours, for a few times a ticket might come in.

Body · ServiceLevelPreviewInapplication/json
clock
hours string · max length: 60
targets object
priority
schedule object
propertyName anything
Responses
200Successful Response
POST /service-levels/previews
1curl -X POST "http://localhost:8000/service-levels/previews" \
2 -H "Content-Type: application/json" \
3 -d '{"clock":"biz","hours":"string","targets":{"first":{"high":"string","normal":"string","low":"string"},"next":{"high":"string","normal":"string","low":"string"},"resolve":{"high":"string","normal":"string","low":"string"}},"priority":"low","schedule":{"name":"string","zone":"string","location_id":"string","days":[[["string"]]],"hols":[{"date":"string","name":"string","closes":"string","yearly":{},"country":"string","moon":{},"key":"string"}],"ooh":{},"back":{},"is_default":{},"copy_of":"string"}}'
1fetch("http://localhost:8000/service-levels/previews", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "clock": "biz",
6 "hours": "string",
7 "targets": {
8 "first": {
9 "high": "string",
10 "normal": "string",
11 "low": "string"
12 },
13 "next": {
14 "high": "string",
15 "normal": "string",
16 "low": "string"
17 },
18 "resolve": {
19 "high": "string",
20 "normal": "string",
21 "low": "string"
22 }
23 },
24 "priority": "low",
25 "schedule": {
26 "name": "string",
27 "zone": "string",
28 "location_id": "string",
29 "days": [
30 [
31 [
32 "string"
33 ]
34 ]
35 ],
36 "hols": [
37 {
38 "date": "string",
39 "name": "string",
40 "closes": "string",
41 "yearly": {},
42 "country": "string",
43 "moon": {},
44 "key": "string"
45 }
46 ],
47 "ooh": {},
48 "back": {},
49 "is_default": {},
50 "copy_of": "string"
51 }
52}),
53})
54 .then((res) => res.json())
55 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/service-levels/previews",
5 json={"clock":"biz","hours":"string","targets":{"first":{"high":"string","normal":"string","low":"string"},"next":{"high":"string","normal":"string","low":"string"},"resolve":{"high":"string","normal":"string","low":"string"}},"priority":"low","schedule":{"name":"string","zone":"string","location_id":"string","days":[[["string"]]],"hols":[{"date":"string","name":"string","closes":"string","yearly":{},"country":"string","moon":{},"key":"string"}],"ooh":{},"back":{},"is_default":{},"copy_of":"string"}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
DELETE /service-levels/:level_id undocumented

/service-levels/:level_id

DELETE /service-levels/:level_id: its tickets move to their next match, or Standard. Standard always stays.

Parameters
level_id string · path
required
Responses
200Successful Response
DELETE /service-levels/example
1curl -X DELETE "http://localhost:8000/service-levels/example"
1fetch("http://localhost:8000/service-levels/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/service-levels/example")
4print(response.json())
200 Example Response
No Body
GET /service-levels undocumented

/service-levels

GET /service-levels: every service level in the order tickets are checked, with how each is doing.

Responses
200Successful Response
GET /service-levels
1curl "http://localhost:8000/service-levels"
1fetch("http://localhost:8000/service-levels")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/service-levels")
4print(response.json())
200 Example Response
No Body
GET /service-levels/:level_id/customers undocumented

/service-levels/:level_id/customers

GET /service-levels/:level_id/customers: who is on it, or with q, the companies, contacts or segments that match.

Parameters
level_id string · path
required
Responses
200Successful Response
GET /service-levels/example/customers
1curl "http://localhost:8000/service-levels/example/customers"
1fetch("http://localhost:8000/service-levels/example/customers")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/service-levels/example/customers")
4print(response.json())
200 Example Response
No Body
PATCH /chats/:id/settings

Update chat settings

PATCH /chats/:id/settings — per-chat settings for the caller (mute).

Parameters
id string · path
required
Body · UpdateChatSettingsapplication/json
muted_until string
open
propertyName anything
Responses
200Successful Response
PATCH /chats/example/settings
1curl -X PATCH "http://localhost:8000/chats/example/settings" \
2 -H "Content-Type: application/json" \
3 -d '{"muted_until":"string","open":{}}'
1fetch("http://localhost:8000/chats/example/settings", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "muted_until": "string",
6 "open": {}
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/chats/example/settings",
5 json={"muted_until":"string","open":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /finance/tax-rates/:tax_id

Update tax preset

Parameters
tax_id string · path
required
Body · TaxRatePresetapplication/json
name string · min length: 1 · max length: 100
required
rates array
required
propertyName anything
Responses
200Successful Response
PATCH /finance/tax-rates/example
1curl -X PATCH "http://localhost:8000/finance/tax-rates/example" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","rates":[{"name":"string","rate":1.5,"amount":1.5,"reverse_charge":{}}]}'
1fetch("http://localhost:8000/finance/tax-rates/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "rates": [
7 {
8 "name": "string",
9 "rate": 1.5,
10 "amount": 1.5,
11 "reverse_charge": {}
12 }
13 ]
14}),
15})
16 .then((res) => res.json())
17 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/finance/tax-rates/example",
5 json={"name":"string","rates":[{"name":"string","rate":1.5,"amount":1.5,"reverse_charge":{}}]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /finance/payment-terms/:term_id

Update payment term

Parameters
term_id string · path
required
Body · PaymentTermPresetapplication/json
name string · min length: 1 · max length: 100
required
days integer · min: 0
required
early_discount_rate number
early_discount_days integer
propertyName anything
Responses
200Successful Response
PATCH /finance/payment-terms/example
1curl -X PATCH "http://localhost:8000/finance/payment-terms/example" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","days":1,"early_discount_rate":1.5,"early_discount_days":1}'
1fetch("http://localhost:8000/finance/payment-terms/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "days": 1,
7 "early_discount_rate": 1.5,
8 "early_discount_days": 1
9}),
10})
11 .then((res) => res.json())
12 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/finance/payment-terms/example",
5 json={"name":"string","days":1,"early_discount_rate":1.5,"early_discount_days":1},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /finance/tax-rates

Create tax preset

Body · TaxRatePresetapplication/json
name string · min length: 1 · max length: 100
required
rates array
required
propertyName anything
Responses
200Successful Response
POST /finance/tax-rates
1curl -X POST "http://localhost:8000/finance/tax-rates" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","rates":[{"name":"string","rate":1.5,"amount":1.5,"reverse_charge":{}}]}'
1fetch("http://localhost:8000/finance/tax-rates", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "rates": [
7 {
8 "name": "string",
9 "rate": 1.5,
10 "amount": 1.5,
11 "reverse_charge": {}
12 }
13 ]
14}),
15})
16 .then((res) => res.json())
17 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/finance/tax-rates",
5 json={"name":"string","rates":[{"name":"string","rate":1.5,"amount":1.5,"reverse_charge":{}}]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /finance/payment-terms

Create payment term

Body · PaymentTermPresetapplication/json
name string · min length: 1 · max length: 100
required
days integer · min: 0
required
early_discount_rate number
early_discount_days integer
propertyName anything
Responses
200Successful Response
POST /finance/payment-terms
1curl -X POST "http://localhost:8000/finance/payment-terms" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","days":1,"early_discount_rate":1.5,"early_discount_days":1}'
1fetch("http://localhost:8000/finance/payment-terms", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "days": 1,
7 "early_discount_rate": 1.5,
8 "early_discount_days": 1
9}),
10})
11 .then((res) => res.json())
12 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/finance/payment-terms",
5 json={"name":"string","days":1,"early_discount_rate":1.5,"early_discount_days":1},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /finance/settings

Update core settings

Body · UpdateSettingsapplication/json
base_currency
fiscal_year_start integer · min: 1 · max: 12
accounting_enabled
number_prefixes object
sequential_numbers
default_accounts object
invoice_template object
propertyName anything
Responses
200Successful Response
PUT /finance/settings
1curl -X PUT "http://localhost:8000/finance/settings" \
2 -H "Content-Type: application/json" \
3 -d '{"base_currency":"USD","fiscal_year_start":1,"accounting_enabled":{},"number_prefixes":{"quote":"string","purchase_order":"string","order":"string","invoice":"string","bill":"string","credit_note":"string","journal":"string"},"sequential_numbers":{},"default_accounts":{"accounts_receivable":"string","accounts_payable":"string","cash":"string","tax_payable":"string","accrued_expenses":"string","customer_deposits":"string","vendor_prepayments":"string","vendor_credits":"string","employee_advances":"string","withholding_tax_receivable":"string","withholding_tax_payable":"string","fx_gains":"string","fx_losses":"string","unrealized_fx_asset":"string","unrealized_fx_liability":"string","sales_discounts":"string","retained_earnings":"string","cogs":"string","inventory":"string","inventory_adjustments":"string"},"invoice_template":{"logo_url":"string","logo_key":"string","company_name":"string","company_address":"string","accent_color":"string","footer_text":"string","bank_details":"string"}}'
1fetch("http://localhost:8000/finance/settings", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "base_currency": "USD",
6 "fiscal_year_start": 1,
7 "accounting_enabled": {},
8 "number_prefixes": {
9 "quote": "string",
10 "purchase_order": "string",
11 "order": "string",
12 "invoice": "string",
13 "bill": "string",
14 "credit_note": "string",
15 "journal": "string"
16 },
17 "sequential_numbers": {},
18 "default_accounts": {
19 "accounts_receivable": "string",
20 "accounts_payable": "string",
21 "cash": "string",
22 "tax_payable": "string",
23 "accrued_expenses": "string",
24 "customer_deposits": "string",
25 "vendor_prepayments": "string",
26 "vendor_credits": "string",
27 "employee_advances": "string",
28 "withholding_tax_receivable": "string",
29 "withholding_tax_payable": "string",
30 "fx_gains": "string",
31 "fx_losses": "string",
32 "unrealized_fx_asset": "string",
33 "unrealized_fx_liability": "string",
34 "sales_discounts": "string",
35 "retained_earnings": "string",
36 "cogs": "string",
37 "inventory": "string",
38 "inventory_adjustments": "string"
39 },
40 "invoice_template": {
41 "logo_url": "string",
42 "logo_key": "string",
43 "company_name": "string",
44 "company_address": "string",
45 "accent_color": "string",
46 "footer_text": "string",
47 "bank_details": "string"
48 }
49}),
50})
51 .then((res) => res.json())
52 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/finance/settings",
5 json={"base_currency":"USD","fiscal_year_start":1,"accounting_enabled":{},"number_prefixes":{"quote":"string","purchase_order":"string","order":"string","invoice":"string","bill":"string","credit_note":"string","journal":"string"},"sequential_numbers":{},"default_accounts":{"accounts_receivable":"string","accounts_payable":"string","cash":"string","tax_payable":"string","accrued_expenses":"string","customer_deposits":"string","vendor_prepayments":"string","vendor_credits":"string","employee_advances":"string","withholding_tax_receivable":"string","withholding_tax_payable":"string","fx_gains":"string","fx_losses":"string","unrealized_fx_asset":"string","unrealized_fx_liability":"string","sales_discounts":"string","retained_earnings":"string","cogs":"string","inventory":"string","inventory_adjustments":"string"},"invoice_template":{"logo_url":"string","logo_key":"string","company_name":"string","company_address":"string","accent_color":"string","footer_text":"string","bank_details":"string"}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
GET /shared undocumented

/shared

Responses
200Successful Response
GET /shared
1curl "http://localhost:8000/shared"
1fetch("http://localhost:8000/shared")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/shared")
4print(response.json())
200 Example Response
No Body
DELETE /shares/:share_id undocumented

/shares/:share_id

DELETE /shares/:share_id: revoke. The row stays, with who revoked it and when.

Parameters
share_id string · path
required
Responses
200Successful Response
DELETE /shares/example
1curl -X DELETE "http://localhost:8000/shares/example"
1fetch("http://localhost:8000/shares/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/shares/example")
4print(response.json())
200 Example Response
No Body
GET /shares undocumented

/shares

GET /shares: my links, or every link in the workspace for those who share files publicly.

Responses
200Successful Response
GET /shares
1curl "http://localhost:8000/shares"
1fetch("http://localhost:8000/shares")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/shares")
4print(response.json())
200 Example Response
No Body
GET /shares/:share_id undocumented

/shares/:share_id

Parameters
share_id string · path
required
Responses
200Successful Response
GET /shares/example
1curl "http://localhost:8000/shares/example"
1fetch("http://localhost:8000/shares/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/shares/example")
4print(response.json())
200 Example Response
No Body
PATCH /shares/:share_id

Update a share link

PATCH /shares/:share_id: the maker changes their link, and those who share files publicly change any link.

Parameters
share_id string · path
required
Body · UpdateShareapplication/json
password string · min length: 4 · max length: 128
expires_at string
max_downloads integer
is_active
propertyName anything
Responses
200Successful Response
PATCH /shares/example
1curl -X PATCH "http://localhost:8000/shares/example" \
2 -H "Content-Type: application/json" \
3 -d '{"password":"string","expires_at":"string","max_downloads":1,"is_active":{}}'
1fetch("http://localhost:8000/shares/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "password": "string",
6 "expires_at": "string",
7 "max_downloads": 1,
8 "is_active": {}
9}),
10})
11 .then((res) => res.json())
12 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/shares/example",
5 json={"password":"string","expires_at":"string","max_downloads":1,"is_active":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /shares

Create a share link

POST /shares: the owner links what they own, and those who share files publicly link any file they can open.

Body · CreateShareapplication/json
slug string · min length: 1 · max length: 200
required
propertyName anything
Responses
200Successful Response
POST /shares
1curl -X POST "http://localhost:8000/shares" \
2 -H "Content-Type: application/json" \
3 -d '{"slug":"string"}'
1fetch("http://localhost:8000/shares", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "slug": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/shares",
5 json={"slug":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
DELETE /sign/envelopes/:envelope_id/documents/:document_id undocumented

/sign/envelopes/:envelope_id/documents/:document_id

DELETE /sign/envelopes/:envelope_id/documents/:document_id — remove one part. Fields sitting on the removed part's (global) pages are deleted; fields on later pages shift back by the removed page span so they stay on the pages they were placed on.

Parameters
envelope_id string · path
required
document_id string · path
required
Responses
200Successful Response
DELETE /sign/envelopes/example/documents/example
1curl -X DELETE "http://localhost:8000/sign/envelopes/example/documents/example"
1fetch("http://localhost:8000/sign/envelopes/example/documents/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/sign/envelopes/example/documents/example")
4print(response.json())
200 Example Response
No Body
DELETE /sign/envelopes/:envelope_id undocumented

/sign/envelopes/:envelope_id

DELETE /sign/envelopes/:envelope_id — delete a draft/template (sent envelopes are voided, not deleted).

Parameters
envelope_id string · path
required
Responses
200Successful Response
DELETE /sign/envelopes/example
1curl -X DELETE "http://localhost:8000/sign/envelopes/example"
1fetch("http://localhost:8000/sign/envelopes/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/sign/envelopes/example")
4print(response.json())
200 Example Response
No Body
DELETE /sign/templates/:envelope_id/links/:link_id undocumented

/sign/templates/:envelope_id/links/:link_id

DELETE /sign/templates/:envelope_id/links/:link_id — close a link. Soft (revoked_at): the row keeps its submission history.

Parameters
envelope_id string · path
required
link_id string · path
required
Responses
200Successful Response
DELETE /sign/templates/example/links/example
1curl -X DELETE "http://localhost:8000/sign/templates/example/links/example"
1fetch("http://localhost:8000/sign/templates/example/links/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/sign/templates/example/links/example")
4print(response.json())
200 Example Response
No Body
DELETE /sign/envelopes/:envelope_id/exports/:target undocumented

/sign/envelopes/:envelope_id/exports/:target

DELETE /sign/envelopes/:envelope_id/exports/:target — take the saved copy back out of Files. Files itself refuses to delete anything Sign owns, so this is the only way to undo a Save to Files. It has to live here: a completed envelope can never be deleted (sealed documents are voided, not removed), so without this the copy would be permanent and an accidental save unfixable.

Parameters
envelope_id string · path
required
target string · path
required
Responses
200Successful Response
DELETE /sign/envelopes/example/exports/example
1curl -X DELETE "http://localhost:8000/sign/envelopes/example/exports/example"
1fetch("http://localhost:8000/sign/envelopes/example/exports/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/sign/envelopes/example/exports/example")
4print(response.json())
200 Example Response
No Body
DELETE /sign/envelopes/:envelope_id/fields/:field_id undocumented

/sign/envelopes/:envelope_id/fields/:field_id

DELETE /sign/envelopes/:envelope_id/fields/:field_id — remove a field.

Parameters
envelope_id string · path
required
field_id string · path
required
Responses
200Successful Response
DELETE /sign/envelopes/example/fields/example
1curl -X DELETE "http://localhost:8000/sign/envelopes/example/fields/example"
1fetch("http://localhost:8000/sign/envelopes/example/fields/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/sign/envelopes/example/fields/example")
4print(response.json())
200 Example Response
No Body
DELETE /sign/envelopes/:envelope_id/recipients/:recipient_id undocumented

/sign/envelopes/:envelope_id/recipients/:recipient_id

DELETE /sign/envelopes/:envelope_id/recipients/:recipient_id — remove a recipient (before send).

Parameters
envelope_id string · path
required
recipient_id string · path
required
Responses
200Successful Response
DELETE /sign/envelopes/example/recipients/example
1curl -X DELETE "http://localhost:8000/sign/envelopes/example/recipients/example"
1fetch("http://localhost:8000/sign/envelopes/example/recipients/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/sign/envelopes/example/recipients/example")
4print(response.json())
200 Example Response
No Body
GET /sign/envelopes undocumented

/sign/envelopes

GET /sign/envelopes — list documents (non-templates by default; ?is_template=true, ?status=).

Responses
200Successful Response
GET /sign/envelopes
1curl "http://localhost:8000/sign/envelopes"
1fetch("http://localhost:8000/sign/envelopes")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/sign/envelopes")
4print(response.json())
200 Example Response
No Body
GET /sign/envelopes/:envelope_id undocumented

/sign/envelopes/:envelope_id

GET /sign/envelopes/:envelope_id — envelope + its fields + recipients.

Parameters
envelope_id string · path
required
Responses
200Successful Response
GET /sign/envelopes/example
1curl "http://localhost:8000/sign/envelopes/example"
1fetch("http://localhost:8000/sign/envelopes/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/sign/envelopes/example")
4print(response.json())
200 Example Response
No Body
GET /sign/envelopes/:envelope_id/source undocumented

/sign/envelopes/:envelope_id/source

GET /sign/envelopes/:envelope_id/source — presigned GET URLs for the source PDFs. The builder loads these into PDF.js to render pages for field placement. `documents` lists every part in signing order (a legacy single-PDF envelope synthesizes one entry); `url`/`page_count` keep the pre-multi-document shape (first part / total pages).

Parameters
envelope_id string · path
required
Responses
200Successful Response
GET /sign/envelopes/example/source
1curl "http://localhost:8000/sign/envelopes/example/source"
1fetch("http://localhost:8000/sign/envelopes/example/source")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/sign/envelopes/example/source")
4print(response.json())
200 Example Response
No Body
GET /sign/envelopes/:envelope_id/documents undocumented

/sign/envelopes/:envelope_id/documents

GET /sign/envelopes/:envelope_id/documents — the envelope's source PDFs in order.

Parameters
envelope_id string · path
required
Responses
200Successful Response
GET /sign/envelopes/example/documents
1curl "http://localhost:8000/sign/envelopes/example/documents"
1fetch("http://localhost:8000/sign/envelopes/example/documents")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/sign/envelopes/example/documents")
4print(response.json())
200 Example Response
No Body
GET /sign/envelopes/:envelope_id/audit undocumented

/sign/envelopes/:envelope_id/audit

GET /sign/envelopes/:envelope_id/audit — the envelope's chronological audit trail.

Parameters
envelope_id string · path
required
Responses
200Successful Response
GET /sign/envelopes/example/audit
1curl "http://localhost:8000/sign/envelopes/example/audit"
1fetch("http://localhost:8000/sign/envelopes/example/audit")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/sign/envelopes/example/audit")
4print(response.json())
200 Example Response
No Body
GET /sign/envelopes/:envelope_id/audit/integrity undocumented

/sign/envelopes/:envelope_id/audit/integrity

GET /sign/envelopes/:envelope_id/audit/integrity: recompute the audit chain and report whether any row was altered, removed or forked.

Parameters
envelope_id string · path
required
Responses
200Successful Response
GET /sign/envelopes/example/audit/integrity
1curl "http://localhost:8000/sign/envelopes/example/audit/integrity"
1fetch("http://localhost:8000/sign/envelopes/example/audit/integrity")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/sign/envelopes/example/audit/integrity")
4print(response.json())
200 Example Response
No Body
GET /sign/envelopes/:envelope_id/values undocumented

/sign/envelopes/:envelope_id/values

GET /sign/envelopes/:envelope_id/values — what each recipient actually entered. Text/date/name/email come back as `value`; signature/initials come back as a short- lived presigned `signature_url` for the drawn PNG. The builder overlays these on a sent/completed document so the owner sees the real content, not the placeholders.

Parameters
envelope_id string · path
required
Responses
200Successful Response
GET /sign/envelopes/example/values
1curl "http://localhost:8000/sign/envelopes/example/values"
1fetch("http://localhost:8000/sign/envelopes/example/values")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/sign/envelopes/example/values")
4print(response.json())
200 Example Response
No Body
GET /sign/envelopes/:envelope_id/document undocumented

/sign/envelopes/:envelope_id/document

GET /sign/envelopes/:envelope_id/document — presigned URL for the sealed PDF.

Parameters
envelope_id string · path
required
Responses
200Successful Response
GET /sign/envelopes/example/document
1curl "http://localhost:8000/sign/envelopes/example/document"
1fetch("http://localhost:8000/sign/envelopes/example/document")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/sign/envelopes/example/document")
4print(response.json())
200 Example Response
No Body
GET /sign/envelopes/:envelope_id/certificate undocumented

/sign/envelopes/:envelope_id/certificate

GET /sign/envelopes/:envelope_id/certificate — presigned URL for the Certificate of Completion.

Parameters
envelope_id string · path
required
Responses
200Successful Response
GET /sign/envelopes/example/certificate
1curl "http://localhost:8000/sign/envelopes/example/certificate"
1fetch("http://localhost:8000/sign/envelopes/example/certificate")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/sign/envelopes/example/certificate")
4print(response.json())
200 Example Response
No Body
GET /sign/templates undocumented

/sign/templates

GET /sign/templates — list reusable templates (sugar for ?is_template=true).

Responses
200Successful Response
GET /sign/templates
1curl "http://localhost:8000/sign/templates"
1fetch("http://localhost:8000/sign/templates")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/sign/templates")
4print(response.json())
200 Example Response
No Body
GET /sign/templates/:envelope_id/usages undocumented

/sign/templates/:envelope_id/usages

GET /sign/templates/:envelope_id/usages: every document created from this template (one-off clones and broadcast sends), newest first, with sender and recipients attached. Visible to anyone holding a read grant on the template.

Parameters
envelope_id string · path
required
Responses
200Successful Response
GET /sign/templates/example/usages
1curl "http://localhost:8000/sign/templates/example/usages"
1fetch("http://localhost:8000/sign/templates/example/usages")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/sign/templates/example/usages")
4print(response.json())
200 Example Response
No Body
GET /sign/templates/:envelope_id/links undocumented

/sign/templates/:envelope_id/links

GET /sign/templates/:envelope_id/links — this template's self-serve links.

Parameters
envelope_id string · path
required
Responses
200Successful Response
GET /sign/templates/example/links
1curl "http://localhost:8000/sign/templates/example/links"
1fetch("http://localhost:8000/sign/templates/example/links")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/sign/templates/example/links")
4print(response.json())
200 Example Response
No Body
GET /sign/signatories undocumented

/sign/signatories

GET /sign/signatories?q= : everyone ever added to a document the caller can see, aggregated by email: document count, signed/declined counts, and last activity.

Responses
200Successful Response
GET /sign/signatories
1curl "http://localhost:8000/sign/signatories"
1fetch("http://localhost:8000/sign/signatories")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/sign/signatories")
4print(response.json())
200 Example Response
No Body
GET /sign/signatories/:email undocumented

/sign/signatories/:email

GET /sign/signatories/:email — one signatory's profile (see _signatory_profile).

Parameters
email string · path
required
Responses
200Successful Response
GET /sign/signatories/example
1curl "http://localhost:8000/sign/signatories/example"
1fetch("http://localhost:8000/sign/signatories/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/sign/signatories/example")
4print(response.json())
200 Example Response
No Body
GET /sign/statistics undocumented

/sign/statistics

GET /sign/statistics: dashboard aggregates over the documents the caller can see (same visibility as the lists: grants, widened for auditors): status counts, monthly sent/completed volume, completion rate, median time-to-complete, pending-signature aging, top templates by usage, and recent activity.

Responses
200Successful Response
GET /sign/statistics
1curl "http://localhost:8000/sign/statistics"
1fetch("http://localhost:8000/sign/statistics")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/sign/statistics")
4print(response.json())
200 Example Response
No Body
GET /sign/jurisdictions undocumented

/sign/jurisdictions

GET /sign/jurisdictions — picker options + carve-out warnings (static config).

Responses
200Successful Response
GET /sign/jurisdictions
1curl "http://localhost:8000/sign/jurisdictions"
1fetch("http://localhost:8000/sign/jurisdictions")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/sign/jurisdictions")
4print(response.json())
200 Example Response
No Body
GET /sign/settings undocumented

/sign/settings

GET /sign/settings: Sign's workspace configuration. Today that is one choice: which template a cross-app signature request is raised from. Readable by anyone who can see documents, so the Templates list can mark the chosen one even for members who may not change it.

Responses
200Successful Response
GET /sign/settings
1curl "http://localhost:8000/sign/settings"
1fetch("http://localhost:8000/sign/settings")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/sign/settings")
4print(response.json())
200 Example Response
No Body
GET /sign/envelopes/:envelope_id/fields undocumented

/sign/envelopes/:envelope_id/fields

GET /sign/envelopes/:envelope_id/fields — list field placements.

Parameters
envelope_id string · path
required
Responses
200Successful Response
GET /sign/envelopes/example/fields
1curl "http://localhost:8000/sign/envelopes/example/fields"
1fetch("http://localhost:8000/sign/envelopes/example/fields")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/sign/envelopes/example/fields")
4print(response.json())
200 Example Response
No Body
GET /sign/envelopes/:envelope_id/recipients undocumented

/sign/envelopes/:envelope_id/recipients

GET /sign/envelopes/:envelope_id/recipients — list recipients + their status.

Parameters
envelope_id string · path
required
Responses
200Successful Response
GET /sign/envelopes/example/recipients
1curl "http://localhost:8000/sign/envelopes/example/recipients"
1fetch("http://localhost:8000/sign/envelopes/example/recipients")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/sign/envelopes/example/recipients")
4print(response.json())
200 Example Response
No Body
GET /sign/envelopes/:envelope_id/recipients/:recipient_id/link undocumented

/sign/envelopes/:envelope_id/recipients/:recipient_id/link

GET /sign/envelopes/:envelope_id/recipients/:recipient_id/link: a recipient's signing link for a manager to pass on. Taking it is written to the audit trail.

Parameters
envelope_id string · path
required
recipient_id string · path
required
Responses
200Successful Response
GET /sign/envelopes/example/recipients/example/link
1curl "http://localhost:8000/sign/envelopes/example/recipients/example/link"
1fetch("http://localhost:8000/sign/envelopes/example/recipients/example/link")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/sign/envelopes/example/recipients/example/link")
4print(response.json())
200 Example Response
No Body
POST /sign/envelopes/:envelope_id/reminders undocumented

/sign/envelopes/:envelope_id/reminders

POST /sign/envelopes/:envelope_id/reminders — remind recipients who haven't signed.

Parameters
envelope_id string · path
required
Responses
200Successful Response
POST /sign/envelopes/example/reminders
1curl -X POST "http://localhost:8000/sign/envelopes/example/reminders"
1fetch("http://localhost:8000/sign/envelopes/example/reminders", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/sign/envelopes/example/reminders")
4print(response.json())
200 Example Response
No Body
POST /sign/templates/:envelope_id/broadcasts undocumented

/sign/templates/:envelope_id/broadcasts

POST /sign/templates/:envelope_id/broadcasts {rows:[{recipients:[{role,name,email}]}]} Send-to-many: clone the template once per row, bind each role to its recipient, and send every envelope. Gated by sign.envelopes.send (it IS sending). A row is used only if it has a distinct email for every role in the template; incomplete rows are skipped.

Parameters
envelope_id string · path
required
Responses
200Successful Response
POST /sign/templates/example/broadcasts
1curl -X POST "http://localhost:8000/sign/templates/example/broadcasts"
1fetch("http://localhost:8000/sign/templates/example/broadcasts", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/sign/templates/example/broadcasts")
4print(response.json())
200 Example Response
No Body
PATCH /identity/clients/:client_id

Change a sign-in app

PATCH /identity/clients/:client_id: its name, where it sends people, what it may ask for, and what a SAML app is sent.

Parameters
client_id string · path
required
Body · UpdateSignInAppapplication/json
name string · min length: 1 · max length: 100
redirect_uris array
post_logout_uris array
acs_urls array
sp_entity_id string · min length: 1 · max length: 1000
requested_scopes array
nameid
signature
attributes array
propertyName anything
Responses
200Successful Response
PATCH /identity/clients/example
1curl -X PATCH "http://localhost:8000/identity/clients/example" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","redirect_uris":["string"],"post_logout_uris":["string"],"acs_urls":["string"],"sp_entity_id":"string","requested_scopes":["string"],"nameid":"email","signature":"rsa-sha256","attributes":[{"name":"string","field":"email"}]}'
1fetch("http://localhost:8000/identity/clients/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "redirect_uris": [
7 "string"
8 ],
9 "post_logout_uris": [
10 "string"
11 ],
12 "acs_urls": [
13 "string"
14 ],
15 "sp_entity_id": "string",
16 "requested_scopes": [
17 "string"
18 ],
19 "nameid": "email",
20 "signature": "rsa-sha256",
21 "attributes": [
22 {
23 "name": "string",
24 "field": "email"
25 }
26 ]
27}),
28})
29 .then((res) => res.json())
30 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/identity/clients/example",
5 json={"name":"string","redirect_uris":["string"],"post_logout_uris":["string"],"acs_urls":["string"],"sp_entity_id":"string","requested_scopes":["string"],"nameid":"email","signature":"rsa-sha256","attributes":[{"name":"string","field":"email"}]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /identity/approvals/:approval_id

Choose who can use a sign-in app and what it may do

PATCH /identity/approvals/:approval_id: which roles can use the app, and what it may do for them.

Parameters
approval_id string · path
required
Body · UpdateSignInApprovalapplication/json
allowed_roles array
granted_scopes array
acs_url string · max length: 2000
sp_entity_id string · max length: 1000
provisioning
scim_base_url string · max length: 2000
scim_token string · max length: 8000
scim_client_id string · max length: 500
scim_profile_id string · max length: 100
propertyName anything
Responses
200Successful Response
PATCH /identity/approvals/example
1curl -X PATCH "http://localhost:8000/identity/approvals/example" \
2 -H "Content-Type: application/json" \
3 -d '{"allowed_roles":["string"],"granted_scopes":["string"],"acs_url":"string","sp_entity_id":"string","provisioning":"on","scim_base_url":"string","scim_token":"string","scim_client_id":"string","scim_profile_id":"string"}'
1fetch("http://localhost:8000/identity/approvals/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "allowed_roles": [
6 "string"
7 ],
8 "granted_scopes": [
9 "string"
10 ],
11 "acs_url": "string",
12 "sp_entity_id": "string",
13 "provisioning": "on",
14 "scim_base_url": "string",
15 "scim_token": "string",
16 "scim_client_id": "string",
17 "scim_profile_id": "string"
18}),
19})
20 .then((res) => res.json())
21 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/identity/approvals/example",
5 json={"allowed_roles":["string"],"granted_scopes":["string"],"acs_url":"string","sp_entity_id":"string","provisioning":"on","scim_base_url":"string","scim_token":"string","scim_client_id":"string","scim_profile_id":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /identity/provisioning/:push_id

Try a push of someone's account to an app again

PATCH /identity/provisioning/:push_id {status: pending}: try a waiting or failed push again now.

Parameters
push_id string · path
required
Body · TryAccountPushAgainapplication/json
status
required
propertyName anything
Responses
200Successful Response
PATCH /identity/provisioning/example
1curl -X PATCH "http://localhost:8000/identity/provisioning/example" \
2 -H "Content-Type: application/json" \
3 -d '{"status":"pending"}'
1fetch("http://localhost:8000/identity/provisioning/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "status": "pending"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/identity/provisioning/example",
5 json={"status":"pending"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /identity/access-requests/:request_id

Grant or dismiss an ask for a sign-in app

PATCH /identity/access-requests/:request_id: granted once the member holds a role the app is open to, or dismissed.

Parameters
request_id string · path
required
Body · DecideSignInAskapplication/json
status
required
role_id string · max length: 64
propertyName anything
Responses
200Successful Response
PATCH /identity/access-requests/example
1curl -X PATCH "http://localhost:8000/identity/access-requests/example" \
2 -H "Content-Type: application/json" \
3 -d '{"status":"granted","role_id":"string"}'
1fetch("http://localhost:8000/identity/access-requests/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "status": "granted",
6 "role_id": "string"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/identity/access-requests/example",
5 json={"status":"granted","role_id":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /identity/clients

Add a sign-in app

POST /identity/clients: add any app that signs in with SAML or OpenID Connect, approved here for nobody yet. The client secret is in this response only.

Body · RegisterSignInAppapplication/json
name string · min length: 1 · max length: 100
required
protocol
required
redirect_uri string · max length: 2000
acs_url string · max length: 2000
sp_entity_id string · max length: 1000
requested_scopes array
nameid
signature
attributes array
propertyName anything
Responses
200Successful Response
POST /identity/clients
1curl -X POST "http://localhost:8000/identity/clients" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","protocol":"oidc","redirect_uri":"string","acs_url":"string","sp_entity_id":"string","requested_scopes":["string"],"nameid":"email","signature":"rsa-sha256","attributes":[{"name":"string","field":"email"}]}'
1fetch("http://localhost:8000/identity/clients", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "protocol": "oidc",
7 "redirect_uri": "string",
8 "acs_url": "string",
9 "sp_entity_id": "string",
10 "requested_scopes": [
11 "string"
12 ],
13 "nameid": "email",
14 "signature": "rsa-sha256",
15 "attributes": [
16 {
17 "name": "string",
18 "field": "email"
19 }
20 ]
21}),
22})
23 .then((res) => res.json())
24 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/identity/clients",
5 json={"name":"string","protocol":"oidc","redirect_uri":"string","acs_url":"string","sp_entity_id":"string","requested_scopes":["string"],"nameid":"email","signature":"rsa-sha256","attributes":[{"name":"string","field":"email"}]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /identity/app-metadata

Read a sign-in app's SAML metadata

POST /identity/app-metadata: what an app's SAML metadata says, from its file or its link, to fill in its form. Nothing is saved.

Body · ReadAppMetadataapplication/json
url string · max length: 2000
xml string · max length: 1000000
propertyName anything
Responses
200Successful Response
POST /identity/app-metadata
1curl -X POST "http://localhost:8000/identity/app-metadata" \
2 -H "Content-Type: application/json" \
3 -d '{"url":"string","xml":"string"}'
1fetch("http://localhost:8000/identity/app-metadata", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "url": "string",
6 "xml": "string"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/identity/app-metadata",
5 json={"url":"string","xml":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /identity/approvals

Approve a sign-in app

POST /identity/approvals: approve an app for this workspace, for nobody yet, with everything it asks for.

Body · ApproveSignInAppapplication/json
client_id string · min length: 1 · max length: 64
required
propertyName anything
Responses
200Successful Response
POST /identity/approvals
1curl -X POST "http://localhost:8000/identity/approvals" \
2 -H "Content-Type: application/json" \
3 -d '{"client_id":"string"}'
1fetch("http://localhost:8000/identity/approvals", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "client_id": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/identity/approvals",
5 json={"client_id":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /identity/approvals/:approval_id/provisioning-checks

Check the SCIM URL and token an app gave

POST /identity/approvals/:approval_id/provisioning-checks: ask the app for one account with the SCIM URL and token given, or the ones kept, so the admin knows they work before switching accounts on. Saves nothing.

Parameters
approval_id string · path
required
Body · CheckAccountsLinkapplication/json
scim_base_url string · max length: 2000
scim_token string · max length: 8000
scim_client_id string · max length: 500
propertyName anything
Responses
200Successful Response
POST /identity/approvals/example/provisioning-checks
1curl -X POST "http://localhost:8000/identity/approvals/example/provisioning-checks" \
2 -H "Content-Type: application/json" \
3 -d '{"scim_base_url":"string","scim_token":"string","scim_client_id":"string"}'
1fetch("http://localhost:8000/identity/approvals/example/provisioning-checks", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "scim_base_url": "string",
6 "scim_token": "string",
7 "scim_client_id": "string"
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/identity/approvals/example/provisioning-checks",
5 json={"scim_base_url":"string","scim_token":"string","scim_client_id":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /identity/access-requests

Ask for a sign-in app

POST /identity/access-requests: a member asks the admins for an app; one open ask per person per app.

Body · AskForSignInAppapplication/json
client_id string · min length: 1 · max length: 64
required
propertyName anything
Responses
200Successful Response
POST /identity/access-requests
1curl -X POST "http://localhost:8000/identity/access-requests" \
2 -H "Content-Type: application/json" \
3 -d '{"client_id":"string"}'
1fetch("http://localhost:8000/identity/access-requests", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "client_id": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/identity/access-requests",
5 json={"client_id":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /sso/connections/:connection_id

Change a connection, its sign-in rules, or whether it is required

PATCH /sso/connections/:connection_id: its values, its sign-in rules, and whether it is required. Requiring it waits for a test sign-in that worked and for the owner's authenticator app.

Parameters
connection_id string · path
required
Body · UpdateSsoConnectionapplication/json
display_name string · max length: 80
saml_entity_id string · max length: 1000
saml_sso_url string · max length: 2000
saml_slo_url string · max length: 2000
saml_certificate string · max length: 20000
oidc_issuer string · max length: 1000
oidc_client_id string · max length: 500
oidc_client_secret string · max length: 2000
jit_provisioning
follow_idp_logout
enforced
propertyName anything
Responses
200Successful Response
PATCH /sso/connections/example
1curl -X PATCH "http://localhost:8000/sso/connections/example" \
2 -H "Content-Type: application/json" \
3 -d '{"display_name":"string","saml_entity_id":"string","saml_sso_url":"string","saml_slo_url":"string","saml_certificate":"string","oidc_issuer":"string","oidc_client_id":"string","oidc_client_secret":"string","jit_provisioning":{},"follow_idp_logout":{},"enforced":{}}'
1fetch("http://localhost:8000/sso/connections/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "display_name": "string",
6 "saml_entity_id": "string",
7 "saml_sso_url": "string",
8 "saml_slo_url": "string",
9 "saml_certificate": "string",
10 "oidc_issuer": "string",
11 "oidc_client_id": "string",
12 "oidc_client_secret": "string",
13 "jit_provisioning": {},
14 "follow_idp_logout": {},
15 "enforced": {}
16}),
17})
18 .then((res) => res.json())
19 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/sso/connections/example",
5 json={"display_name":"string","saml_entity_id":"string","saml_sso_url":"string","saml_slo_url":"string","saml_certificate":"string","oidc_issuer":"string","oidc_client_id":"string","oidc_client_secret":"string","jit_provisioning":{},"follow_idp_logout":{},"enforced":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /sso/connections

Add an identity-provider connection

POST /sso/connections: save a connection. Nobody signs in through it until a test sign-in proves it.

Body · CreateSsoConnectionapplication/json
provider
required
display_name string · max length: 80
saml_entity_id string · max length: 1000
saml_sso_url string · max length: 2000
saml_slo_url string · max length: 2000
saml_certificate string · max length: 20000
oidc_issuer string · max length: 1000
oidc_client_id string · max length: 500
oidc_client_secret string · max length: 2000
jit_provisioning
propertyName anything
Responses
200Successful Response
POST /sso/connections
1curl -X POST "http://localhost:8000/sso/connections" \
2 -H "Content-Type: application/json" \
3 -d '{"provider":"okta","display_name":"string","saml_entity_id":"string","saml_sso_url":"string","saml_slo_url":"string","saml_certificate":"string","oidc_issuer":"string","oidc_client_id":"string","oidc_client_secret":"string","jit_provisioning":{}}'
1fetch("http://localhost:8000/sso/connections", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "provider": "okta",
6 "display_name": "string",
7 "saml_entity_id": "string",
8 "saml_sso_url": "string",
9 "saml_slo_url": "string",
10 "saml_certificate": "string",
11 "oidc_issuer": "string",
12 "oidc_client_id": "string",
13 "oidc_client_secret": "string",
14 "jit_provisioning": {}
15}),
16})
17 .then((res) => res.json())
18 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/sso/connections",
5 json={"provider":"okta","display_name":"string","saml_entity_id":"string","saml_sso_url":"string","saml_slo_url":"string","saml_certificate":"string","oidc_issuer":"string","oidc_client_id":"string","oidc_client_secret":"string","jit_provisioning":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /sso/provider-metadata

Read an identity provider's SAML metadata

POST /sso/provider-metadata: what an identity provider's SAML metadata says, from its file or link. Saves nothing.

Body · ReadProviderMetadataapplication/json
url string · max length: 2000
xml string · max length: 1000000
propertyName anything
Responses
200Successful Response
POST /sso/provider-metadata
1curl -X POST "http://localhost:8000/sso/provider-metadata" \
2 -H "Content-Type: application/json" \
3 -d '{"url":"string","xml":"string"}'
1fetch("http://localhost:8000/sso/provider-metadata", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "url": "string",
6 "xml": "string"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/sso/provider-metadata",
5 json={"url":"string","xml":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /sso/domains

Claim an email domain for sign-in

POST /sso/domains: claim an email domain; it matches nobody until its DNS record is found.

Body · AddSsoDomainapplication/json
domain string · min length: 3 · max length: 253
required
propertyName anything
Responses
200Successful Response
POST /sso/domains
1curl -X POST "http://localhost:8000/sso/domains" \
2 -H "Content-Type: application/json" \
3 -d '{"domain":"string"}'
1fetch("http://localhost:8000/sso/domains", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "domain": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/sso/domains",
5 json={"domain":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /decks/:id

Update a deck

PATCH /decks/:id. Title, content, thumbnail, or restore from trash.

Parameters
id string · path
required
Body · UpdateDeckapplication/json
title string · min length: 1 · max length: 200
deck_json object
slide_count integer · min: 0 · max: 500
thumbnail_key string · max length: 512
deleted
propertyName anything
Responses
200Successful Response
PATCH /decks/example
1curl -X PATCH "http://localhost:8000/decks/example" \
2 -H "Content-Type: application/json" \
3 -d '{"title":"string","deck_json":{"v":1,"size":{"w":1,"h":1},"theme":{},"slides":[{}]},"slide_count":1,"thumbnail_key":"string","deleted":{}}'
1fetch("http://localhost:8000/decks/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "title": "string",
6 "deck_json": {
7 "v": 1,
8 "size": {
9 "w": 1,
10 "h": 1
11 },
12 "theme": {},
13 "slides": [
14 {}
15 ]
16 },
17 "slide_count": 1,
18 "thumbnail_key": "string",
19 "deleted": {}
20}),
21})
22 .then((res) => res.json())
23 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/decks/example",
5 json={"title":"string","deck_json":{"v":1,"size":{"w":1,"h":1},"theme":{},"slides":[{}]},"slide_count":1,"thumbnail_key":"string","deleted":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /decks/:id/audiences/:audience_id

Update a live audience

PATCH /decks/:id/audiences/:audience_id: pause, resume or end, and what is on air.

Parameters
id string · path
required
audience_id string · path
required
Body · UpdateAudienceapplication/json
status
passcode string · max length: 64
allow_download
reactions_on
poll_id string · max length: 64
poll_open
spotlight_id string · max length: 64
propertyName anything
Responses
200Successful Response
PATCH /decks/example/audiences/example
1curl -X PATCH "http://localhost:8000/decks/example/audiences/example" \
2 -H "Content-Type: application/json" \
3 -d '{"status":"live","passcode":"string","allow_download":{},"reactions_on":{},"poll_id":"string","poll_open":{},"spotlight_id":"string"}'
1fetch("http://localhost:8000/decks/example/audiences/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "status": "live",
6 "passcode": "string",
7 "allow_download": {},
8 "reactions_on": {},
9 "poll_id": "string",
10 "poll_open": {},
11 "spotlight_id": "string"
12}),
13})
14 .then((res) => res.json())
15 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/decks/example/audiences/example",
5 json={"status":"live","passcode":"string","allow_download":{},"reactions_on":{},"poll_id":"string","poll_open":{},"spotlight_id":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /decks/:id/audiences/:audience_id/questions/:question_id

Moderate an audience question

PATCH /decks/:id/audiences/:audience_id/questions/:question_id: mark answered, hide or reopen.

Parameters
id string · path
required
audience_id string · path
required
question_id string · path
required
Body · UpdateQuestionapplication/json
status
required
propertyName anything
Responses
200Successful Response
PATCH /decks/example/audiences/example/questions/example
1curl -X PATCH "http://localhost:8000/decks/example/audiences/example/questions/example" \
2 -H "Content-Type: application/json" \
3 -d '{"status":"open"}'
1fetch("http://localhost:8000/decks/example/audiences/example/questions/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "status": "open"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/decks/example/audiences/example/questions/example",
5 json={"status":"open"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /decks/:id/versions/:version_id

Rename a deck version

PATCH /decks/:id/versions/:version_id: name or rename a version.

Parameters
id string · path
required
version_id string · path
required
Body · RenameVersionapplication/json
label string · max length: 200
required
propertyName anything
Responses
200Successful Response
PATCH /decks/example/versions/example
1curl -X PATCH "http://localhost:8000/decks/example/versions/example" \
2 -H "Content-Type: application/json" \
3 -d '{"label":"string"}'
1fetch("http://localhost:8000/decks/example/versions/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "label": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/decks/example/versions/example",
5 json={"label":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /decks/:id/comments/:comment_id

Edit or resolve a comment

PATCH /decks/:id/comments/:comment_id: edit your own comment, or resolve and reopen a thread.

Parameters
id string · path
required
comment_id string · path
required
Body · UpdateCommentapplication/json
body string · min length: 1 · max length: 4000
resolved
propertyName anything
Responses
200Successful Response
PATCH /decks/example/comments/example
1curl -X PATCH "http://localhost:8000/decks/example/comments/example" \
2 -H "Content-Type: application/json" \
3 -d '{"body":"string","resolved":{}}'
1fetch("http://localhost:8000/decks/example/comments/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "body": "string",
6 "resolved": {}
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/decks/example/comments/example",
5 json={"body":"string","resolved":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /decks/:id/comments/:comment_id/replies/:reply_id

Edit a reply

PATCH /decks/:id/comments/:comment_id/replies/:reply_id: edit your own reply.

Parameters
id string · path
required
comment_id string · path
required
reply_id string · path
required
Body · UpdateReplyapplication/json
body string · min length: 1
required
propertyName anything
Responses
200Successful Response
PATCH /decks/example/comments/example/replies/example
1curl -X PATCH "http://localhost:8000/decks/example/comments/example/replies/example" \
2 -H "Content-Type: application/json" \
3 -d '{"body":"string"}'
1fetch("http://localhost:8000/decks/example/comments/example/replies/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "body": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/decks/example/comments/example/replies/example",
5 json={"body":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /decks/:id/polls/:poll_id

Update a deck poll

PATCH /decks/:id/polls/:poll_id.

Parameters
id string · path
required
poll_id string · path
required
Body · UpdatePollapplication/json
kind
prompt string · min length: 1 · max length: 500
options array
scale
results_to
propertyName anything
Responses
200Successful Response
PATCH /decks/example/polls/example
1curl -X PATCH "http://localhost:8000/decks/example/polls/example" \
2 -H "Content-Type: application/json" \
3 -d '{"kind":"single","prompt":"string","options":["string"],"scale":5,"results_to":"both"}'
1fetch("http://localhost:8000/decks/example/polls/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "kind": "single",
6 "prompt": "string",
7 "options": [
8 "string"
9 ],
10 "scale": 5,
11 "results_to": "both"
12}),
13})
14 .then((res) => res.json())
15 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/decks/example/polls/example",
5 json={"kind":"single","prompt":"string","options":["string"],"scale":5,"results_to":"both"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /decks

Create a deck

POST /decks. Create a blank deck.

Body · CreateDeckapplication/json
title string · min length: 1 · max length: 200
propertyName anything
Responses
200Successful Response
POST /decks
1curl -X POST "http://localhost:8000/decks" \
2 -H "Content-Type: application/json" \
3 -d '{"title":"string"}'
1fetch("http://localhost:8000/decks", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "title": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/decks",
5 json={"title":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /decks/imports

Import a presentation file as a new deck

POST /decks/imports. Turn a presentation uploaded into the Slides import area into a new deck, in the background.

Body · ImportDeckapplication/json
key string · min length: 1 · max length: 1024
required
filename string · max length: 255
propertyName anything
Responses
200Successful Response
POST /decks/imports
1curl -X POST "http://localhost:8000/decks/imports" \
2 -H "Content-Type: application/json" \
3 -d '{"key":"string","filename":"string"}'
1fetch("http://localhost:8000/decks/imports", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "key": "string",
6 "filename": "string"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/decks/imports",
5 json={"key":"string","filename":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /decks/:id/exports

Save a copy of a deck to Files

POST /decks/:id/exports: save a copy in the chosen format into the caller's Files.

Parameters
id string · path
required
Body · SaveExportapplication/json
format
required
target
required
folder_id string · max length: 64
on_clash
replaces_file_id string · max length: 64
propertyName anything
Responses
200Successful Response
POST /decks/example/exports
1curl -X POST "http://localhost:8000/decks/example/exports" \
2 -H "Content-Type: application/json" \
3 -d '{"format":"docx","target":"files","folder_id":"string","on_clash":"replace","replaces_file_id":"string"}'
1fetch("http://localhost:8000/decks/example/exports", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "format": "docx",
6 "target": "files",
7 "folder_id": "string",
8 "on_clash": "replace",
9 "replaces_file_id": "string"
10}),
11})
12 .then((res) => res.json())
13 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/decks/example/exports",
5 json={"format":"docx","target":"files","folder_id":"string","on_clash":"replace","replaces_file_id":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /decks/:id/assets

Register a deck image

POST /decks/:id/assets. Register an uploaded image. Gate loaded ctx.authz.deck.

Parameters
id string · path
required
Body · CreateAssetapplication/json
asset_id string · min length: 6 · max length: 64
required
storage_key string · min length: 1 · max length: 512
required
filename string · min length: 1 · max length: 255
required
content_type string · min length: 1 · max length: 100
required
size_bytes integer · min: 0
required
width integer · min: 0
height integer · min: 0
kind
propertyName anything
Responses
200Successful Response
POST /decks/example/assets
1curl -X POST "http://localhost:8000/decks/example/assets" \
2 -H "Content-Type: application/json" \
3 -d '{"asset_id":"string","storage_key":"string","filename":"string","content_type":"string","size_bytes":1,"width":1,"height":1,"kind":"image"}'
1fetch("http://localhost:8000/decks/example/assets", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "asset_id": "string",
6 "storage_key": "string",
7 "filename": "string",
8 "content_type": "string",
9 "size_bytes": 1,
10 "width": 1,
11 "height": 1,
12 "kind": "image"
13}),
14})
15 .then((res) => res.json())
16 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/decks/example/assets",
5 json={"asset_id":"string","storage_key":"string","filename":"string","content_type":"string","size_bytes":1,"width":1,"height":1,"kind":"image"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /decks/:id/media

Add catalogue media to a deck

POST /decks/:id/media. Import a catalogue GIF into this deck. Its own sub-resource rather than a second shape of POST /decks/:id/assets: that route registers bytes the browser has already uploaded, this one makes the server go and fetch them. One schema each, one job each. The body carries a collection and a slug and nothing else. The URLs come back from KLIPY here, never from the caller, so there is no request a client can craft that points this fetch anywhere but the KLIPY CDN. Both objects land in the deck's own R2 prefix and become one ordinary slide_assets row, so from here on an imported GIF is cleaned up, presigned and permission-checked exactly like an uploaded photo. Gate loaded ctx.authz.deck.

Parameters
id string · path
required
Body · ImportMediaapplication/json
collection string · min length: 1 · max length: 20
required
slug string · min length: 1 · max length: 200
required
propertyName anything
Responses
200Successful Response
POST /decks/example/media
1curl -X POST "http://localhost:8000/decks/example/media" \
2 -H "Content-Type: application/json" \
3 -d '{"collection":"string","slug":"string"}'
1fetch("http://localhost:8000/decks/example/media", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "collection": "string",
6 "slug": "string"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/decks/example/media",
5 json={"collection":"string","slug":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /decks/:id/asset-copies

Copy a picture into a deck

POST /decks/:id/asset-copies. Copy a picture pasted from another deck into this one. The bytes are copied inside R2 under this deck's own key, so the picture is read, presigned and reaped through this deck alone. Gates loaded ctx.authz.deck and ctx.authz.asset.

Parameters
id string · path
required
Body · CopyAssetapplication/json
asset_id string · min length: 6 · max length: 64
required
propertyName anything
Responses
200Successful Response
POST /decks/example/asset-copies
1curl -X POST "http://localhost:8000/decks/example/asset-copies" \
2 -H "Content-Type: application/json" \
3 -d '{"asset_id":"string"}'
1fetch("http://localhost:8000/decks/example/asset-copies", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "asset_id": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/decks/example/asset-copies",
5 json={"asset_id":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /decks/:id/audiences

Open a deck to a live audience

POST /decks/:id/audiences: open the deck to an audience, ending any session still running.

Parameters
id string · path
required
Body · CreateAudienceapplication/json
access
required
passcode string · max length: 64
allow_download
reactions_on
propertyName anything
Responses
200Successful Response
POST /decks/example/audiences
1curl -X POST "http://localhost:8000/decks/example/audiences" \
2 -H "Content-Type: application/json" \
3 -d '{"access":"members","passcode":"string","allow_download":{},"reactions_on":{}}'
1fetch("http://localhost:8000/decks/example/audiences", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "access": "members",
6 "passcode": "string",
7 "allow_download": {},
8 "reactions_on": {}
9}),
10})
11 .then((res) => res.json())
12 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/decks/example/audiences",
5 json={"access":"members","passcode":"string","allow_download":{},"reactions_on":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /decks/:id/versions

Name the deck as it stands

POST /decks/:id/versions: name the deck as it stands now.

Parameters
id string · path
required
Body · SaveVersionapplication/json
label string · min length: 1 · max length: 200
required
propertyName anything
Responses
200Successful Response
POST /decks/example/versions
1curl -X POST "http://localhost:8000/decks/example/versions" \
2 -H "Content-Type: application/json" \
3 -d '{"label":"string"}'
1fetch("http://localhost:8000/decks/example/versions", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "label": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/decks/example/versions",
5 json={"label":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /decks/:id/restorations

Restore a deck version

POST /decks/:id/restorations: bring a version back, keeping what it replaces as a version too.

Parameters
id string · path
required
Body · RestoreVersionapplication/json
version_id string · min length: 1 · max length: 64
required
propertyName anything
Responses
200Successful Response
POST /decks/example/restorations
1curl -X POST "http://localhost:8000/decks/example/restorations" \
2 -H "Content-Type: application/json" \
3 -d '{"version_id":"string"}'
1fetch("http://localhost:8000/decks/example/restorations", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "version_id": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/decks/example/restorations",
5 json={"version_id":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /decks/:id/comments

Comment on a slide

POST /decks/:id/comments: start a thread on a slide, or on one thing on it.

Parameters
id string · path
required
Body · CreateCommentapplication/json
body string · max length: 4000
asset_id string · max length: 64
object_id string · max length: 64
parent_id string · max length: 64
nx number
ny number
propertyName anything
Responses
200Successful Response
POST /decks/example/comments
1curl -X POST "http://localhost:8000/decks/example/comments" \
2 -H "Content-Type: application/json" \
3 -d '{"body":"string","asset_id":"string","object_id":"string","parent_id":"string","nx":1.5,"ny":1.5}'
1fetch("http://localhost:8000/decks/example/comments", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "body": "string",
6 "asset_id": "string",
7 "object_id": "string",
8 "parent_id": "string",
9 "nx": 1.5,
10 "ny": 1.5
11}),
12})
13 .then((res) => res.json())
14 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/decks/example/comments",
5 json={"body":"string","asset_id":"string","object_id":"string","parent_id":"string","nx":1.5,"ny":1.5},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /decks/:id/comments/:comment_id/replies

Reply to a comment

POST /decks/:id/comments/:comment_id/replies: answer a thread.

Parameters
id string · path
required
comment_id string · path
required
Body · CreateReplyapplication/json
body string · min length: 1
required
propertyName anything
Responses
200Successful Response
POST /decks/example/comments/example/replies
1curl -X POST "http://localhost:8000/decks/example/comments/example/replies" \
2 -H "Content-Type: application/json" \
3 -d '{"body":"string"}'
1fetch("http://localhost:8000/decks/example/comments/example/replies", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "body": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/decks/example/comments/example/replies",
5 json={"body":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /decks/:id/polls

Write a poll for a deck

POST /decks/:id/polls: write a poll to run with any audience of this deck.

Parameters
id string · path
required
Body · CreatePollapplication/json
kind
required
prompt string · min length: 1 · max length: 500
required
options array
scale
results_to
propertyName anything
Responses
200Successful Response
POST /decks/example/polls
1curl -X POST "http://localhost:8000/decks/example/polls" \
2 -H "Content-Type: application/json" \
3 -d '{"kind":"single","prompt":"string","options":["string"],"scale":5,"results_to":"both"}'
1fetch("http://localhost:8000/decks/example/polls", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "kind": "single",
6 "prompt": "string",
7 "options": [
8 "string"
9 ],
10 "scale": 5,
11 "results_to": "both"
12}),
13})
14 .then((res) => res.json())
15 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/decks/example/polls",
5 json={"kind":"single","prompt":"string","options":["string"],"scale":5,"results_to":"both"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /spellschemas

Introspect a platform API schema

Introspect a platform API endpoint's pytastic schema. POST /spellschemas with {route: "/tasks", method: "POST"} Returns UI-ready field definitions extracted from the TypedDict at runtime.

Body · CreateSpellSchemaapplication/json
route string · min length: 1
required
method string
propertyName anything
Responses
200Successful Response
POST /spellschemas
1curl -X POST "http://localhost:8000/spellschemas" \
2 -H "Content-Type: application/json" \
3 -d '{"route":"string","method":"string"}'
1fetch("http://localhost:8000/spellschemas", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "route": "string",
6 "method": "string"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/spellschemas",
5 json={"route":"string","method":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
GET /spell-runs/:run_id undocumented

/spell-runs/:run_id

Parameters
run_id string · path
required
Responses
200Successful Response
GET /spell-runs/example
1curl "http://localhost:8000/spell-runs/example"
1fetch("http://localhost:8000/spell-runs/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/spell-runs/example")
4print(response.json())
200 Example Response
No Body
DELETE /spells/:spell_id undocumented

/spells/:spell_id

Parameters
spell_id string · path
required
Responses
200Successful Response
DELETE /spells/example
1curl -X DELETE "http://localhost:8000/spells/example"
1fetch("http://localhost:8000/spells/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/spells/example")
4print(response.json())
200 Example Response
No Body
DELETE /spells/:spell_id/secrets/:secret_id undocumented

/spells/:spell_id/secrets/:secret_id

Parameters
spell_id string · path
required
secret_id string · path
required
Responses
200Successful Response
DELETE /spells/example/secrets/example
1curl -X DELETE "http://localhost:8000/spells/example/secrets/example"
1fetch("http://localhost:8000/spells/example/secrets/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/spells/example/secrets/example")
4print(response.json())
200 Example Response
No Body
DELETE /spells/:spell_id/webhook undocumented

/spells/:spell_id/webhook

Parameters
spell_id string · path
required
Responses
200Successful Response
DELETE /spells/example/webhook
1curl -X DELETE "http://localhost:8000/spells/example/webhook"
1fetch("http://localhost:8000/spells/example/webhook", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/spells/example/webhook")
4print(response.json())
200 Example Response
No Body
GET /spells undocumented

/spells

Responses
200Successful Response
GET /spells
1curl "http://localhost:8000/spells"
1fetch("http://localhost:8000/spells")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/spells")
4print(response.json())
200 Example Response
No Body
GET /spells/:spell_id undocumented

/spells/:spell_id

Parameters
spell_id string · path
required
Responses
200Successful Response
GET /spells/example
1curl "http://localhost:8000/spells/example"
1fetch("http://localhost:8000/spells/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/spells/example")
4print(response.json())
200 Example Response
No Body
GET /spells/:spell_id/runs undocumented

/spells/:spell_id/runs

Parameters
spell_id string · path
required
Responses
200Successful Response
GET /spells/example/runs
1curl "http://localhost:8000/spells/example/runs"
1fetch("http://localhost:8000/spells/example/runs")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/spells/example/runs")
4print(response.json())
200 Example Response
No Body
GET /spells/:spell_id/versions undocumented

/spells/:spell_id/versions

Parameters
spell_id string · path
required
Responses
200Successful Response
GET /spells/example/versions
1curl "http://localhost:8000/spells/example/versions"
1fetch("http://localhost:8000/spells/example/versions")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/spells/example/versions")
4print(response.json())
200 Example Response
No Body
GET /spells/:spell_id/versions/:version undocumented

/spells/:spell_id/versions/:version

Parameters
spell_id string · path
required
version string · path
required
Responses
200Successful Response
GET /spells/example/versions/example
1curl "http://localhost:8000/spells/example/versions/example"
1fetch("http://localhost:8000/spells/example/versions/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/spells/example/versions/example")
4print(response.json())
200 Example Response
No Body
GET /spells/:spell_id/secrets undocumented

/spells/:spell_id/secrets

Parameters
spell_id string · path
required
Responses
200Successful Response
GET /spells/example/secrets
1curl "http://localhost:8000/spells/example/secrets"
1fetch("http://localhost:8000/spells/example/secrets")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/spells/example/secrets")
4print(response.json())
200 Example Response
No Body
POST /spells

Create a spell

Body · CreateSpellapplication/json
name string · min length: 1 · max length: 200
description string · max length: 2000
trigger object
chain array
enabled
format
source string · max length: 100000
folder string · max length: 80
tags array
runs_as
propertyName anything
Responses
200Successful Response
POST /spells
1curl -X POST "http://localhost:8000/spells" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","description":"string","trigger":{"events":["string"],"schedule":{},"where":{},"match":"all","webhook":{},"manual":{}},"chain":[{"macro":"string","id":"string","args":{},"output_as":"string","note":"string","disabled":{}}],"enabled":{},"format":"json","source":"string","folder":"string","tags":["string"],"runs_as":"owner"}'
1fetch("http://localhost:8000/spells", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "description": "string",
7 "trigger": {
8 "events": [
9 "string"
10 ],
11 "schedule": {},
12 "where": {},
13 "match": "all",
14 "webhook": {},
15 "manual": {}
16 },
17 "chain": [
18 {
19 "macro": "string",
20 "id": "string",
21 "args": {},
22 "output_as": "string",
23 "note": "string",
24 "disabled": {}
25 }
26 ],
27 "enabled": {},
28 "format": "json",
29 "source": "string",
30 "folder": "string",
31 "tags": [
32 "string"
33 ],
34 "runs_as": "owner"
35}),
36})
37 .then((res) => res.json())
38 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/spells",
5 json={"name":"string","description":"string","trigger":{"events":["string"],"schedule":{},"where":{},"match":"all","webhook":{},"manual":{}},"chain":[{"macro":"string","id":"string","args":{},"output_as":"string","note":"string","disabled":{}}],"enabled":{},"format":"json","source":"string","folder":"string","tags":["string"],"runs_as":"owner"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /spells/:spell_id/test

Test a spell (dry run)

Dry-run a spell with one sample payload, or many side by side within the time budget; every one run counts as a run.

Parameters
spell_id string · path
required
Body · TestSpellapplication/json
payload
payloads array
event_name string
propertyName anything
Responses
200Successful Response
POST /spells/example/test
1curl -X POST "http://localhost:8000/spells/example/test" \
2 -H "Content-Type: application/json" \
3 -d '{"payload":{},"payloads":[{}],"event_name":"string"}'
1fetch("http://localhost:8000/spells/example/test", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "payload": {},
6 "payloads": [
7 {}
8 ],
9 "event_name": "string"
10}),
11})
12 .then((res) => res.json())
13 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/spells/example/test",
5 json={"payload":{},"payloads":[{}],"event_name":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /spell-tests

Test steps that are not saved yet (dry run)

Dry-run steps that are not saved yet against many payloads within the time budget; every one run counts as a run.

Body · SpellTestapplication/json
chain array
required
payloads array
required
event_name string
propertyName anything
Responses
200Successful Response
POST /spell-tests
1curl -X POST "http://localhost:8000/spell-tests" \
2 -H "Content-Type: application/json" \
3 -d '{"chain":[{"macro":"string","id":"string","args":{},"output_as":"string","note":"string","disabled":{}}],"payloads":[{}],"event_name":"string"}'
1fetch("http://localhost:8000/spell-tests", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "chain": [
6 {
7 "macro": "string",
8 "id": "string",
9 "args": {},
10 "output_as": "string",
11 "note": "string",
12 "disabled": {}
13 }
14 ],
15 "payloads": [
16 {}
17 ],
18 "event_name": "string"
19}),
20})
21 .then((res) => res.json())
22 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/spell-tests",
5 json={"chain":[{"macro":"string","id":"string","args":{},"output_as":"string","note":"string","disabled":{}}],"payloads":[{}],"event_name":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /spells/:spell_id/runs

Run a spell now

Run now, with a payload you give, or again with the event of an earlier run.

Parameters
spell_id string · path
required
Body · CreateSpellRunapplication/json
payload
from_run_id string · max length: 64
propertyName anything
Responses
200Successful Response
POST /spells/example/runs
1curl -X POST "http://localhost:8000/spells/example/runs" \
2 -H "Content-Type: application/json" \
3 -d '{"payload":{},"from_run_id":"string"}'
1fetch("http://localhost:8000/spells/example/runs", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "payload": {},
6 "from_run_id": "string"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/spells/example/runs",
5 json={"payload":{},"from_run_id":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /spell-runs/:run_id/answers

Answer a waiting run

Answer the question a waiting run asked; the run carries on straight away.

Parameters
run_id string · path
required
Body · CreateRunAnswerapplication/json
answer
required
propertyName anything
Responses
200Successful Response
POST /spell-runs/example/answers
1curl -X POST "http://localhost:8000/spell-runs/example/answers" \
2 -H "Content-Type: application/json" \
3 -d '{"answer":"yes"}'
1fetch("http://localhost:8000/spell-runs/example/answers", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "answer": "yes"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/spell-runs/example/answers",
5 json={"answer":"yes"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /spells/:spell_id/secrets

Store a secret for a spell

Parameters
spell_id string · path
required
Body · CreateSpellSecretapplication/json
name string · min length: 1 · max length: 60
required
value string · min length: 1 · max length: 4000
required
propertyName anything
Responses
200Successful Response
POST /spells/example/secrets
1curl -X POST "http://localhost:8000/spells/example/secrets" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","value":"string"}'
1fetch("http://localhost:8000/spells/example/secrets", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "value": "string"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/spells/example/secrets",
5 json={"name":"string","value":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /wands/drafts

Draft a spell from a description

Saasie turns a plain description into Spellbook YAML for you to review before saving.

Body · CreateSpellDraftapplication/json
description string · min length: 8 · max length: 2000
required
propertyName anything
Responses
200Successful Response
POST /wands/drafts
1curl -X POST "http://localhost:8000/wands/drafts" \
2 -H "Content-Type: application/json" \
3 -d '{"description":"string"}'
1fetch("http://localhost:8000/wands/drafts", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "description": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/wands/drafts",
5 json={"description":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /wands/spellbook

Transform YAML <-> spell

Stateless YAML <-> spell transformer (no persistence). POST /wands/spellbook with {"source": "<yaml>"} -> {"spell": {...}} POST /wands/spellbook with {"spell": {...}} -> {"yaml": "..."} Lets the editor swap between the visual builder and the YAML view without saving. The engine still runs on stored JSON; this only reshapes in flight.

Body · SpellbookTransformapplication/json
source string · max length: 100000
spell
propertyName anything
Responses
200Successful Response
POST /wands/spellbook
1curl -X POST "http://localhost:8000/wands/spellbook" \
2 -H "Content-Type: application/json" \
3 -d '{"source":"string","spell":{}}'
1fetch("http://localhost:8000/wands/spellbook", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "source": "string",
6 "spell": {}
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/wands/spellbook",
5 json={"source":"string","spell":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /wands/schedule-previews

Check a schedule and preview its next runs

Validate a schedule and return the next few times it would fire. Always answers 200 with {valid: bool}: an author typing into the field gets a friendly message, not a stream of 422s.

Body · SchedulePreviewapplication/json
text string · min length: 1 · max length: 200
required
timezone string · max length: 64
propertyName anything
Responses
200Successful Response
POST /wands/schedule-previews
1curl -X POST "http://localhost:8000/wands/schedule-previews" \
2 -H "Content-Type: application/json" \
3 -d '{"text":"string","timezone":"string"}'
1fetch("http://localhost:8000/wands/schedule-previews", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "text": "string",
6 "timezone": "string"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/wands/schedule-previews",
5 json={"text":"string","timezone":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /spells/:spell_id

Update a spell

Parameters
spell_id string · path
required
Body · UpdateSpellapplication/json
name string · min length: 1 · max length: 200
description string · max length: 2000
trigger object
chain array
enabled
format
source string · max length: 100000
folder string · max length: 80
tags array
runs_as
propertyName anything
Responses
200Successful Response
PUT /spells/example
1curl -X PUT "http://localhost:8000/spells/example" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","description":"string","trigger":{"events":["string"],"schedule":{},"where":{},"match":"all","webhook":{},"manual":{}},"chain":[{"macro":"string","id":"string","args":{},"output_as":"string","note":"string","disabled":{}}],"enabled":{},"format":"json","source":"string","folder":"string","tags":["string"],"runs_as":"owner"}'
1fetch("http://localhost:8000/spells/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "description": "string",
7 "trigger": {
8 "events": [
9 "string"
10 ],
11 "schedule": {},
12 "where": {},
13 "match": "all",
14 "webhook": {},
15 "manual": {}
16 },
17 "chain": [
18 {
19 "macro": "string",
20 "id": "string",
21 "args": {},
22 "output_as": "string",
23 "note": "string",
24 "disabled": {}
25 }
26 ],
27 "enabled": {},
28 "format": "json",
29 "source": "string",
30 "folder": "string",
31 "tags": [
32 "string"
33 ],
34 "runs_as": "owner"
35}),
36})
37 .then((res) => res.json())
38 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/spells/example",
5 json={"name":"string","description":"string","trigger":{"events":["string"],"schedule":{},"where":{},"match":"all","webhook":{},"manual":{}},"chain":[{"macro":"string","id":"string","args":{},"output_as":"string","note":"string","disabled":{}}],"enabled":{},"format":"json","source":"string","folder":"string","tags":["string"],"runs_as":"owner"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /spells/:spell_id/secrets/:secret_id

Replace a spell secret

Parameters
spell_id string · path
required
secret_id string · path
required
Body · UpdateSpellSecretapplication/json
value string · min length: 1 · max length: 4000
required
propertyName anything
Responses
200Successful Response
PUT /spells/example/secrets/example
1curl -X PUT "http://localhost:8000/spells/example/secrets/example" \
2 -H "Content-Type: application/json" \
3 -d '{"value":"string"}'
1fetch("http://localhost:8000/spells/example/secrets/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "value": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/spells/example/secrets/example",
5 json={"value":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /spells/:spell_id/webhook undocumented

/spells/:spell_id/webhook

Give the spell a fresh webhook address and signing secret; the secret is shown only now.

Parameters
spell_id string · path
required
Responses
200Successful Response
PUT /spells/example/webhook
1curl -X PUT "http://localhost:8000/spells/example/webhook"
1fetch("http://localhost:8000/spells/example/webhook", { method: "PUT" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.put("http://localhost:8000/spells/example/webhook")
4print(response.json())
200 Example Response
No Body
DELETE /sso/connections/:connection_id undocumented

/sso/connections/:connection_id

DELETE /sso/connections/:connection_id: remove it, its links, its tokens and its groups, take back the roles its groups gave, and sign out who came in through it. Refused while it is required.

Parameters
connection_id string · path
required
Responses
200Successful Response
DELETE /sso/connections/example
1curl -X DELETE "http://localhost:8000/sso/connections/example"
1fetch("http://localhost:8000/sso/connections/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/sso/connections/example")
4print(response.json())
200 Example Response
No Body
DELETE /sso/domains/:domain undocumented

/sso/domains/:domain

DELETE /sso/domains/:domain: stop matching addresses at it. People already linked stay linked.

Parameters
domain string · path
required
Responses
200Successful Response
DELETE /sso/domains/example
1curl -X DELETE "http://localhost:8000/sso/domains/example"
1fetch("http://localhost:8000/sso/domains/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/sso/domains/example")
4print(response.json())
200 Example Response
No Body
GET /sso/connections undocumented

/sso/connections

GET /sso/connections: this workspace's identity providers, each with who is linked and the week's sign-ins.

Responses
200Successful Response
GET /sso/connections
1curl "http://localhost:8000/sso/connections"
1fetch("http://localhost:8000/sso/connections")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/sso/connections")
4print(response.json())
200 Example Response
No Body
GET /sso/connections/:connection_id/links undocumented

/sso/connections/:connection_id/links

GET /sso/connections/:connection_id/links: who is linked to it (q, last week or older, active or suspended).

Parameters
connection_id string · path
required
Responses
200Successful Response
GET /sso/connections/example/links
1curl "http://localhost:8000/sso/connections/example/links"
1fetch("http://localhost:8000/sso/connections/example/links")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/sso/connections/example/links")
4print(response.json())
200 Example Response
No Body
GET /sso/sign-ins undocumented

/sso/sign-ins

GET /sso/sign-ins: every sign-in to the workspace, newest first (q, how: password, link, sso or breakglass, connection_id, result: ok or refused).

Responses
200Successful Response
GET /sso/sign-ins
1curl "http://localhost:8000/sso/sign-ins"
1fetch("http://localhost:8000/sso/sign-ins")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/sso/sign-ins")
4print(response.json())
200 Example Response
No Body
GET /sso/domains undocumented

/sso/domains

GET /sso/domains: the email domains this workspace proved, or is proving, for sign-in.

Responses
200Successful Response
GET /sso/domains
1curl "http://localhost:8000/sso/domains"
1fetch("http://localhost:8000/sso/domains")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/sso/domains")
4print(response.json())
200 Example Response
No Body
POST /sso/domains/:domain/checks undocumented

/sso/domains/:domain/checks

POST /sso/domains/:domain/checks: look for the domain's TXT record now, and mark it verified once it is there.

Parameters
domain string · path
required
Responses
200Successful Response
POST /sso/domains/example/checks
1curl -X POST "http://localhost:8000/sso/domains/example/checks"
1fetch("http://localhost:8000/sso/domains/example/checks", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/sso/domains/example/checks")
4print(response.json())
200 Example Response
No Body
GET /support/threads undocumented

/support/threads

Responses
200Successful Response
GET /support/threads
1curl "http://localhost:8000/support/threads"
1fetch("http://localhost:8000/support/threads")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/support/threads")
4print(response.json())
200 Example Response
No Body
GET /support/threads/:id undocumented

/support/threads/:id

Parameters
id string · path
required
Responses
200Successful Response
GET /support/threads/example
1curl "http://localhost:8000/support/threads/example"
1fetch("http://localhost:8000/support/threads/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/support/threads/example")
4print(response.json())
200 Example Response
No Body
PATCH /support/threads/:id

Mark a support conversation read

Parameters
id string · path
required
Body · UpdateSupportThreadapplication/json
read
required
propertyName anything
Responses
200Successful Response
PATCH /support/threads/example
1curl -X PATCH "http://localhost:8000/support/threads/example" \
2 -H "Content-Type: application/json" \
3 -d '{"read":{}}'
1fetch("http://localhost:8000/support/threads/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "read": {}
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/support/threads/example",
5 json={"read":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /support/threads

Start a conversation with support

Body · CreateSupportThreadapplication/json
subject string · min length: 1 · max length: 160
required
body string · min length: 1 · max length: 5000
required
propertyName anything
Responses
200Successful Response
POST /support/threads
1curl -X POST "http://localhost:8000/support/threads" \
2 -H "Content-Type: application/json" \
3 -d '{"subject":"string","body":"string"}'
1fetch("http://localhost:8000/support/threads", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "subject": "string",
6 "body": "string"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/support/threads",
5 json={"subject":"string","body":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /support/threads/:id/messages

Reply to support

Parameters
id string · path
required
Body · CreateSupportMessageapplication/json
body string · min length: 1 · max length: 5000
required
propertyName anything
Responses
200Successful Response
POST /support/threads/example/messages
1curl -X POST "http://localhost:8000/support/threads/example/messages" \
2 -H "Content-Type: application/json" \
3 -d '{"body":"string"}'
1fetch("http://localhost:8000/support/threads/example/messages", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "body": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/support/threads/example/messages",
5 json={"body":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
DELETE /tables/trash undocumented

/tables/trash

DELETE /tables/trash, permanently delete every trashed table the caller manages.

Responses
200Successful Response
DELETE /tables/trash
1curl -X DELETE "http://localhost:8000/tables/trash"
1fetch("http://localhost:8000/tables/trash", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/tables/trash")
4print(response.json())
200 Example Response
No Body
DELETE /tables/trash/:table_id undocumented

/tables/trash/:table_id

DELETE /tables/trash/:table_id, permanently delete a trashed table.

Parameters
table_id string · path
required
Responses
200Successful Response
DELETE /tables/trash/example
1curl -X DELETE "http://localhost:8000/tables/trash/example"
1fetch("http://localhost:8000/tables/trash/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/tables/trash/example")
4print(response.json())
200 Example Response
No Body
DELETE /tables/:table_id undocumented

/tables/:table_id

DELETE /tables/:table_id, move a table to the trash. Grants stay so it can be restored.

Parameters
table_id string · path
required
Responses
200Successful Response
DELETE /tables/example
1curl -X DELETE "http://localhost:8000/tables/example"
1fetch("http://localhost:8000/tables/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/tables/example")
4print(response.json())
200 Example Response
No Body
DELETE /tables/:table_id/sheets/:sheet_id undocumented

/tables/:table_id/sheets/:sheet_id

DELETE /tables/:table_id/sheets/:sheet_id: remove one sheet.

Parameters
table_id string · path
required
sheet_id string · path
required
Responses
200Successful Response
DELETE /tables/example/sheets/example
1curl -X DELETE "http://localhost:8000/tables/example/sheets/example"
1fetch("http://localhost:8000/tables/example/sheets/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/tables/example/sheets/example")
4print(response.json())
200 Example Response
No Body
GET /tables undocumented

/tables

GET /tables: the tables the caller can open, by home tab (scope) and title (q), last edited first.

Responses
200Successful Response
GET /tables
1curl "http://localhost:8000/tables"
1fetch("http://localhost:8000/tables")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/tables")
4print(response.json())
200 Example Response
No Body
GET /tables/trash undocumented

/tables/trash

GET /tables/trash, the trashed tables the caller may restore.

Responses
200Successful Response
GET /tables/trash
1curl "http://localhost:8000/tables/trash"
1fetch("http://localhost:8000/tables/trash")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/tables/trash")
4print(response.json())
200 Example Response
No Body
GET /tables/tallies undocumented

/tables/tallies

GET /tables/tallies: how many workbooks each home tab holds for the caller.

Responses
200Successful Response
GET /tables/tallies
1curl "http://localhost:8000/tables/tallies"
1fetch("http://localhost:8000/tables/tallies")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/tables/tallies")
4print(response.json())
200 Example Response
No Body
GET /tables/:table_id undocumented

/tables/:table_id

GET /tables/:table_id: the table without its sheets, which GET /tables/:table_id/sheets lists.

Parameters
table_id string · path
required
Responses
200Successful Response
GET /tables/example
1curl "http://localhost:8000/tables/example"
1fetch("http://localhost:8000/tables/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/tables/example")
4print(response.json())
200 Example Response
No Body
GET /tables/:table_id/sheets undocumented

/tables/:table_id/sheets

GET /tables/:table_id/sheets: the workbook's tabs in order, with the open room's latest edits.

Parameters
table_id string · path
required
Responses
200Successful Response
GET /tables/example/sheets
1curl "http://localhost:8000/tables/example/sheets"
1fetch("http://localhost:8000/tables/example/sheets")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/tables/example/sheets")
4print(response.json())
200 Example Response
No Body
GET /tables/:table_id/versions undocumented

/tables/:table_id/versions

GET /tables/:table_id/versions — list version history.

Parameters
table_id string · path
required
Responses
200Successful Response
GET /tables/example/versions
1curl "http://localhost:8000/tables/example/versions"
1fetch("http://localhost:8000/tables/example/versions")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/tables/example/versions")
4print(response.json())
200 Example Response
No Body
GET /tables/:table_id/exports/:format undocumented

/tables/:table_id/exports/:format

GET /tables/:table_id/exports/:format: the workbook as an .xlsx or .ods download.

Parameters
table_id string · path
required
format string · path
required
Responses
200Successful Response
GET /tables/example/exports/example
1curl "http://localhost:8000/tables/example/exports/example"
1fetch("http://localhost:8000/tables/example/exports/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/tables/example/exports/example")
4print(response.json())
200 Example Response
No Body
GET /tables/:table_id/presence undocumented

/tables/:table_id/presence

GET /tables/:table_id/presence — get active collaborators.

Parameters
table_id string · path
required
Responses
200Successful Response
GET /tables/example/presence
1curl "http://localhost:8000/tables/example/presence"
1fetch("http://localhost:8000/tables/example/presence")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/tables/example/presence")
4print(response.json())
200 Example Response
No Body
PATCH /tables/:table_id

Update a table

PATCH /tables/:table_id — update table title, icon, or data.

Parameters
table_id string · path
required
Body · UpdateTableapplication/json
title string · min length: 1 · max length: 500
icon string · max length: 100
icon_type
data string
visibility
deleted
propertyName anything
Responses
200Successful Response
PATCH /tables/example
1curl -X PATCH "http://localhost:8000/tables/example" \
2 -H "Content-Type: application/json" \
3 -d '{"title":"string","icon":"string","icon_type":"emoji","data":"string","visibility":"private","deleted":{}}'
1fetch("http://localhost:8000/tables/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "title": "string",
6 "icon": "string",
7 "icon_type": "emoji",
8 "data": "string",
9 "visibility": "private",
10 "deleted": {}
11}),
12})
13 .then((res) => res.json())
14 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/tables/example",
5 json={"title":"string","icon":"string","icon_type":"emoji","data":"string","visibility":"private","deleted":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /tables

Create a table

POST /tables: create a new table.

Body · CreateTableapplication/json
title string · min length: 1 · max length: 500
icon string · max length: 100
icon_type
data string
propertyName anything
Responses
200Successful Response
POST /tables
1curl -X POST "http://localhost:8000/tables" \
2 -H "Content-Type: application/json" \
3 -d '{"title":"string","icon":"string","icon_type":"emoji","data":"string"}'
1fetch("http://localhost:8000/tables", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "title": "string",
6 "icon": "string",
7 "icon_type": "emoji",
8 "data": "string"
9}),
10})
11 .then((res) => res.json())
12 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/tables",
5 json={"title":"string","icon":"string","icon_type":"emoji","data":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /tables/imports

Import a spreadsheet as a new table

POST /tables/imports: turn a spreadsheet uploaded into the Tables namespace into a new table.

Body · ImportTableapplication/json
key string · min length: 1 · max length: 1024
required
filename string · max length: 255
propertyName anything
Responses
200Successful Response
POST /tables/imports
1curl -X POST "http://localhost:8000/tables/imports" \
2 -H "Content-Type: application/json" \
3 -d '{"key":"string","filename":"string"}'
1fetch("http://localhost:8000/tables/imports", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "key": "string",
6 "filename": "string"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/tables/imports",
5 json={"key":"string","filename":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /tables/:table_id/copies

Make a copy of a table

POST /tables/:table_id/copies: a new table of the caller's own holding everything this one holds.

Parameters
table_id string · path
required
Body · CopyTableapplication/json
title string · min length: 1 · max length: 500
propertyName anything
Responses
200Successful Response
POST /tables/example/copies
1curl -X POST "http://localhost:8000/tables/example/copies" \
2 -H "Content-Type: application/json" \
3 -d '{"title":"string"}'
1fetch("http://localhost:8000/tables/example/copies", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "title": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/tables/example/copies",
5 json={"title":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /tables/:table_id/exports

Save a copy of a table to Files

POST /tables/:table_id/exports: save an .xlsx, .ods, .csv or zipped .csv copy into the caller's Files. CSV holds computed values, which only the browser has, so it arrives as an upload under key.

Parameters
table_id string · path
required
Body · SaveExportapplication/json
format
required
target
required
folder_id string · max length: 64
on_clash
replaces_file_id string · max length: 64
propertyName anything
Responses
200Successful Response
POST /tables/example/exports
1curl -X POST "http://localhost:8000/tables/example/exports" \
2 -H "Content-Type: application/json" \
3 -d '{"format":"docx","target":"files","folder_id":"string","on_clash":"replace","replaces_file_id":"string"}'
1fetch("http://localhost:8000/tables/example/exports", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "format": "docx",
6 "target": "files",
7 "folder_id": "string",
8 "on_clash": "replace",
9 "replaces_file_id": "string"
10}),
11})
12 .then((res) => res.json())
13 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/tables/example/exports",
5 json={"format":"docx","target":"files","folder_id":"string","on_clash":"replace","replaces_file_id":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /tables/:table_id/sheets/:sheet_id

Create or update a sheet

PUT /tables/:table_id/sheets/:sheet_id: create or update one sheet.

Parameters
table_id string · path
required
sheet_id string · path
required
Body · UpsertSheetapplication/json
name string · min length: 1 · max length: 200
position integer · min: 0 · max: 500
doc string
propertyName anything
Responses
200Successful Response
PUT /tables/example/sheets/example
1curl -X PUT "http://localhost:8000/tables/example/sheets/example" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","position":1,"doc":"string"}'
1fetch("http://localhost:8000/tables/example/sheets/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "position": 1,
7 "doc": "string"
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/tables/example/sheets/example",
5 json={"name":"string","position":1,"doc":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /tables/:table_id/presence undocumented

/tables/:table_id/presence

PUT /tables/:table_id/presence — update cursor position.

Parameters
table_id string · path
required
Responses
200Successful Response
PUT /tables/example/presence
1curl -X PUT "http://localhost:8000/tables/example/presence"
1fetch("http://localhost:8000/tables/example/presence", { method: "PUT" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.put("http://localhost:8000/tables/example/presence")
4print(response.json())
200 Example Response
No Body
GET /target-logs undocumented

/target-logs

Manual logs for To verify: the ones you may decide and your own, one tab at a time, with every tab's count.

Responses
200Successful Response
GET /target-logs
1curl "http://localhost:8000/target-logs"
1fetch("http://localhost:8000/target-logs")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/target-logs")
4print(response.json())
200 Example Response
No Body
DELETE /targets/:target_id undocumented

/targets/:target_id

Parameters
target_id string · path
required
Responses
200Successful Response
DELETE /targets/example
1curl -X DELETE "http://localhost:8000/targets/example"
1fetch("http://localhost:8000/targets/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/targets/example")
4print(response.json())
200 Example Response
No Body
GET /targets undocumented

/targets

Responses
200Successful Response
GET /targets
1curl "http://localhost:8000/targets"
1fetch("http://localhost:8000/targets")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/targets")
4print(response.json())
200 Example Response
No Body
GET /targets/leaderboard undocumented

/targets/leaderboard

Responses
200Successful Response
GET /targets/leaderboard
1curl "http://localhost:8000/targets/leaderboard"
1fetch("http://localhost:8000/targets/leaderboard")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/targets/leaderboard")
4print(response.json())
200 Example Response
No Body
GET /targets/board undocumented

/targets/board

GET /targets/board: the target cards for the workspace, a pipeline or an owner, and the workspace leaderboard.

Responses
200Successful Response
GET /targets/board
1curl "http://localhost:8000/targets/board"
1fetch("http://localhost:8000/targets/board")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/targets/board")
4print(response.json())
200 Example Response
No Body
GET /targets/:target_id undocumented

/targets/:target_id

GET /targets/:target_id: a target as its page reads it, with its pace, what counted and its details.

Parameters
target_id string · path
required
Responses
200Successful Response
GET /targets/example
1curl "http://localhost:8000/targets/example"
1fetch("http://localhost:8000/targets/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/targets/example")
4print(response.json())
200 Example Response
No Body
PATCH /target-logs/:log_id

Approve or decline a manual log

Approve a manual log, adding it to every active target it waits on, or decline it with a reason.

Parameters
log_id string · path
required
Body · UpdateTargetLogapplication/json
status
required
reason string · max length: 500
propertyName anything
Responses
200Successful Response
PATCH /target-logs/example
1curl -X PATCH "http://localhost:8000/target-logs/example" \
2 -H "Content-Type: application/json" \
3 -d '{"status":"approved","reason":"string"}'
1fetch("http://localhost:8000/target-logs/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "status": "approved",
6 "reason": "string"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/target-logs/example",
5 json={"status":"approved","reason":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /targets

Create a target

Body · CreateTargetapplication/json
type
required
owner_mrn string
required
pipeline_id string
period
required
period_start string
required
period_end string
required
target_value number
required
currency string · min length: 3 · max length: 3
verifier_mrns array
propertyName anything
Responses
200Successful Response
POST /targets
1curl -X POST "http://localhost:8000/targets" \
2 -H "Content-Type: application/json" \
3 -d '{"type":"revenue","owner_mrn":"string","pipeline_id":"string","period":"week","period_start":"string","period_end":"string","target_value":1.5,"currency":"string","verifier_mrns":["string"]}'
1fetch("http://localhost:8000/targets", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "type": "revenue",
6 "owner_mrn": "string",
7 "pipeline_id": "string",
8 "period": "week",
9 "period_start": "string",
10 "period_end": "string",
11 "target_value": 1.5,
12 "currency": "string",
13 "verifier_mrns": [
14 "string"
15 ]
16}),
17})
18 .then((res) => res.json())
19 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/targets",
5 json={"type":"revenue","owner_mrn":"string","pipeline_id":"string","period":"week","period_start":"string","period_end":"string","target_value":1.5,"currency":"string","verifier_mrns":["string"]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /targets/:target_id

Update a target

Parameters
target_id string · path
required
Body · UpdateTargetapplication/json
type
owner_mrn string
period
period_start string
period_end string
target_value number
currency string · min length: 3 · max length: 3
status
verifier_mrns array
propertyName anything
Responses
200Successful Response
PUT /targets/example
1curl -X PUT "http://localhost:8000/targets/example" \
2 -H "Content-Type: application/json" \
3 -d '{"type":"revenue","owner_mrn":"string","period":"week","period_start":"string","period_end":"string","target_value":1.5,"currency":"string","status":"active","verifier_mrns":["string"]}'
1fetch("http://localhost:8000/targets/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "type": "revenue",
6 "owner_mrn": "string",
7 "period": "week",
8 "period_start": "string",
9 "period_end": "string",
10 "target_value": 1.5,
11 "currency": "string",
12 "status": "active",
13 "verifier_mrns": [
14 "string"
15 ]
16}),
17})
18 .then((res) => res.json())
19 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/targets/example",
5 json={"type":"revenue","owner_mrn":"string","period":"week","period_start":"string","period_end":"string","target_value":1.5,"currency":"string","status":"active","verifier_mrns":["string"]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /counting-rules

Set whether manual logs can count

Counting rules: whether manual logs can count. Every activity target is announced again with the change.

Body · UpdateCountingRulesapplication/json
manual_logs
propertyName anything
Responses
200Successful Response
PUT /counting-rules
1curl -X PUT "http://localhost:8000/counting-rules" \
2 -H "Content-Type: application/json" \
3 -d '{"manual_logs":{}}'
1fetch("http://localhost:8000/counting-rules", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "manual_logs": {}
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/counting-rules",
5 json={"manual_logs":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
DELETE /tasks/:task_id undocumented

/tasks/:task_id

Parameters
task_id string · path
required
Responses
200Successful Response
DELETE /tasks/example
1curl -X DELETE "http://localhost:8000/tasks/example"
1fetch("http://localhost:8000/tasks/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/tasks/example")
4print(response.json())
200 Example Response
No Body
DELETE /tasks

Delete tasks in bulk

Delete multiple tasks by ID.

Body · BulkDeleteTasksapplication/json
task_ids array
required
propertyName anything
Responses
200Successful Response
DELETE /tasks
1curl -X DELETE "http://localhost:8000/tasks" \
2 -H "Content-Type: application/json" \
3 -d '{"task_ids":["string"]}'
1fetch("http://localhost:8000/tasks", {
2 method: "DELETE",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "task_ids": [
6 "string"
7 ]
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.delete(
4 "http://localhost:8000/tasks",
5 json={"task_ids":["string"]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
DELETE /tasks/:task_id/repeat undocumented

/tasks/:task_id/repeat

DELETE /tasks/:task_id/repeat: stop repeating; copies already made stay.

Parameters
task_id string · path
required
Responses
200Successful Response
DELETE /tasks/example/repeat
1curl -X DELETE "http://localhost:8000/tasks/example/repeat"
1fetch("http://localhost:8000/tasks/example/repeat", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/tasks/example/repeat")
4print(response.json())
200 Example Response
No Body
DELETE /tasks/:task_id/links/:link_id undocumented

/tasks/:task_id/links/:link_id

Parameters
task_id string · path
required
link_id string · path
required
Responses
200Successful Response
DELETE /tasks/example/links/example
1curl -X DELETE "http://localhost:8000/tasks/example/links/example"
1fetch("http://localhost:8000/tasks/example/links/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/tasks/example/links/example")
4print(response.json())
200 Example Response
No Body
GET /tasks undocumented

/tasks

Responses
200Successful Response
GET /tasks
1curl "http://localhost:8000/tasks"
1fetch("http://localhost:8000/tasks")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/tasks")
4print(response.json())
200 Example Response
No Body
GET /tasks/:task_id undocumented

/tasks/:task_id

GET /tasks/:task_id: one task with its people, schedule, deliverable and comments.

Parameters
task_id string · path
required
Responses
200Successful Response
GET /tasks/example
1curl "http://localhost:8000/tasks/example"
1fetch("http://localhost:8000/tasks/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/tasks/example")
4print(response.json())
200 Example Response
No Body
GET /tasks/:task_id/links undocumented

/tasks/:task_id/links

GET /tasks/:task_id/links: the tasks this one blocks, is blocked by, relates to or duplicates.

Parameters
task_id string · path
required
Responses
200Successful Response
GET /tasks/example/links
1curl "http://localhost:8000/tasks/example/links"
1fetch("http://localhost:8000/tasks/example/links")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/tasks/example/links")
4print(response.json())
200 Example Response
No Body
GET /tasks/:task_id/activity undocumented

/tasks/:task_id/activity

GET /tasks/:task_id/activity: every change to the task, newest first.

Parameters
task_id string · path
required
Responses
200Successful Response
GET /tasks/example/activity
1curl "http://localhost:8000/tasks/example/activity"
1fetch("http://localhost:8000/tasks/example/activity")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/tasks/example/activity")
4print(response.json())
200 Example Response
No Body
PATCH /tasks/:task_id

Update a task

Parameters
task_id string · path
required
Body · UpdateTaskapplication/json
title string · min length: 1 · max length: 200
description string · max length: 50000
column_name string · min length: 1
assignee_mrn string
reporter_mrn string
reviewer_mrn string
priority
topic_id string
due_date string
start_date string
estimate_hours
logged_hours
wiki string · max length: 200000
blocked_by string
position
schedule_id string
deliverable_id string
parent_id string
size integer · min: 1
on_board
completed
labels array
attachments array
watchers array
add_comment object
fields array
propertyName anything
Responses
200Successful Response
PATCH /tasks/example
1curl -X PATCH "http://localhost:8000/tasks/example" \
2 -H "Content-Type: application/json" \
3 -d '{"title":"string","description":"string","column_name":"string","assignee_mrn":"string","reporter_mrn":"string","reviewer_mrn":"string","priority":"low","topic_id":"string","due_date":"string","start_date":"string","estimate_hours":1.5,"logged_hours":1.5,"wiki":"string","blocked_by":"string","position":1,"schedule_id":"string","deliverable_id":"string","parent_id":"string","size":1,"on_board":{},"completed":{},"labels":["string"],"attachments":[{"key":"string","url":"string","mrn":"string","filename":"string","content_type":"string","size":1}],"watchers":["string"],"add_comment":{"text":"string"},"fields":[{"field_id":"string","value":"string"}]}'
1fetch("http://localhost:8000/tasks/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "title": "string",
6 "description": "string",
7 "column_name": "string",
8 "assignee_mrn": "string",
9 "reporter_mrn": "string",
10 "reviewer_mrn": "string",
11 "priority": "low",
12 "topic_id": "string",
13 "due_date": "string",
14 "start_date": "string",
15 "estimate_hours": 1.5,
16 "logged_hours": 1.5,
17 "wiki": "string",
18 "blocked_by": "string",
19 "position": 1,
20 "schedule_id": "string",
21 "deliverable_id": "string",
22 "parent_id": "string",
23 "size": 1,
24 "on_board": {},
25 "completed": {},
26 "labels": [
27 "string"
28 ],
29 "attachments": [
30 {
31 "key": "string",
32 "url": "string",
33 "mrn": "string",
34 "filename": "string",
35 "content_type": "string",
36 "size": 1
37 }
38 ],
39 "watchers": [
40 "string"
41 ],
42 "add_comment": {
43 "text": "string"
44 },
45 "fields": [
46 {
47 "field_id": "string",
48 "value": "string"
49 }
50 ]
51}),
52})
53 .then((res) => res.json())
54 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/tasks/example",
5 json={"title":"string","description":"string","column_name":"string","assignee_mrn":"string","reporter_mrn":"string","reviewer_mrn":"string","priority":"low","topic_id":"string","due_date":"string","start_date":"string","estimate_hours":1.5,"logged_hours":1.5,"wiki":"string","blocked_by":"string","position":1,"schedule_id":"string","deliverable_id":"string","parent_id":"string","size":1,"on_board":{},"completed":{},"labels":["string"],"attachments":[{"key":"string","url":"string","mrn":"string","filename":"string","content_type":"string","size":1}],"watchers":["string"],"add_comment":{"text":"string"},"fields":[{"field_id":"string","value":"string"}]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /tasks

Move tasks to another project

PATCH /tasks: move tasks to another board, each under that board's next key. Subtasks travel with their parent; sprint, deliverable and topic stay behind.

Body · TransferTasksapplication/json
task_ids array
required
board_id string · min length: 1
required
columns array
propertyName anything
Responses
200Successful Response
PATCH /tasks
1curl -X PATCH "http://localhost:8000/tasks" \
2 -H "Content-Type: application/json" \
3 -d '{"task_ids":["string"],"board_id":"string","columns":[{"source":"string","target":"string"}]}'
1fetch("http://localhost:8000/tasks", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "task_ids": [
6 "string"
7 ],
8 "board_id": "string",
9 "columns": [
10 {
11 "source": "string",
12 "target": "string"
13 }
14 ]
15}),
16})
17 .then((res) => res.json())
18 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/tasks",
5 json={"task_ids":["string"],"board_id":"string","columns":[{"source":"string","target":"string"}]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /tasks/:task_id/repeat

Pause or resume a task's repeat

PATCH /tasks/:task_id/repeat: pause or resume a task's repeat.

Parameters
task_id string · path
required
Body · SwitchRepeatapplication/json
enabled
required
propertyName anything
Responses
200Successful Response
PATCH /tasks/example/repeat
1curl -X PATCH "http://localhost:8000/tasks/example/repeat" \
2 -H "Content-Type: application/json" \
3 -d '{"enabled":{}}'
1fetch("http://localhost:8000/tasks/example/repeat", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "enabled": {}
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/tasks/example/repeat",
5 json={"enabled":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /tasks

Create a task

Body · CreateTaskapplication/json
title string · min length: 1 · max length: 200
required
board_id string
required
column_name string · min length: 1
parent_id string
on_board
priority
description string · max length: 10000
topic_id string
labels array
attachments array
assignee_mrn string
schedule_id string
due_date string
size integer · min: 1
source_mrn string
propertyName anything
Responses
200Successful Response
POST /tasks
1curl -X POST "http://localhost:8000/tasks" \
2 -H "Content-Type: application/json" \
3 -d '{"title":"string","board_id":"string","column_name":"string","parent_id":"string","on_board":{},"priority":"low","description":"string","topic_id":"string","labels":["string"],"attachments":[{"key":"string","url":"string","mrn":"string","filename":"string","content_type":"string","size":1}],"assignee_mrn":"string","schedule_id":"string","due_date":"string","size":1,"source_mrn":"string"}'
1fetch("http://localhost:8000/tasks", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "title": "string",
6 "board_id": "string",
7 "column_name": "string",
8 "parent_id": "string",
9 "on_board": {},
10 "priority": "low",
11 "description": "string",
12 "topic_id": "string",
13 "labels": [
14 "string"
15 ],
16 "attachments": [
17 {
18 "key": "string",
19 "url": "string",
20 "mrn": "string",
21 "filename": "string",
22 "content_type": "string",
23 "size": 1
24 }
25 ],
26 "assignee_mrn": "string",
27 "schedule_id": "string",
28 "due_date": "string",
29 "size": 1,
30 "source_mrn": "string"
31}),
32})
33 .then((res) => res.json())
34 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/tasks",
5 json={"title":"string","board_id":"string","column_name":"string","parent_id":"string","on_board":{},"priority":"low","description":"string","topic_id":"string","labels":["string"],"attachments":[{"key":"string","url":"string","mrn":"string","filename":"string","content_type":"string","size":1}],"assignee_mrn":"string","schedule_id":"string","due_date":"string","size":1,"source_mrn":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /tasks/:task_id/subtask-suggestions undocumented

/tasks/:task_id/subtask-suggestions

POST /tasks/:task_id/subtask-suggestions: Saasie proposes subtasks from the task's own words.

Parameters
task_id string · path
required
Responses
200Successful Response
POST /tasks/example/subtask-suggestions
1curl -X POST "http://localhost:8000/tasks/example/subtask-suggestions"
1fetch("http://localhost:8000/tasks/example/subtask-suggestions", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/tasks/example/subtask-suggestions")
4print(response.json())
200 Example Response
No Body
POST /tasks/:task_id/links

Link two tasks

POST /tasks/:task_id/links — relate this task to another (blocks/relates/duplicates).

Parameters
task_id string · path
required
Body · CreateTaskLinkapplication/json
to_task_id string · min length: 1
required
kind
required
propertyName anything
Responses
200Successful Response
POST /tasks/example/links
1curl -X POST "http://localhost:8000/tasks/example/links" \
2 -H "Content-Type: application/json" \
3 -d '{"to_task_id":"string","kind":"blocks"}'
1fetch("http://localhost:8000/tasks/example/links", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "to_task_id": "string",
6 "kind": "blocks"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/tasks/example/links",
5 json={"to_task_id":"string","kind":"blocks"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /tasks/:task_id/occurrences

Make the next copy of a repeating task

POST /tasks/:task_id/occurrences: make the next copy of a repeating task, once per scheduled slot.

Parameters
task_id string · path
required
Body · CreateOccurrenceapplication/json
slot string
propertyName anything
Responses
200Successful Response
POST /tasks/example/occurrences
1curl -X POST "http://localhost:8000/tasks/example/occurrences" \
2 -H "Content-Type: application/json" \
3 -d '{"slot":"string"}'
1fetch("http://localhost:8000/tasks/example/occurrences", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "slot": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/tasks/example/occurrences",
5 json={"slot":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /repeat-previews

Preview when calendar rules repeat

POST /repeat-previews: the next time each calendar rule would make a copy, for the Repeat menu.

Body · RepeatPreviewsapplication/json
rules array
required
tz string · max length: 64
propertyName anything
Responses
200Successful Response
POST /repeat-previews
1curl -X POST "http://localhost:8000/repeat-previews" \
2 -H "Content-Type: application/json" \
3 -d '{"rules":[{"rule":"string","starts_at":"string"}],"tz":"string"}'
1fetch("http://localhost:8000/repeat-previews", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "rules": [
6 {
7 "rule": "string",
8 "starts_at": "string"
9 }
10 ],
11 "tz": "string"
12}),
13})
14 .then((res) => res.json())
15 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/repeat-previews",
5 json={"rules":[{"rule":"string","starts_at":"string"}],"tz":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /tasks/:task_id/repeat

Repeat a task by a calendar rule

PUT /tasks/:task_id/repeat: repeat this task by a calendar rule; Wands makes each copy on time.

Parameters
task_id string · path
required
Body · SetRepeatapplication/json
rule string · min length: 1 · max length: 500
required
starts_at string
tz string · max length: 64
propertyName anything
Responses
200Successful Response
PUT /tasks/example/repeat
1curl -X PUT "http://localhost:8000/tasks/example/repeat" \
2 -H "Content-Type: application/json" \
3 -d '{"rule":"string","starts_at":"string","tz":"string"}'
1fetch("http://localhost:8000/tasks/example/repeat", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "rule": "string",
6 "starts_at": "string",
7 "tz": "string"
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/tasks/example/repeat",
5 json={"rule":"string","starts_at":"string","tz":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /sign/templates

Create a reusable template

POST /sign/templates — create a reusable template.

Body · CreateEnvelopeapplication/json
title string · min length: 1 · max length: 300
required
subject string · max length: 300
message string · max length: 2000
template_id string
signing_order_mode
jurisdiction string · max length: 10
is_template
source_mrn string · max length: 200
propertyName anything
Responses
200Successful Response
POST /sign/templates
1curl -X POST "http://localhost:8000/sign/templates" \
2 -H "Content-Type: application/json" \
3 -d '{"title":"string","subject":"string","message":"string","template_id":"string","signing_order_mode":"parallel","jurisdiction":"string","is_template":{},"source_mrn":"string"}'
1fetch("http://localhost:8000/sign/templates", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "title": "string",
6 "subject": "string",
7 "message": "string",
8 "template_id": "string",
9 "signing_order_mode": "parallel",
10 "jurisdiction": "string",
11 "is_template": {},
12 "source_mrn": "string"
13}),
14})
15 .then((res) => res.json())
16 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/sign/templates",
5 json={"title":"string","subject":"string","message":"string","template_id":"string","signing_order_mode":"parallel","jurisdiction":"string","is_template":{},"source_mrn":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /sign/templates/:envelope_id/links

Publish the template as a self-serve link

POST /sign/templates/:envelope_id/links {expires_at?, max_submissions?} — publish the template as a URL anyone can open. Single-role templates only: the visitor fills that one role; multi-party agreements go through send.

Parameters
envelope_id string · path
required
Body · CreatePublicLinkapplication/json
expires_at string
max_submissions integer
propertyName anything
Responses
200Successful Response
POST /sign/templates/example/links
1curl -X POST "http://localhost:8000/sign/templates/example/links" \
2 -H "Content-Type: application/json" \
3 -d '{"expires_at":"string","max_submissions":1}'
1fetch("http://localhost:8000/sign/templates/example/links", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "expires_at": "string",
6 "max_submissions": 1
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/sign/templates/example/links",
5 json={"expires_at":"string","max_submissions":1},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
DELETE /ticket-groups/:group_key undocumented

/ticket-groups/:group_key

DELETE /ticket-groups/:group_key: its tickets keep whoever has them, the waiting ones go back to the queue, and its rules turn off.

Parameters
group_key string · path
required
Responses
200Successful Response
DELETE /ticket-groups/example
1curl -X DELETE "http://localhost:8000/ticket-groups/example"
1fetch("http://localhost:8000/ticket-groups/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/ticket-groups/example")
4print(response.json())
200 Example Response
No Body
GET /ticket-groups undocumented

/ticket-groups

GET /ticket-groups: every group with its people, how it hands out, what is waiting in it and the rules that fill it.

Responses
200Successful Response
GET /ticket-groups
1curl "http://localhost:8000/ticket-groups"
1fetch("http://localhost:8000/ticket-groups")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/ticket-groups")
4print(response.json())
200 Example Response
No Body
DELETE /ticket-rules/:rule_id undocumented

/ticket-rules/:rule_id

DELETE /ticket-rules/:rule_id: it stops at once, and the tickets it already changed stay as they are.

Parameters
rule_id string · path
required
Responses
200Successful Response
DELETE /ticket-rules/example
1curl -X DELETE "http://localhost:8000/ticket-rules/example"
1fetch("http://localhost:8000/ticket-rules/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/ticket-rules/example")
4print(response.json())
200 Example Response
No Body
GET /ticket-rules undocumented

/ticket-rules

GET /ticket-rules: every rule in the order it runs, what it did this week, the room left in each trigger's spell, and the lists its conditions and actions pick from.

Responses
200Successful Response
GET /ticket-rules
1curl "http://localhost:8000/ticket-rules"
1fetch("http://localhost:8000/ticket-rules")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/ticket-rules")
4print(response.json())
200 Example Response
No Body
GET /ticket-rules/samples undocumented

/ticket-rules/samples

GET /ticket-rules/samples: the latest tickets a rule is tested on, each as the event a rule set hears.

Responses
200Successful Response
GET /ticket-rules/samples
1curl "http://localhost:8000/ticket-rules/samples"
1fetch("http://localhost:8000/ticket-rules/samples")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/ticket-rules/samples")
4print(response.json())
200 Example Response
No Body
GET /ticket-rules/allowance undocumented

/ticket-rules/allowance

GET /ticket-rules/allowance: this month's automation runs, so every Connect screen can say when rules are paused.

Responses
200Successful Response
GET /ticket-rules/allowance
1curl "http://localhost:8000/ticket-rules/allowance"
1fetch("http://localhost:8000/ticket-rules/allowance")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/ticket-rules/allowance")
4print(response.json())
200 Example Response
No Body
GET /ticket-rules/:rule_id/runs undocumented

/ticket-rules/:rule_id/runs

GET /ticket-rules/:rule_id/runs: what the rule did to each ticket over the last 90 days, or only what did not finish.

Parameters
rule_id string · path
required
Responses
200Successful Response
GET /ticket-rules/example/runs
1curl "http://localhost:8000/ticket-rules/example/runs"
1fetch("http://localhost:8000/ticket-rules/example/runs")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/ticket-rules/example/runs")
4print(response.json())
200 Example Response
No Body
GET /ticket-statuses undocumented

/ticket-statuses

GET /ticket-statuses: every status in its group, how many tickets are in each and how long they stay.

Responses
200Successful Response
GET /ticket-statuses
1curl "http://localhost:8000/ticket-statuses"
1fetch("http://localhost:8000/ticket-statuses")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/ticket-statuses")
4print(response.json())
200 Example Response
No Body
DELETE /ticket-types/:type_key undocumented

/ticket-types/:type_key

DELETE /ticket-types/:type_key: its tickets keep their details and lose the type, and its rules turn off.

Parameters
type_key string · path
required
Responses
200Successful Response
DELETE /ticket-types/example
1curl -X DELETE "http://localhost:8000/ticket-types/example"
1fetch("http://localhost:8000/ticket-types/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/ticket-types/example")
4print(response.json())
200 Example Response
No Body
GET /ticket-types undocumented

/ticket-types

GET /ticket-types: every type with its details, its last 30 days and the rules that use it.

Responses
200Successful Response
GET /ticket-types
1curl "http://localhost:8000/ticket-types"
1fetch("http://localhost:8000/ticket-types")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/ticket-types")
4print(response.json())
200 Example Response
No Body
PATCH /saved-replies/:reply_id

Change a saved reply

PATCH /saved-replies/:reply_id: its title, shortcut, folder, words, who can use it and what else it does.

Parameters
reply_id string · path
required
Body · SavedReplyInapplication/json
title string · max length: 80
body string · max length: 20000
folder string · max length: 60
short string · max length: 25
who
groups array
also array
files array
copy_of string · max length: 60
suggestion string · max length: 20
propertyName anything
Responses
200Successful Response
PATCH /saved-replies/example
1curl -X PATCH "http://localhost:8000/saved-replies/example" \
2 -H "Content-Type: application/json" \
3 -d '{"title":"string","body":"string","folder":"string","short":"string","who":"all","groups":["string"],"also":[{"type":"set_status","value":"string"}],"files":["string"],"copy_of":"string","suggestion":"string"}'
1fetch("http://localhost:8000/saved-replies/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "title": "string",
6 "body": "string",
7 "folder": "string",
8 "short": "string",
9 "who": "all",
10 "groups": [
11 "string"
12 ],
13 "also": [
14 {
15 "type": "set_status",
16 "value": "string"
17 }
18 ],
19 "files": [
20 "string"
21 ],
22 "copy_of": "string",
23 "suggestion": "string"
24}),
25})
26 .then((res) => res.json())
27 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/saved-replies/example",
5 json={"title":"string","body":"string","folder":"string","short":"string","who":"all","groups":["string"],"also":[{"type":"set_status","value":"string"}],"files":["string"],"copy_of":"string","suggestion":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /ticket-types/:type_key

Change a ticket type

PATCH /ticket-types/:type_key: its name, what it covers, who can pick it and the details it asks for.

Parameters
type_key string · path
required
Body · TicketTypeInapplication/json
label string · max length: 40
desc string · max length: 120
icon string · max length: 40
cust
fields array
copy_of string · max length: 40
usual
propertyName anything
Responses
200Successful Response
PATCH /ticket-types/example
1curl -X PATCH "http://localhost:8000/ticket-types/example" \
2 -H "Content-Type: application/json" \
3 -d '{"label":"string","desc":"string","icon":"string","cust":{},"fields":[{"key":"string","label":"string","kind":"text","options":["string"],"cust":{},"need":{}}],"copy_of":"string","usual":{}}'
1fetch("http://localhost:8000/ticket-types/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "label": "string",
6 "desc": "string",
7 "icon": "string",
8 "cust": {},
9 "fields": [
10 {
11 "key": "string",
12 "label": "string",
13 "kind": "text",
14 "options": [
15 "string"
16 ],
17 "cust": {},
18 "need": {}
19 }
20 ],
21 "copy_of": "string",
22 "usual": {}
23}),
24})
25 .then((res) => res.json())
26 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/ticket-types/example",
5 json={"label":"string","desc":"string","icon":"string","cust":{},"fields":[{"key":"string","label":"string","kind":"text","options":["string"],"cust":{},"need":{}}],"copy_of":"string","usual":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /ticket-groups/:group_key

Change a group, its people or how it hands out

PATCH /ticket-groups/:group_key: its name, its people and lead, how it hands out, and the waiting alert.

Parameters
group_key string · path
required
Body · TicketGroupInapplication/json
label string · max length: 40
desc string · max length: 120
icon string · max length: 40
members array
lead string · max length: 80
assign
cap_on
cap integer
leave
online
wait_on
wait_min integer
copy_of string · max length: 40
propertyName anything
Responses
200Successful Response
PATCH /ticket-groups/example
1curl -X PATCH "http://localhost:8000/ticket-groups/example" \
2 -H "Content-Type: application/json" \
3 -d '{"label":"string","desc":"string","icon":"string","members":["string"],"lead":"string","assign":"least_busy","cap_on":{},"cap":1,"leave":{},"online":{},"wait_on":{},"wait_min":1,"copy_of":"string"}'
1fetch("http://localhost:8000/ticket-groups/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "label": "string",
6 "desc": "string",
7 "icon": "string",
8 "members": [
9 "string"
10 ],
11 "lead": "string",
12 "assign": "least_busy",
13 "cap_on": {},
14 "cap": 1,
15 "leave": {},
16 "online": {},
17 "wait_on": {},
18 "wait_min": 1,
19 "copy_of": "string"
20}),
21})
22 .then((res) => res.json())
23 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/ticket-groups/example",
5 json={"label":"string","desc":"string","icon":"string","members":["string"],"lead":"string","assign":"least_busy","cap_on":{},"cap":1,"leave":{},"online":{},"wait_on":{},"wait_min":1,"copy_of":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /ticket-rules/:rule_id

Change a rule, turn it on or off, or move it

PATCH /ticket-rules/:rule_id: what it looks at and does, on or off, when it runs, and where it sits in the order.

Parameters
rule_id string · path
required
Body · TicketRuleInapplication/json
id string · max length: 60
name string · max length: 80
enabled
trigger
match
conditions array
actions array
stop
position integer
copy_of string · max length: 60
propertyName anything
Responses
200Successful Response
PATCH /ticket-rules/example
1curl -X PATCH "http://localhost:8000/ticket-rules/example" \
2 -H "Content-Type: application/json" \
3 -d '{"id":"string","name":"string","enabled":{},"trigger":"created","match":"all","conditions":[{"field":"channel","op":"is","value":"string"}],"actions":[{"type":"assign","value":"string"}],"stop":{},"position":1,"copy_of":"string"}'
1fetch("http://localhost:8000/ticket-rules/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "id": "string",
6 "name": "string",
7 "enabled": {},
8 "trigger": "created",
9 "match": "all",
10 "conditions": [
11 {
12 "field": "channel",
13 "op": "is",
14 "value": "string"
15 }
16 ],
17 "actions": [
18 {
19 "type": "assign",
20 "value": "string"
21 }
22 ],
23 "stop": {},
24 "position": 1,
25 "copy_of": "string"
26}),
27})
28 .then((res) => res.json())
29 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/ticket-rules/example",
5 json={"id":"string","name":"string","enabled":{},"trigger":"created","match":"all","conditions":[{"field":"channel","op":"is","value":"string"}],"actions":[{"type":"assign","value":"string"}],"stop":{},"position":1,"copy_of":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /saved-replies

Make a saved reply, copy one, or save a suggestion

POST /saved-replies: a new saved reply, a copy of one, or one saved from a suggestion.

Body · SavedReplyInapplication/json
title string · max length: 80
body string · max length: 20000
folder string · max length: 60
short string · max length: 25
who
groups array
also array
files array
copy_of string · max length: 60
suggestion string · max length: 20
propertyName anything
Responses
200Successful Response
POST /saved-replies
1curl -X POST "http://localhost:8000/saved-replies" \
2 -H "Content-Type: application/json" \
3 -d '{"title":"string","body":"string","folder":"string","short":"string","who":"all","groups":["string"],"also":[{"type":"set_status","value":"string"}],"files":["string"],"copy_of":"string","suggestion":"string"}'
1fetch("http://localhost:8000/saved-replies", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "title": "string",
6 "body": "string",
7 "folder": "string",
8 "short": "string",
9 "who": "all",
10 "groups": [
11 "string"
12 ],
13 "also": [
14 {
15 "type": "set_status",
16 "value": "string"
17 }
18 ],
19 "files": [
20 "string"
21 ],
22 "copy_of": "string",
23 "suggestion": "string"
24}),
25})
26 .then((res) => res.json())
27 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/saved-replies",
5 json={"title":"string","body":"string","folder":"string","short":"string","who":"all","groups":["string"],"also":[{"type":"set_status","value":"string"}],"files":["string"],"copy_of":"string","suggestion":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /reply-folders

Make a folder for saved replies

POST /reply-folders: a new folder for saved replies.

Body · ReplyFolderInapplication/json
label string · min length: 1 · max length: 40
required
propertyName anything
Responses
200Successful Response
POST /reply-folders
1curl -X POST "http://localhost:8000/reply-folders" \
2 -H "Content-Type: application/json" \
3 -d '{"label":"string"}'
1fetch("http://localhost:8000/reply-folders", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "label": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/reply-folders",
5 json={"label":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /reply-previews

A saved reply or the auto reply filled in for a recent ticket

POST /reply-previews: a saved reply or the auto reply filled in for one of the latest tickets, and what that ticket would get.

Body · ReplyPreviewInapplication/json
body string · max length: 20000
conversation_id string · max length: 60
kind
settings object
propertyName anything
Responses
200Successful Response
POST /reply-previews
1curl -X POST "http://localhost:8000/reply-previews" \
2 -H "Content-Type: application/json" \
3 -d '{"body":"string","conversation_id":"string","kind":"reply","settings":{"enabled":{},"body":"string","ooh_body":"string","channels":["email"],"recent":"","reopen_skip":{},"segments":["string"]}}'
1fetch("http://localhost:8000/reply-previews", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "body": "string",
6 "conversation_id": "string",
7 "kind": "reply",
8 "settings": {
9 "enabled": {},
10 "body": "string",
11 "ooh_body": "string",
12 "channels": [
13 "email"
14 ],
15 "recent": "",
16 "reopen_skip": {},
17 "segments": [
18 "string"
19 ]
20 }
21}),
22})
23 .then((res) => res.json())
24 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/reply-previews",
5 json={"body":"string","conversation_id":"string","kind":"reply","settings":{"enabled":{},"body":"string","ooh_body":"string","channels":["email"],"recent":"","reopen_skip":{},"segments":["string"]}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /ticket-types

Make a ticket type, copy one, or add the usual four

POST /ticket-types: a new type, a copy of one, or the usual four.

Body · TicketTypeInapplication/json
label string · max length: 40
desc string · max length: 120
icon string · max length: 40
cust
fields array
copy_of string · max length: 40
usual
propertyName anything
Responses
200Successful Response
POST /ticket-types
1curl -X POST "http://localhost:8000/ticket-types" \
2 -H "Content-Type: application/json" \
3 -d '{"label":"string","desc":"string","icon":"string","cust":{},"fields":[{"key":"string","label":"string","kind":"text","options":["string"],"cust":{},"need":{}}],"copy_of":"string","usual":{}}'
1fetch("http://localhost:8000/ticket-types", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "label": "string",
6 "desc": "string",
7 "icon": "string",
8 "cust": {},
9 "fields": [
10 {
11 "key": "string",
12 "label": "string",
13 "kind": "text",
14 "options": [
15 "string"
16 ],
17 "cust": {},
18 "need": {}
19 }
20 ],
21 "copy_of": "string",
22 "usual": {}
23}),
24})
25 .then((res) => res.json())
26 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/ticket-types",
5 json={"label":"string","desc":"string","icon":"string","cust":{},"fields":[{"key":"string","label":"string","kind":"text","options":["string"],"cust":{},"need":{}}],"copy_of":"string","usual":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /ticket-groups/previews

Who a draft group hands its next tickets to

POST /ticket-groups/previews: who the next tickets go to under a draft, and why anyone is passed over.

Body · TicketGroupPreviewInapplication/json
key string · max length: 40
members array
required
assign
cap_on
cap integer
leave
online
propertyName anything
Responses
200Successful Response
POST /ticket-groups/previews
1curl -X POST "http://localhost:8000/ticket-groups/previews" \
2 -H "Content-Type: application/json" \
3 -d '{"key":"string","members":["string"],"assign":"least_busy","cap_on":{},"cap":1,"leave":{},"online":{}}'
1fetch("http://localhost:8000/ticket-groups/previews", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "key": "string",
6 "members": [
7 "string"
8 ],
9 "assign": "least_busy",
10 "cap_on": {},
11 "cap": 1,
12 "leave": {},
13 "online": {}
14}),
15})
16 .then((res) => res.json())
17 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/ticket-groups/previews",
5 json={"key":"string","members":["string"],"assign":"least_busy","cap_on":{},"cap":1,"leave":{},"online":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /ticket-groups

Make a group, or copy one

POST /ticket-groups: a new group, or a copy of one with the same people and the same way of handing out.

Body · TicketGroupInapplication/json
label string · max length: 40
desc string · max length: 120
icon string · max length: 40
members array
lead string · max length: 80
assign
cap_on
cap integer
leave
online
wait_on
wait_min integer
copy_of string · max length: 40
propertyName anything
Responses
200Successful Response
POST /ticket-groups
1curl -X POST "http://localhost:8000/ticket-groups" \
2 -H "Content-Type: application/json" \
3 -d '{"label":"string","desc":"string","icon":"string","members":["string"],"lead":"string","assign":"least_busy","cap_on":{},"cap":1,"leave":{},"online":{},"wait_on":{},"wait_min":1,"copy_of":"string"}'
1fetch("http://localhost:8000/ticket-groups", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "label": "string",
6 "desc": "string",
7 "icon": "string",
8 "members": [
9 "string"
10 ],
11 "lead": "string",
12 "assign": "least_busy",
13 "cap_on": {},
14 "cap": 1,
15 "leave": {},
16 "online": {},
17 "wait_on": {},
18 "wait_min": 1,
19 "copy_of": "string"
20}),
21})
22 .then((res) => res.json())
23 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/ticket-groups",
5 json={"label":"string","desc":"string","icon":"string","members":["string"],"lead":"string","assign":"least_busy","cap_on":{},"cap":1,"leave":{},"online":{},"wait_on":{},"wait_min":1,"copy_of":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /ticket-rules/chains

A draft rule as the chain Wands tests it with

POST /ticket-rules/chains: a draft rule, checked like a saved one, as the chain and event Wands tests it with.

Body · TicketRuleInapplication/json
id string · max length: 60
name string · max length: 80
enabled
trigger
match
conditions array
actions array
stop
position integer
copy_of string · max length: 60
propertyName anything
Responses
200Successful Response
POST /ticket-rules/chains
1curl -X POST "http://localhost:8000/ticket-rules/chains" \
2 -H "Content-Type: application/json" \
3 -d '{"id":"string","name":"string","enabled":{},"trigger":"created","match":"all","conditions":[{"field":"channel","op":"is","value":"string"}],"actions":[{"type":"assign","value":"string"}],"stop":{},"position":1,"copy_of":"string"}'
1fetch("http://localhost:8000/ticket-rules/chains", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "id": "string",
6 "name": "string",
7 "enabled": {},
8 "trigger": "created",
9 "match": "all",
10 "conditions": [
11 {
12 "field": "channel",
13 "op": "is",
14 "value": "string"
15 }
16 ],
17 "actions": [
18 {
19 "type": "assign",
20 "value": "string"
21 }
22 ],
23 "stop": {},
24 "position": 1,
25 "copy_of": "string"
26}),
27})
28 .then((res) => res.json())
29 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/ticket-rules/chains",
5 json={"id":"string","name":"string","enabled":{},"trigger":"created","match":"all","conditions":[{"field":"channel","op":"is","value":"string"}],"actions":[{"type":"assign","value":"string"}],"stop":{},"position":1,"copy_of":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /ticket-rules

Make a rule, or copy one

POST /ticket-rules: a new rule, last among its trigger's, or a copy of one, turned off, just below it.

Body · TicketRuleInapplication/json
id string · max length: 60
name string · max length: 80
enabled
trigger
match
conditions array
actions array
stop
position integer
copy_of string · max length: 60
propertyName anything
Responses
200Successful Response
POST /ticket-rules
1curl -X POST "http://localhost:8000/ticket-rules" \
2 -H "Content-Type: application/json" \
3 -d '{"id":"string","name":"string","enabled":{},"trigger":"created","match":"all","conditions":[{"field":"channel","op":"is","value":"string"}],"actions":[{"type":"assign","value":"string"}],"stop":{},"position":1,"copy_of":"string"}'
1fetch("http://localhost:8000/ticket-rules", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "id": "string",
6 "name": "string",
7 "enabled": {},
8 "trigger": "created",
9 "match": "all",
10 "conditions": [
11 {
12 "field": "channel",
13 "op": "is",
14 "value": "string"
15 }
16 ],
17 "actions": [
18 {
19 "type": "assign",
20 "value": "string"
21 }
22 ],
23 "stop": {},
24 "position": 1,
25 "copy_of": "string"
26}),
27})
28 .then((res) => res.json())
29 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/ticket-rules",
5 json={"id":"string","name":"string","enabled":{},"trigger":"created","match":"all","conditions":[{"field":"channel","op":"is","value":"string"}],"actions":[{"type":"assign","value":"string"}],"stop":{},"position":1,"copy_of":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /conversations/:conversation_id/rule-runs

Carry out one rule on a ticket

POST /conversations/:conversation_id/rule-runs: carry out one rule's actions on the ticket, note what it did in the ticket's history, and answer the ticket's facts so the next rule sees the change.

Parameters
conversation_id string · path
required
Body · RuleRunInapplication/json
rule_id string · max length: 60
required
actions array
required
propertyName anything
Responses
200Successful Response
POST /conversations/example/rule-runs
1curl -X POST "http://localhost:8000/conversations/example/rule-runs" \
2 -H "Content-Type: application/json" \
3 -d '{"rule_id":"string","actions":[{"type":"assign","value":"string"}]}'
1fetch("http://localhost:8000/conversations/example/rule-runs", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "rule_id": "string",
6 "actions": [
7 {
8 "type": "assign",
9 "value": "string"
10 }
11 ]
12}),
13})
14 .then((res) => res.json())
15 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/conversations/example/rule-runs",
5 json={"rule_id":"string","actions":[{"type":"assign","value":"string"}]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /ticket-statuses

Keep the ticket statuses and where tickets move

PUT /ticket-statuses: the statuses in order, where tickets move on their own, and where removed ones' tickets go.

Body · TicketStatusesInapplication/json
statuses array
required
moves object
removals array
propertyName anything
Responses
200Successful Response
PUT /ticket-statuses
1curl -X PUT "http://localhost:8000/ticket-statuses" \
2 -H "Content-Type: application/json" \
3 -d '{"statuses":[{"key":"string","label":"string","category":"open","color":"string","desc":"string","cust":"string","pause":{},"back":"move","rate":{}}],"moves":{"reply":"string","back":"string","window":1,"reopen":"string"},"removals":[{"key":"string","to":"string"}]}'
1fetch("http://localhost:8000/ticket-statuses", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "statuses": [
6 {
7 "key": "string",
8 "label": "string",
9 "category": "open",
10 "color": "string",
11 "desc": "string",
12 "cust": "string",
13 "pause": {},
14 "back": "move",
15 "rate": {}
16 }
17 ],
18 "moves": {
19 "reply": "string",
20 "back": "string",
21 "window": 1,
22 "reopen": "string"
23 },
24 "removals": [
25 {
26 "key": "string",
27 "to": "string"
28 }
29 ]
30}),
31})
32 .then((res) => res.json())
33 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/ticket-statuses",
5 json={"statuses":[{"key":"string","label":"string","category":"open","color":"string","desc":"string","cust":"string","pause":{},"back":"move","rate":{}}],"moves":{"reply":"string","back":"string","window":1,"reopen":"string"},"removals":[{"key":"string","to":"string"}]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /auto-reply

Set the auto reply in and out of hours and who never gets one

PUT /auto-reply: its words in and out of hours, the ways in it answers and who never gets one.

Body · AutoReplyInapplication/json
enabled
body string · max length: 4000
ooh_body string · max length: 4000
channels array
recent
reopen_skip
segments array
propertyName anything
Responses
200Successful Response
PUT /auto-reply
1curl -X PUT "http://localhost:8000/auto-reply" \
2 -H "Content-Type: application/json" \
3 -d '{"enabled":{},"body":"string","ooh_body":"string","channels":["email"],"recent":"","reopen_skip":{},"segments":["string"]}'
1fetch("http://localhost:8000/auto-reply", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "enabled": {},
6 "body": "string",
7 "ooh_body": "string",
8 "channels": [
9 "email"
10 ],
11 "recent": "",
12 "reopen_skip": {},
13 "segments": [
14 "string"
15 ]
16}),
17})
18 .then((res) => res.json())
19 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/auto-reply",
5 json={"enabled":{},"body":"string","ooh_body":"string","channels":["email"],"recent":"","reopen_skip":{},"segments":["string"]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
DELETE /tickits/:id undocumented

/tickits/:id

Parameters
id string · path
required
Responses
200Successful Response
DELETE /tickits/example
1curl -X DELETE "http://localhost:8000/tickits/example"
1fetch("http://localhost:8000/tickits/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/tickits/example")
4print(response.json())
200 Example Response
No Body
GET /tickits undocumented

/tickits

Responses
200Successful Response
GET /tickits
1curl "http://localhost:8000/tickits"
1fetch("http://localhost:8000/tickits")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/tickits")
4print(response.json())
200 Example Response
No Body
GET /tickits/days undocumented

/tickits/days

Responses
200Successful Response
GET /tickits/days
1curl "http://localhost:8000/tickits/days"
1fetch("http://localhost:8000/tickits/days")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/tickits/days")
4print(response.json())
200 Example Response
No Body
PATCH /tickits/:id

Update a tickit

Parameters
id string · path
required
Body · UpdateTickitapplication/json
title string · min length: 1 · max length: 140
due_on string · max length: 10
urgency
completed
propertyName anything
Responses
200Successful Response
PATCH /tickits/example
1curl -X PATCH "http://localhost:8000/tickits/example" \
2 -H "Content-Type: application/json" \
3 -d '{"title":"string","due_on":"string","urgency":"urgent","completed":{}}'
1fetch("http://localhost:8000/tickits/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "title": "string",
6 "due_on": "string",
7 "urgency": "urgent",
8 "completed": {}
9}),
10})
11 .then((res) => res.json())
12 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/tickits/example",
5 json={"title":"string","due_on":"string","urgency":"urgent","completed":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /tickits

Add a tickit

Body · CreateTickitapplication/json
title string · min length: 1 · max length: 140
required
day string · min length: 10 · max length: 10
propertyName anything
Responses
200Successful Response
POST /tickits
1curl -X POST "http://localhost:8000/tickits" \
2 -H "Content-Type: application/json" \
3 -d '{"title":"string","day":"string"}'
1fetch("http://localhost:8000/tickits", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "title": "string",
6 "day": "string"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/tickits",
5 json={"title":"string","day":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /boards/:board_id/topics/:topic_id

Rename a topic or change its dates

PATCH /boards/:board_id/topics/:topic_id: rename a topic or change its dates.

Parameters
board_id string · path
required
topic_id string · path
required
Body · UpdateTopicapplication/json
name string · min length: 1 · max length: 100
start_date string
end_date string
propertyName anything
Responses
200Successful Response
PATCH /boards/example/topics/example
1curl -X PATCH "http://localhost:8000/boards/example/topics/example" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","start_date":"string","end_date":"string"}'
1fetch("http://localhost:8000/boards/example/topics/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "start_date": "string",
7 "end_date": "string"
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/boards/example/topics/example",
5 json={"name":"string","start_date":"string","end_date":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /boards/:board_id/topics

Add a topic

POST /boards/:board_id/topics: add a topic to a board.

Parameters
board_id string · path
required
Body · CreateTopicapplication/json
name string · min length: 1 · max length: 100
required
start_date string
end_date string
propertyName anything
Responses
200Successful Response
POST /boards/example/topics
1curl -X POST "http://localhost:8000/boards/example/topics" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","start_date":"string","end_date":"string"}'
1fetch("http://localhost:8000/boards/example/topics", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "start_date": "string",
7 "end_date": "string"
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/boards/example/topics",
5 json={"name":"string","start_date":"string","end_date":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
GET /totps/status undocumented

/totps/status

Responses
200Successful Response
GET /totps/status
1curl "http://localhost:8000/totps/status"
1fetch("http://localhost:8000/totps/status")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/totps/status")
4print(response.json())
200 Example Response
No Body
POST /totps undocumented

/totps

Responses
200Successful Response
POST /totps
1curl -X POST "http://localhost:8000/totps"
1fetch("http://localhost:8000/totps", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/totps")
4print(response.json())
200 Example Response
No Body
DELETE /trash undocumented

/trash

Responses
200Successful Response
DELETE /trash
1curl -X DELETE "http://localhost:8000/trash"
1fetch("http://localhost:8000/trash", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/trash")
4print(response.json())
200 Example Response
No Body
GET /trash undocumented

/trash

Responses
200Successful Response
GET /trash
1curl "http://localhost:8000/trash"
1fetch("http://localhost:8000/trash")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/trash")
4print(response.json())
200 Example Response
No Body
POST /trash/restorations

Restore from trash

Body · TrashRestoreapplication/json
ids array
required
propertyName anything
Responses
200Successful Response
POST /trash/restorations
1curl -X POST "http://localhost:8000/trash/restorations" \
2 -H "Content-Type: application/json" \
3 -d '{"ids":["string"]}'
1fetch("http://localhost:8000/trash/restorations", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "ids": [
6 "string"
7 ]
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/trash/restorations",
5 json={"ids":["string"]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
DELETE /vendibles/products/:product_id undocumented

/vendibles/products/:product_id

Archive, never delete. A product that has ever been sold is referenced by order line snapshots and by every movement in the ledger. Deleting the row would not remove those, it would only make them unreadable, so the delete verb archives.

Parameters
product_id string · path
required
Responses
200Successful Response
DELETE /vendibles/products/example
1curl -X DELETE "http://localhost:8000/vendibles/products/example"
1fetch("http://localhost:8000/vendibles/products/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/vendibles/products/example")
4print(response.json())
200 Example Response
No Body
DELETE /vendibles/products/:product_id/variants/:variant_id undocumented

/vendibles/products/:product_id/variants/:variant_id

Deactivate a variant. The last one, and the default, cannot go. Deactivating rather than deleting for the same reason products archive: the ledger and every order line point at this id forever.

Parameters
product_id string · path
required
variant_id string · path
required
Responses
200Successful Response
DELETE /vendibles/products/example/variants/example
1curl -X DELETE "http://localhost:8000/vendibles/products/example/variants/example"
1fetch("http://localhost:8000/vendibles/products/example/variants/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/vendibles/products/example/variants/example")
4print(response.json())
200 Example Response
No Body
DELETE /vendibles/collections/:collection_id undocumented

/vendibles/collections/:collection_id

A collection is merchandising, not inventory, so it really does delete. Nothing references it: membership lives on this row, and removing it takes no product with it.

Parameters
collection_id string · path
required
Responses
200Successful Response
DELETE /vendibles/collections/example
1curl -X DELETE "http://localhost:8000/vendibles/collections/example"
1fetch("http://localhost:8000/vendibles/collections/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/vendibles/collections/example")
4print(response.json())
200 Example Response
No Body
DELETE /vendibles/locations/:location_id undocumented

/vendibles/locations/:location_id

Deactivate a location. Refuses while anything is still standing in it. Deactivating a place that holds stock would make that stock invisible while leaving it counted, which is the worst of both.

Parameters
location_id string · path
required
Responses
200Successful Response
DELETE /vendibles/locations/example
1curl -X DELETE "http://localhost:8000/vendibles/locations/example"
1fetch("http://localhost:8000/vendibles/locations/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/vendibles/locations/example")
4print(response.json())
200 Example Response
No Body
DELETE /vendibles/domains/:domain_id undocumented

/vendibles/domains/:domain_id

Parameters
domain_id string · path
required
Responses
200Successful Response
DELETE /vendibles/domains/example
1curl -X DELETE "http://localhost:8000/vendibles/domains/example"
1fetch("http://localhost:8000/vendibles/domains/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/vendibles/domains/example")
4print(response.json())
200 Example Response
No Body
DELETE /vendibles/storefront/logo undocumented

/vendibles/storefront/logo

DELETE /vendibles/storefront/logo — take the mark off the shop. The header falls back to the shop's name set in the display face, which is a deliberate design rather than an empty space: a shop with no logo should still look like it was designed by somebody.

Responses
200Successful Response
DELETE /vendibles/storefront/logo
1curl -X DELETE "http://localhost:8000/vendibles/storefront/logo"
1fetch("http://localhost:8000/vendibles/storefront/logo", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/vendibles/storefront/logo")
4print(response.json())
200 Example Response
No Body
DELETE /vendibles/products/:product_id/images/:image_id undocumented

/vendibles/products/:product_id/images/:image_id

DELETE /vendibles/products/:product_id/images/:image_id — drop one. Deletes the object as well as the reference. "Remove this picture" has to mean it stops being served, not merely that the shop stops pointing at it.

Parameters
product_id string · path
required
image_id string · path
required
Responses
200Successful Response
DELETE /vendibles/products/example/images/example
1curl -X DELETE "http://localhost:8000/vendibles/products/example/images/example"
1fetch("http://localhost:8000/vendibles/products/example/images/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/vendibles/products/example/images/example")
4print(response.json())
200 Example Response
No Body
DELETE /vendibles/collections/:collection_id/image undocumented

/vendibles/collections/:collection_id/image

DELETE /vendibles/collections/:collection_id/image — take it down.

Parameters
collection_id string · path
required
Responses
200Successful Response
DELETE /vendibles/collections/example/image
1curl -X DELETE "http://localhost:8000/vendibles/collections/example/image"
1fetch("http://localhost:8000/vendibles/collections/example/image", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/vendibles/collections/example/image")
4print(response.json())
200 Example Response
No Body
GET /vendibles/products undocumented

/vendibles/products

Responses
200Successful Response
GET /vendibles/products
1curl "http://localhost:8000/vendibles/products"
1fetch("http://localhost:8000/vendibles/products")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/vendibles/products")
4print(response.json())
200 Example Response
No Body
GET /vendibles/products/:product_id undocumented

/vendibles/products/:product_id

Parameters
product_id string · path
required
Responses
200Successful Response
GET /vendibles/products/example
1curl "http://localhost:8000/vendibles/products/example"
1fetch("http://localhost:8000/vendibles/products/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/vendibles/products/example")
4print(response.json())
200 Example Response
No Body
GET /vendibles/collections undocumented

/vendibles/collections

Responses
200Successful Response
GET /vendibles/collections
1curl "http://localhost:8000/vendibles/collections"
1fetch("http://localhost:8000/vendibles/collections")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/vendibles/collections")
4print(response.json())
200 Example Response
No Body
GET /vendibles/collections/:collection_id undocumented

/vendibles/collections/:collection_id

Parameters
collection_id string · path
required
Responses
200Successful Response
GET /vendibles/collections/example
1curl "http://localhost:8000/vendibles/collections/example"
1fetch("http://localhost:8000/vendibles/collections/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/vendibles/collections/example")
4print(response.json())
200 Example Response
No Body
GET /vendibles/locations/tree undocumented

/vendibles/locations/tree

The whole tree, nested. Bounded by the number of places a merchant has. Unpaginated on purpose: a tree with a page break is not a tree, and the row count here is physical places, which does not grow the way a catalog does.

Responses
200Successful Response
GET /vendibles/locations/tree
1curl "http://localhost:8000/vendibles/locations/tree"
1fetch("http://localhost:8000/vendibles/locations/tree")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/vendibles/locations/tree")
4print(response.json())
200 Example Response
No Body
GET /vendibles/locations undocumented

/vendibles/locations

Responses
200Successful Response
GET /vendibles/locations
1curl "http://localhost:8000/vendibles/locations"
1fetch("http://localhost:8000/vendibles/locations")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/vendibles/locations")
4print(response.json())
200 Example Response
No Body
GET /vendibles/stock undocumented

/vendibles/stock

Responses
200Successful Response
GET /vendibles/stock
1curl "http://localhost:8000/vendibles/stock"
1fetch("http://localhost:8000/vendibles/stock")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/vendibles/stock")
4print(response.json())
200 Example Response
No Body
GET /vendibles/exports undocumented

/vendibles/exports

The ledger as a CSV, narrowed by exactly the filters the screen uses. Reads its filters through the same helpers the list and the console read, so what a merchant exports is what they were looking at. An export built on its own filter parsing is an export that quietly disagrees with the screen above it, which is the worst kind of wrong: nobody checks a spreadsheet against the page it came from. Names are resolved rather than exported as ids, and the reference is the readable label. An id is useless in a spreadsheet and an MRN doubly so.

Responses
200Successful Response
GET /vendibles/exports
1curl "http://localhost:8000/vendibles/exports"
1fetch("http://localhost:8000/vendibles/exports")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/vendibles/exports")
4print(response.json())
200 Example Response
No Body
GET /vendibles/movements undocumented

/vendibles/movements

Responses
200Successful Response
GET /vendibles/movements
1curl "http://localhost:8000/vendibles/movements"
1fetch("http://localhost:8000/vendibles/movements")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/vendibles/movements")
4print(response.json())
200 Example Response
No Body
GET /vendibles/orders undocumented

/vendibles/orders

Responses
200Successful Response
GET /vendibles/orders
1curl "http://localhost:8000/vendibles/orders"
1fetch("http://localhost:8000/vendibles/orders")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/vendibles/orders")
4print(response.json())
200 Example Response
No Body
GET /vendibles/orders/:order_id undocumented

/vendibles/orders/:order_id

Parameters
order_id string · path
required
Responses
200Successful Response
GET /vendibles/orders/example
1curl "http://localhost:8000/vendibles/orders/example"
1fetch("http://localhost:8000/vendibles/orders/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/vendibles/orders/example")
4print(response.json())
200 Example Response
No Body
GET /vendibles/domains undocumented

/vendibles/domains

Responses
200Successful Response
GET /vendibles/domains
1curl "http://localhost:8000/vendibles/domains"
1fetch("http://localhost:8000/vendibles/domains")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/vendibles/domains")
4print(response.json())
200 Example Response
No Body
PATCH /vendibles/orders/:order_id

Mark an order fulfilled, or cancel an unpaid one

Fulfil or cancel. A status field, never a verb route (rule 15).

Parameters
order_id string · path
required
Body · UpdateOrderapplication/json
status
required
fulfillment object
propertyName anything
Responses
200Successful Response
PATCH /vendibles/orders/example
1curl -X PATCH "http://localhost:8000/vendibles/orders/example" \
2 -H "Content-Type: application/json" \
3 -d '{"status":"fulfilled","fulfillment":{"carrier":"string","tracking_ref":"string","note":"string"}}'
1fetch("http://localhost:8000/vendibles/orders/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "status": "fulfilled",
6 "fulfillment": {
7 "carrier": "string",
8 "tracking_ref": "string",
9 "note": "string"
10 }
11}),
12})
13 .then((res) => res.json())
14 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/vendibles/orders/example",
5 json={"status":"fulfilled","fulfillment":{"carrier":"string","tracking_ref":"string","note":"string"}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /vendibles/domains/:domain_id

Ask for a domain's claim once its DNS record is published

Ask for the claim. The DNS record is what grants it, not this call. A status transition rather than a verb endpoint (rule 15). The only transition a person can ask for is pending to verified, and asking is not the same as getting: the TXT record has to actually resolve, and the partial unique index decides who wins if two workspaces ask at once.

Parameters
domain_id string · path
required
Body · UpdateDomainapplication/json
status
required
propertyName anything
Responses
200Successful Response
PATCH /vendibles/domains/example
1curl -X PATCH "http://localhost:8000/vendibles/domains/example" \
2 -H "Content-Type: application/json" \
3 -d '{"status":"verified"}'
1fetch("http://localhost:8000/vendibles/domains/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "status": "verified"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/vendibles/domains/example",
5 json={"status":"verified"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /vendibles/products

Create a product and its default variant

Body · CreateProductapplication/json
kind
required
name string · min length: 1 · max length: 200
required
slug string · min length: 1 · max length: 120
description string · max length: 20000
options array
images array
unit_of_measure string · min length: 1 · max length: 32
is_stockable
status
show_in_store
seo object
metadata object
price number
sku string · min length: 1 · max length: 64
propertyName anything
Responses
200Successful Response
POST /vendibles/products
1curl -X POST "http://localhost:8000/vendibles/products" \
2 -H "Content-Type: application/json" \
3 -d '{"kind":"good","name":"string","slug":"string","description":"string","options":["string"],"images":["string"],"unit_of_measure":"string","is_stockable":{},"status":"draft","show_in_store":{},"seo":{"title":"string","description":"string"},"metadata":{"tax_category":"string","external_code":"string","brand":"string"},"price":1.5,"sku":"string"}'
1fetch("http://localhost:8000/vendibles/products", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "kind": "good",
6 "name": "string",
7 "slug": "string",
8 "description": "string",
9 "options": [
10 "string"
11 ],
12 "images": [
13 "string"
14 ],
15 "unit_of_measure": "string",
16 "is_stockable": {},
17 "status": "draft",
18 "show_in_store": {},
19 "seo": {
20 "title": "string",
21 "description": "string"
22 },
23 "metadata": {
24 "tax_category": "string",
25 "external_code": "string",
26 "brand": "string"
27 },
28 "price": 1.5,
29 "sku": "string"
30}),
31})
32 .then((res) => res.json())
33 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/vendibles/products",
5 json={"kind":"good","name":"string","slug":"string","description":"string","options":["string"],"images":["string"],"unit_of_measure":"string","is_stockable":{},"status":"draft","show_in_store":{},"seo":{"title":"string","description":"string"},"metadata":{"tax_category":"string","external_code":"string","brand":"string"},"price":1.5,"sku":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /vendibles/products/:product_id/variants

Add a variant to a product

Parameters
product_id string · path
required
Body · CreateVariantapplication/json
option_values
sku string · min length: 1 · max length: 64
barcode string · min length: 1 · max length: 64
price number
required
compare_at_price number
cost_price number
position integer · min: 0 · max: 999
is_default
is_active
metadata object
opening_quantity number · min: 0
opening_location_id string · min length: 1 · max length: 100
propertyName anything
Responses
200Successful Response
POST /vendibles/products/example/variants
1curl -X POST "http://localhost:8000/vendibles/products/example/variants" \
2 -H "Content-Type: application/json" \
3 -d '{"option_values":{},"sku":"string","barcode":"string","price":1.5,"compare_at_price":1.5,"cost_price":1.5,"position":1,"is_default":{},"is_active":{},"metadata":{"weight_grams":1.5,"length_mm":1.5,"width_mm":1.5,"height_mm":1.5,"image_mrn":"string"},"opening_quantity":1.5,"opening_location_id":"string"}'
1fetch("http://localhost:8000/vendibles/products/example/variants", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "option_values": {},
6 "sku": "string",
7 "barcode": "string",
8 "price": 1.5,
9 "compare_at_price": 1.5,
10 "cost_price": 1.5,
11 "position": 1,
12 "is_default": {},
13 "is_active": {},
14 "metadata": {
15 "weight_grams": 1.5,
16 "length_mm": 1.5,
17 "width_mm": 1.5,
18 "height_mm": 1.5,
19 "image_mrn": "string"
20 },
21 "opening_quantity": 1.5,
22 "opening_location_id": "string"
23}),
24})
25 .then((res) => res.json())
26 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/vendibles/products/example/variants",
5 json={"option_values":{},"sku":"string","barcode":"string","price":1.5,"compare_at_price":1.5,"cost_price":1.5,"position":1,"is_default":{},"is_active":{},"metadata":{"weight_grams":1.5,"length_mm":1.5,"width_mm":1.5,"height_mm":1.5,"image_mrn":"string"},"opening_quantity":1.5,"opening_location_id":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /vendibles/collections

Create a merchandising collection

Body · CreateCollectionapplication/json
name string · min length: 1 · max length: 200
required
parent_id string · max length: 100
slug string · min length: 1 · max length: 120
description string · max length: 4000
image_mrn string · max length: 200
product_ids array
position integer · min: 0 · max: 999
is_visible
propertyName anything
Responses
200Successful Response
POST /vendibles/collections
1curl -X POST "http://localhost:8000/vendibles/collections" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","parent_id":"string","slug":"string","description":"string","image_mrn":"string","product_ids":["string"],"position":1,"is_visible":{}}'
1fetch("http://localhost:8000/vendibles/collections", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "parent_id": "string",
7 "slug": "string",
8 "description": "string",
9 "image_mrn": "string",
10 "product_ids": [
11 "string"
12 ],
13 "position": 1,
14 "is_visible": {}
15}),
16})
17 .then((res) => res.json())
18 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/vendibles/collections",
5 json={"name":"string","parent_id":"string","slug":"string","description":"string","image_mrn":"string","product_ids":["string"],"position":1,"is_visible":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /vendibles/locations

Create a stock location

Body · CreateLocationapplication/json
name string · min length: 1 · max length: 120
required
timezone string · min length: 1 · max length: 64
required
workdays
work_start string · max length: 5
work_end string · max length: 5
is_default
propertyName anything
Responses
200Successful Response
POST /vendibles/locations
1curl -X POST "http://localhost:8000/vendibles/locations" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","timezone":"string","workdays":1,"work_start":"string","work_end":"string","is_default":{}}'
1fetch("http://localhost:8000/vendibles/locations", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "timezone": "string",
7 "workdays": 1,
8 "work_start": "string",
9 "work_end": "string",
10 "is_default": {}
11}),
12})
13 .then((res) => res.json())
14 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/vendibles/locations",
5 json={"name":"string","timezone":"string","workdays":1,"work_start":"string","work_end":"string","is_default":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /vendibles/movements

Post a stock movement

Post one ledger entry and move the on-hand it implies. The order matters: validate everything first, then write the ledger row, then apply the effects. A movement that was refused must leave no trace, and a movement that was accepted must never exist without its stock change.

Body · CreateMovementapplication/json
variant_id string · min length: 1 · max length: 100
required
quantity number
required
reason
required
from_location_id string · min length: 1 · max length: 100
to_location_id string · min length: 1 · max length: 100
unit_cost number
reference_mrn string · min length: 1 · max length: 200
occurred_at string · min length: 1 · max length: 60
notes string · max length: 2000
propertyName anything
Responses
200Successful Response
POST /vendibles/movements
1curl -X POST "http://localhost:8000/vendibles/movements" \
2 -H "Content-Type: application/json" \
3 -d '{"variant_id":"string","quantity":1.5,"reason":"receipt","from_location_id":"string","to_location_id":"string","unit_cost":1.5,"reference_mrn":"string","occurred_at":"string","notes":"string"}'
1fetch("http://localhost:8000/vendibles/movements", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "variant_id": "string",
6 "quantity": 1.5,
7 "reason": "receipt",
8 "from_location_id": "string",
9 "to_location_id": "string",
10 "unit_cost": 1.5,
11 "reference_mrn": "string",
12 "occurred_at": "string",
13 "notes": "string"
14}),
15})
16 .then((res) => res.json())
17 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/vendibles/movements",
5 json={"variant_id":"string","quantity":1.5,"reason":"receipt","from_location_id":"string","to_location_id":"string","unit_cost":1.5,"reference_mrn":"string","occurred_at":"string","notes":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /vendibles/transfers

Move many variants between two places

Move many variants from one place to another, as one action. One `transfer` movement per line, each carrying both ends, which is the ledger's existing shape for a move and not a new one. The sheet is the multi-line thing; the movement is not.

Body · CreateTransferapplication/json
from_location_id string · min length: 1 · max length: 100
required
to_location_id string · min length: 1 · max length: 100
required
lines array
required
occurred_at string · min length: 1 · max length: 60
notes string · max length: 2000
propertyName anything
Responses
200Successful Response
POST /vendibles/transfers
1curl -X POST "http://localhost:8000/vendibles/transfers" \
2 -H "Content-Type: application/json" \
3 -d '{"from_location_id":"string","to_location_id":"string","lines":[{"variant_id":"string","quantity":1.5}],"occurred_at":"string","notes":"string"}'
1fetch("http://localhost:8000/vendibles/transfers", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "from_location_id": "string",
6 "to_location_id": "string",
7 "lines": [
8 {
9 "variant_id": "string",
10 "quantity": 1.5
11 }
12 ],
13 "occurred_at": "string",
14 "notes": "string"
15}),
16})
17 .then((res) => res.json())
18 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/vendibles/transfers",
5 json={"from_location_id":"string","to_location_id":"string","lines":[{"variant_id":"string","quantity":1.5}],"occurred_at":"string","notes":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /vendibles/counts

Record a physical count at one place

Record what was actually found on the shelf, for many variants at once. A count states a total rather than a change, so each line posts a `count` movement carrying the counted figure and the stock effect is a set. Lines already agreeing with the system are skipped: a ledger entry recording that nothing changed is noise in the one record that has to stay readable.

Body · CreateCountapplication/json
location_id string · min length: 1 · max length: 100
required
lines array
required
occurred_at string · min length: 1 · max length: 60
notes string · max length: 2000
propertyName anything
Responses
200Successful Response
POST /vendibles/counts
1curl -X POST "http://localhost:8000/vendibles/counts" \
2 -H "Content-Type: application/json" \
3 -d '{"location_id":"string","lines":[{"variant_id":"string","counted":1.5}],"occurred_at":"string","notes":"string"}'
1fetch("http://localhost:8000/vendibles/counts", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "location_id": "string",
6 "lines": [
7 {
8 "variant_id": "string",
9 "counted": 1.5
10 }
11 ],
12 "occurred_at": "string",
13 "notes": "string"
14}),
15})
16 .then((res) => res.json())
17 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/vendibles/counts",
5 json={"location_id":"string","lines":[{"variant_id":"string","counted":1.5}],"occurred_at":"string","notes":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /vendibles/domains

Add a domain to point at the store

Body · CreateDomainapplication/json
hostname string · min length: 4 · max length: 253
required
propertyName anything
Responses
200Successful Response
POST /vendibles/domains
1curl -X POST "http://localhost:8000/vendibles/domains" \
2 -H "Content-Type: application/json" \
3 -d '{"hostname":"string"}'
1fetch("http://localhost:8000/vendibles/domains", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "hostname": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/vendibles/domains",
5 json={"hostname":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /vendibles/products/:product_id/images undocumented

/vendibles/products/:product_id/images

POST /vendibles/products/:product_id/images — add a photograph. Multipart, because it carries a file. Appends rather than replaces: a product has several shots and the merchant decides the order.

Parameters
product_id string · path
required
Responses
200Successful Response
POST /vendibles/products/example/images
1curl -X POST "http://localhost:8000/vendibles/products/example/images"
1fetch("http://localhost:8000/vendibles/products/example/images", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/vendibles/products/example/images")
4print(response.json())
200 Example Response
No Body
PUT /vendibles/products/:product_id

Update a product

Parameters
product_id string · path
required
Body · UpdateProductapplication/json
name string · min length: 1 · max length: 200
slug string · min length: 1 · max length: 120
description string · max length: 20000
options array
images array
unit_of_measure string · min length: 1 · max length: 32
is_stockable
status
show_in_store
seo object
metadata object
propertyName anything
Responses
200Successful Response
PUT /vendibles/products/example
1curl -X PUT "http://localhost:8000/vendibles/products/example" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","slug":"string","description":"string","options":["string"],"images":["string"],"unit_of_measure":"string","is_stockable":{},"status":"draft","show_in_store":{},"seo":{"title":"string","description":"string"},"metadata":{"tax_category":"string","external_code":"string","brand":"string"}}'
1fetch("http://localhost:8000/vendibles/products/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "slug": "string",
7 "description": "string",
8 "options": [
9 "string"
10 ],
11 "images": [
12 "string"
13 ],
14 "unit_of_measure": "string",
15 "is_stockable": {},
16 "status": "draft",
17 "show_in_store": {},
18 "seo": {
19 "title": "string",
20 "description": "string"
21 },
22 "metadata": {
23 "tax_category": "string",
24 "external_code": "string",
25 "brand": "string"
26 }
27}),
28})
29 .then((res) => res.json())
30 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/vendibles/products/example",
5 json={"name":"string","slug":"string","description":"string","options":["string"],"images":["string"],"unit_of_measure":"string","is_stockable":{},"status":"draft","show_in_store":{},"seo":{"title":"string","description":"string"},"metadata":{"tax_category":"string","external_code":"string","brand":"string"}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /vendibles/products/:product_id/variants/:variant_id

Update a variant

Parameters
product_id string · path
required
variant_id string · path
required
Body · UpdateVariantapplication/json
option_values
sku string · min length: 1 · max length: 64
barcode string · min length: 1 · max length: 64
price number
compare_at_price number
cost_price number
position integer · min: 0 · max: 999
is_default
is_active
metadata object
propertyName anything
Responses
200Successful Response
PUT /vendibles/products/example/variants/example
1curl -X PUT "http://localhost:8000/vendibles/products/example/variants/example" \
2 -H "Content-Type: application/json" \
3 -d '{"option_values":{},"sku":"string","barcode":"string","price":1.5,"compare_at_price":1.5,"cost_price":1.5,"position":1,"is_default":{},"is_active":{},"metadata":{"weight_grams":1.5,"length_mm":1.5,"width_mm":1.5,"height_mm":1.5,"image_mrn":"string"}}'
1fetch("http://localhost:8000/vendibles/products/example/variants/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "option_values": {},
6 "sku": "string",
7 "barcode": "string",
8 "price": 1.5,
9 "compare_at_price": 1.5,
10 "cost_price": 1.5,
11 "position": 1,
12 "is_default": {},
13 "is_active": {},
14 "metadata": {
15 "weight_grams": 1.5,
16 "length_mm": 1.5,
17 "width_mm": 1.5,
18 "height_mm": 1.5,
19 "image_mrn": "string"
20 }
21}),
22})
23 .then((res) => res.json())
24 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/vendibles/products/example/variants/example",
5 json={"option_values":{},"sku":"string","barcode":"string","price":1.5,"compare_at_price":1.5,"cost_price":1.5,"position":1,"is_default":{},"is_active":{},"metadata":{"weight_grams":1.5,"length_mm":1.5,"width_mm":1.5,"height_mm":1.5,"image_mrn":"string"}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /vendibles/collections/:collection_id

Update a collection, including its merchandising order

Parameters
collection_id string · path
required
Body · UpdateCollectionapplication/json
name string · min length: 1 · max length: 200
parent_id string · max length: 100
slug string · min length: 1 · max length: 120
description string · max length: 4000
image_mrn string · max length: 200
icon string · max length: 60
product_ids array
position integer · min: 0 · max: 999
is_visible
propertyName anything
Responses
200Successful Response
PUT /vendibles/collections/example
1curl -X PUT "http://localhost:8000/vendibles/collections/example" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","parent_id":"string","slug":"string","description":"string","image_mrn":"string","icon":"string","product_ids":["string"],"position":1,"is_visible":{}}'
1fetch("http://localhost:8000/vendibles/collections/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "parent_id": "string",
7 "slug": "string",
8 "description": "string",
9 "image_mrn": "string",
10 "icon": "string",
11 "product_ids": [
12 "string"
13 ],
14 "position": 1,
15 "is_visible": {}
16}),
17})
18 .then((res) => res.json())
19 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/vendibles/collections/example",
5 json={"name":"string","parent_id":"string","slug":"string","description":"string","image_mrn":"string","icon":"string","product_ids":["string"],"position":1,"is_visible":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /vendibles/locations/:location_id

Update or move a location

Parameters
location_id string · path
required
Body · UpdateLocationapplication/json
name string · min length: 1 · max length: 120
timezone string · min length: 1 · max length: 64
workdays
work_start string · max length: 5
work_end string · max length: 5
is_default
propertyName anything
Responses
200Successful Response
PUT /vendibles/locations/example
1curl -X PUT "http://localhost:8000/vendibles/locations/example" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","timezone":"string","workdays":1,"work_start":"string","work_end":"string","is_default":{}}'
1fetch("http://localhost:8000/vendibles/locations/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "timezone": "string",
7 "workdays": 1,
8 "work_start": "string",
9 "work_end": "string",
10 "is_default": {}
11}),
12})
13 .then((res) => res.json())
14 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/vendibles/locations/example",
5 json={"name":"string","timezone":"string","workdays":1,"work_start":"string","work_end":"string","is_default":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /vendibles/stock/:stock_id/reorder-point

Set or clear a reorder point

Parameters
stock_id string · path
required
Body · SetReorderPointapplication/json
reorder_point number
propertyName anything
Responses
200Successful Response
PUT /vendibles/stock/example/reorder-point
1curl -X PUT "http://localhost:8000/vendibles/stock/example/reorder-point" \
2 -H "Content-Type: application/json" \
3 -d '{"reorder_point":1.5}'
1fetch("http://localhost:8000/vendibles/stock/example/reorder-point", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "reorder_point": 1.5
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/vendibles/stock/example/reorder-point",
5 json={"reorder_point":1.5},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /vendibles/storefront/theme

Set the shop's colours, typeface pairing and control shape

PUT /vendibles/storefront/theme — the shop's colours, type and shape. Three of the merchant's four choices. The fourth is the logo below, which needs its own route because it carries a file. The typeset and the button style are validated against the tables in helpers rather than trusted: the schema's Literal already refuses an unknown value, and this refuses it a second time with a message naming what IS allowed, because a shopper never sees this error and a merchant does.

Body · UpdateStorefrontThemeapplication/json
typeset
button_style
fluid
colors object
propertyName anything
Responses
200Successful Response
PUT /vendibles/storefront/theme
1curl -X PUT "http://localhost:8000/vendibles/storefront/theme" \
2 -H "Content-Type: application/json" \
3 -d '{"typeset":"modern","button_style":"pill","fluid":{},"colors":{"primary":"string","accent":"string","background":"string","text":"string"}}'
1fetch("http://localhost:8000/vendibles/storefront/theme", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "typeset": "modern",
6 "button_style": "pill",
7 "fluid": {},
8 "colors": {
9 "primary": "string",
10 "accent": "string",
11 "background": "string",
12 "text": "string"
13 }
14}),
15})
16 .then((res) => res.json())
17 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/vendibles/storefront/theme",
5 json={"typeset":"modern","button_style":"pill","fluid":{},"colors":{"primary":"string","accent":"string","background":"string","text":"string"}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /vendibles/storefront/logo undocumented

/vendibles/storefront/logo

PUT /vendibles/storefront/logo — the mark in the shop's header. Multipart rather than JSON, because it is a file. The key is reused across replacements so one workspace keeps one object and one stable URL; the shared helper explains why that matters more than it looks.

Responses
200Successful Response
PUT /vendibles/storefront/logo
1curl -X PUT "http://localhost:8000/vendibles/storefront/logo"
1fetch("http://localhost:8000/vendibles/storefront/logo", { method: "PUT" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.put("http://localhost:8000/vendibles/storefront/logo")
4print(response.json())
200 Example Response
No Body
PUT /vendibles/products/:product_id/images

Set the order a product's pictures appear in

PUT /vendibles/products/:product_id/images — set the order. A PUT on the collection with the ids in the order wanted, rather than a /cover endpoint: making a picture the cover IS reordering it to the front, and two ways to express one fact eventually disagree.

Parameters
product_id string · path
required
Body · ReorderImagesapplication/json
order array
required
propertyName anything
Responses
200Successful Response
PUT /vendibles/products/example/images
1curl -X PUT "http://localhost:8000/vendibles/products/example/images" \
2 -H "Content-Type: application/json" \
3 -d '{"order":["string"]}'
1fetch("http://localhost:8000/vendibles/products/example/images", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "order": [
6 "string"
7 ]
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/vendibles/products/example/images",
5 json={"order":["string"]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /vendibles/collections/:collection_id/image undocumented

/vendibles/collections/:collection_id/image

PUT /vendibles/collections/:collection_id/image — the shop-window shot. One picture, not a list: a collection card shows exactly one, and offering several would be offering a choice that never reaches a shopper.

Parameters
collection_id string · path
required
Responses
200Successful Response
PUT /vendibles/collections/example/image
1curl -X PUT "http://localhost:8000/vendibles/collections/example/image"
1fetch("http://localhost:8000/vendibles/collections/example/image", { method: "PUT" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.put("http://localhost:8000/vendibles/collections/example/image")
4print(response.json())
200 Example Response
No Body
POST /verifications/resend undocumented

/verifications/resend

Responses
200Successful Response
POST /verifications/resend
1curl -X POST "http://localhost:8000/verifications/resend"
1fetch("http://localhost:8000/verifications/resend", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/verifications/resend")
4print(response.json())
200 Example Response
No Body
GET /wands/events undocumented

/wands/events

List all platform events available as flow triggers.

Responses
200Successful Response
GET /wands/events
1curl "http://localhost:8000/wands/events"
1fetch("http://localhost:8000/wands/events")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/wands/events")
4print(response.json())
200 Example Response
No Body
GET /wands/filters undocumented

/wands/filters

List all registered Jinja2 filters with descriptions.

Responses
200Successful Response
GET /wands/filters
1curl "http://localhost:8000/wands/filters"
1fetch("http://localhost:8000/wands/filters")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/wands/filters")
4print(response.json())
200 Example Response
No Body
GET /wands/context/:spell_id/:step_index undocumented

/wands/context/:spell_id/:step_index

Get available context variables for a given step in a spell's chain.

Parameters
spell_id string · path
required
step_index string · path
required
Responses
200Successful Response
GET /wands/context/example/example
1curl "http://localhost:8000/wands/context/example/example"
1fetch("http://localhost:8000/wands/context/example/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/wands/context/example/example")
4print(response.json())
200 Example Response
No Body
GET /wands/macros undocumented

/wands/macros

All macros. ?grouped=true returns them in category order with Spellbook-rendered examples (what the reference page renders).

Responses
200Successful Response
GET /wands/macros
1curl "http://localhost:8000/wands/macros"
1fetch("http://localhost:8000/wands/macros")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/wands/macros")
4print(response.json())
200 Example Response
No Body
GET /wands/operations undocumented

/wands/operations

The platform actions a Fetch, Create, Update or Delete step can choose from, in plain words.

Responses
200Successful Response
GET /wands/operations
1curl "http://localhost:8000/wands/operations"
1fetch("http://localhost:8000/wands/operations")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/wands/operations")
4print(response.json())
200 Example Response
No Body
GET /wands/macros/:macro_name undocumented

/wands/macros/:macro_name

Parameters
macro_name string · path
required
Responses
200Successful Response
GET /wands/macros/example
1curl "http://localhost:8000/wands/macros/example"
1fetch("http://localhost:8000/wands/macros/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/wands/macros/example")
4print(response.json())
200 Example Response
No Body
GET /wands/samples undocumented

/wands/samples

Recent REAL payloads captured in this workspace. With ?action=core.crm.deal.won: every stored sample for that event. Without it: the latest sample for each event seen, so the builder and the macro playground can offer a menu of real payloads to try.

Responses
200Successful Response
GET /wands/samples
1curl "http://localhost:8000/wands/samples"
1fetch("http://localhost:8000/wands/samples")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/wands/samples")
4print(response.json())
200 Example Response
No Body
GET /wands/recipes undocumented

/wands/recipes

Curated recipe gallery, filtered to the workspace's installed apps.

Responses
200Successful Response
GET /wands/recipes
1curl "http://localhost:8000/wands/recipes"
1fetch("http://localhost:8000/wands/recipes")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/wands/recipes")
4print(response.json())
200 Example Response
No Body
GET /wands/stats undocumented

/wands/stats

Workspace automation dashboard payload.

Responses
200Successful Response
GET /wands/stats
1curl "http://localhost:8000/wands/stats"
1fetch("http://localhost:8000/wands/stats")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/wands/stats")
4print(response.json())
200 Example Response
No Body
GET /websites undocumented

/websites

GET /websites: every site that loads the chat, with who is on it now and its visits over the period.

Responses
200Successful Response
GET /websites
1curl "http://localhost:8000/websites"
1fetch("http://localhost:8000/websites")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/websites")
4print(response.json())
200 Example Response
No Body
GET /websites/:host/visitors undocumented

/websites/:host/visitors

GET /websites/:host/visitors: who is on one site now, the latest first.

Parameters
host string · path
required
Responses
200Successful Response
GET /websites/example/visitors
1curl "http://localhost:8000/websites/example/visitors"
1fetch("http://localhost:8000/websites/example/visitors")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/websites/example/visitors")
4print(response.json())
200 Example Response
No Body
GET /websites/:host/pages undocumented

/websites/:host/pages

GET /websites/:host/pages: one site's pages, most viewed first.

Parameters
host string · path
required
Responses
200Successful Response
GET /websites/example/pages
1curl "http://localhost:8000/websites/example/pages"
1fetch("http://localhost:8000/websites/example/pages")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/websites/example/pages")
4print(response.json())
200 Example Response
No Body
GET /websites/:host/sources undocumented

/websites/:host/sources

GET /websites/:host/sources: where one site's visits came from.

Parameters
host string · path
required
Responses
200Successful Response
GET /websites/example/sources
1curl "http://localhost:8000/websites/example/sources"
1fetch("http://localhost:8000/websites/example/sources")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/websites/example/sources")
4print(response.json())
200 Example Response
No Body
GET /websites/:host/countries undocumented

/websites/:host/countries

GET /websites/:host/countries: which countries one site's visits came from.

Parameters
host string · path
required
Responses
200Successful Response
GET /websites/example/countries
1curl "http://localhost:8000/websites/example/countries"
1fetch("http://localhost:8000/websites/example/countries")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/websites/example/countries")
4print(response.json())
200 Example Response
No Body
GET /websites/:host/funnels undocumented

/websites/:host/funnels

GET /websites/:host/funnels: the funnels one site's pages mark, step by step.

Parameters
host string · path
required
Responses
200Successful Response
GET /websites/example/funnels
1curl "http://localhost:8000/websites/example/funnels"
1fetch("http://localhost:8000/websites/example/funnels")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/websites/example/funnels")
4print(response.json())
200 Example Response
No Body
GET /websites/:host/heatmap undocumented

/websites/:host/heatmap

GET /websites/:host/heatmap: where one page was clicked in one layout, and the copy of the page to draw the clicks on.

Parameters
host string · path
required
Responses
200Successful Response
GET /websites/example/heatmap
1curl "http://localhost:8000/websites/example/heatmap"
1fetch("http://localhost:8000/websites/example/heatmap")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/websites/example/heatmap")
4print(response.json())
200 Example Response
No Body
DELETE /wiki/trash undocumented

/wiki/trash

DELETE /wiki/trash: delete for good every trashed page in a space the caller may purge.

Responses
200Successful Response
DELETE /wiki/trash
1curl -X DELETE "http://localhost:8000/wiki/trash"
1fetch("http://localhost:8000/wiki/trash", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/wiki/trash")
4print(response.json())
200 Example Response
No Body
DELETE /wiki/trash/:page_id undocumented

/wiki/trash/:page_id

DELETE /wiki/trash/:page_id: delete a trashed page for good and free its storage now.

Parameters
page_id string · path
required
Responses
200Successful Response
DELETE /wiki/trash/example
1curl -X DELETE "http://localhost:8000/wiki/trash/example"
1fetch("http://localhost:8000/wiki/trash/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/wiki/trash/example")
4print(response.json())
200 Example Response
No Body
DELETE /wiki/spaces/:space_id undocumented

/wiki/spaces/:space_id

DELETE /wiki/spaces/:space_id: remove an empty space. General cannot be removed.

Parameters
space_id string · path
required
Responses
200Successful Response
DELETE /wiki/spaces/example
1curl -X DELETE "http://localhost:8000/wiki/spaces/example"
1fetch("http://localhost:8000/wiki/spaces/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/wiki/spaces/example")
4print(response.json())
200 Example Response
No Body
DELETE /wikis/:page_id/rows

Delete database rows

DELETE /wikis/:page_id/rows: remove one row or many.

Parameters
page_id string · path
required
Body · DeleteRowsapplication/json
row_ids array
required
propertyName anything
Responses
200Successful Response
DELETE /wikis/example/rows
1curl -X DELETE "http://localhost:8000/wikis/example/rows" \
2 -H "Content-Type: application/json" \
3 -d '{"row_ids":["string"]}'
1fetch("http://localhost:8000/wikis/example/rows", {
2 method: "DELETE",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "row_ids": [
6 "string"
7 ]
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.delete(
4 "http://localhost:8000/wikis/example/rows",
5 json={"row_ids":["string"]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
GET /wiki/tree undocumented

/wiki/tree

GET /wiki/tree — get the full page tree for the workspace.

Responses
200Successful Response
GET /wiki/tree
1curl "http://localhost:8000/wiki/tree"
1fetch("http://localhost:8000/wiki/tree")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/wiki/tree")
4print(response.json())
200 Example Response
No Body
GET /wiki/stock-covers undocumented

/wiki/stock-covers

GET /wiki/stock-covers: the curated pictures a page cover can be picked from.

Responses
200Successful Response
GET /wiki/stock-covers
1curl "http://localhost:8000/wiki/stock-covers"
1fetch("http://localhost:8000/wiki/stock-covers")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/wiki/stock-covers")
4print(response.json())
200 Example Response
No Body
GET /wiki/trash undocumented

/wiki/trash

GET /wiki/trash: pages in the trash the caller may restore or delete for good.

Responses
200Successful Response
GET /wiki/trash
1curl "http://localhost:8000/wiki/trash"
1fetch("http://localhost:8000/wiki/trash")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/wiki/trash")
4print(response.json())
200 Example Response
No Body
GET /wiki/share-roles undocumented

/wiki/share-roles

GET /wiki/share-roles — roles a member may add to a page share list.

Responses
200Successful Response
GET /wiki/share-roles
1curl "http://localhost:8000/wiki/share-roles"
1fetch("http://localhost:8000/wiki/share-roles")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/wiki/share-roles")
4print(response.json())
200 Example Response
No Body
GET /wiki/spaces undocumented

/wiki/spaces

GET /wiki/spaces: every space in the workspace, General first.

Responses
200Successful Response
GET /wiki/spaces
1curl "http://localhost:8000/wiki/spaces"
1fetch("http://localhost:8000/wiki/spaces")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/wiki/spaces")
4print(response.json())
200 Example Response
No Body
GET /wiki/spaces/:space_id undocumented

/wiki/spaces/:space_id

GET /wiki/spaces/:space_id: one space.

Parameters
space_id string · path
required
Responses
200Successful Response
GET /wiki/spaces/example
1curl "http://localhost:8000/wiki/spaces/example"
1fetch("http://localhost:8000/wiki/spaces/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/wiki/spaces/example")
4print(response.json())
200 Example Response
No Body
GET /wiki/spaces/:space_id/facts undocumented

/wiki/spaces/:space_id/facts

GET /wiki/spaces/:space_id/facts: the numbers the space screens lead with.

Parameters
space_id string · path
required
Responses
200Successful Response
GET /wiki/spaces/example/facts
1curl "http://localhost:8000/wiki/spaces/example/facts"
1fetch("http://localhost:8000/wiki/spaces/example/facts")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/wiki/spaces/example/facts")
4print(response.json())
200 Example Response
No Body
GET /wiki/spaces/:space_id/activity undocumented

/wiki/spaces/:space_id/activity

GET /wiki/spaces/:space_id/activity: what happened in a space lately; scope=mine for what waits on the caller.

Parameters
space_id string · path
required
Responses
200Successful Response
GET /wiki/spaces/example/activity
1curl "http://localhost:8000/wiki/spaces/example/activity"
1fetch("http://localhost:8000/wiki/spaces/example/activity")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/wiki/spaces/example/activity")
4print(response.json())
200 Example Response
No Body
PATCH /wikis/:page_id

Update a wiki page

PATCH /wikis/:page_id — update page title, content, icon, etc.

Parameters
page_id string · path
required
Body · UpdatePageapplication/json
deleted
title string · min length: 1 · max length: 500
icon string · max length: 100
icon_type
icon_color
content string
position integer · min: 0
parent_id string
cover string · max length: 200
status
reviewers array
target_date string · max length: 10
team string · max length: 120
properties array
tags array
kind
cover_fixed
template_category
template_about string · max length: 300
template_id string · max length: 100
propertyName anything
Responses
200Successful Response
PATCH /wikis/example
1curl -X PATCH "http://localhost:8000/wikis/example" \
2 -H "Content-Type: application/json" \
3 -d '{"deleted":{},"title":"string","icon":"string","icon_type":"emoji","icon_color":"","content":"string","position":1,"parent_id":"string","cover":"string","status":"","reviewers":["string"],"target_date":"string","team":"string","properties":[{"key":"string","label":"string","value":"string"}],"tags":["string"],"kind":"page","cover_fixed":{},"template_category":"","template_about":"string","template_id":"string"}'
1fetch("http://localhost:8000/wikis/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "deleted": {},
6 "title": "string",
7 "icon": "string",
8 "icon_type": "emoji",
9 "icon_color": "",
10 "content": "string",
11 "position": 1,
12 "parent_id": "string",
13 "cover": "string",
14 "status": "",
15 "reviewers": [
16 "string"
17 ],
18 "target_date": "string",
19 "team": "string",
20 "properties": [
21 {
22 "key": "string",
23 "label": "string",
24 "value": "string"
25 }
26 ],
27 "tags": [
28 "string"
29 ],
30 "kind": "page",
31 "cover_fixed": {},
32 "template_category": "",
33 "template_about": "string",
34 "template_id": "string"
35}),
36})
37 .then((res) => res.json())
38 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/wikis/example",
5 json={"deleted":{},"title":"string","icon":"string","icon_type":"emoji","icon_color":"","content":"string","position":1,"parent_id":"string","cover":"string","status":"","reviewers":["string"],"target_date":"string","team":"string","properties":[{"key":"string","label":"string","value":"string"}],"tags":["string"],"kind":"page","cover_fixed":{},"template_category":"","template_about":"string","template_id":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /wiki/spaces/:space_id

Update a wiki space

PATCH /wiki/spaces/:space_id: rename, describe or reorder a space.

Parameters
space_id string · path
required
Body · UpdateSpaceapplication/json
name string · min length: 1 · max length: 120
description string · max length: 500
position integer · min: 0
propertyName anything
Responses
200Successful Response
PATCH /wiki/spaces/example
1curl -X PATCH "http://localhost:8000/wiki/spaces/example" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","description":"string","position":1}'
1fetch("http://localhost:8000/wiki/spaces/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "description": "string",
7 "position": 1
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/wiki/spaces/example",
5 json={"name":"string","description":"string","position":1},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /wikis/:page_id/comments/:comment_id

Resolve/unresolve comment

PATCH /wikis/:page_id/comments/:comment_id — resolve or unresolve.

Parameters
page_id string · path
required
comment_id string · path
required
Body · ResolveCommentapplication/json
resolved
required
propertyName anything
Responses
200Successful Response
PATCH /wikis/example/comments/example
1curl -X PATCH "http://localhost:8000/wikis/example/comments/example" \
2 -H "Content-Type: application/json" \
3 -d '{"resolved":{}}'
1fetch("http://localhost:8000/wikis/example/comments/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "resolved": {}
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/wikis/example/comments/example",
5 json={"resolved":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /wikis/:page_id/subscription

Star or watch a page

PATCH /wikis/:page_id/subscription: the caller's own star, watch and cover choice on the page.

Parameters
page_id string · path
required
Body · UpdateSubscriptionapplication/json
starred
watching
cover_choice
propertyName anything
Responses
200Successful Response
PATCH /wikis/example/subscription
1curl -X PATCH "http://localhost:8000/wikis/example/subscription" \
2 -H "Content-Type: application/json" \
3 -d '{"starred":{},"watching":{},"cover_choice":""}'
1fetch("http://localhost:8000/wikis/example/subscription", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "starred": {},
6 "watching": {},
7 "cover_choice": ""
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/wikis/example/subscription",
5 json={"starred":{},"watching":{},"cover_choice":""},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /wikis/:page_id/rows

Set cells on database rows

PATCH /wikis/:page_id/rows: set the same cells on one row or many.

Parameters
page_id string · path
required
Body · UpdateRowsapplication/json
row_ids array
required
cells array
required
propertyName anything
Responses
200Successful Response
PATCH /wikis/example/rows
1curl -X PATCH "http://localhost:8000/wikis/example/rows" \
2 -H "Content-Type: application/json" \
3 -d '{"row_ids":["string"],"cells":[{"key":"string","value":"string"}]}'
1fetch("http://localhost:8000/wikis/example/rows", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "row_ids": [
6 "string"
7 ],
8 "cells": [
9 {
10 "key": "string",
11 "value": "string"
12 }
13 ]
14}),
15})
16 .then((res) => res.json())
17 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/wikis/example/rows",
5 json={"row_ids":["string"],"cells":[{"key":"string","value":"string"}]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /wikis

Create a wiki page

POST /wikis — create a new wiki page.

Body · CreatePageapplication/json
title string · min length: 1 · max length: 500
required
parent_id string
space_id string · max length: 100
kind
icon string · max length: 100
icon_type
icon_color
content string
template_id string · max length: 100
propertyName anything
Responses
200Successful Response
POST /wikis
1curl -X POST "http://localhost:8000/wikis" \
2 -H "Content-Type: application/json" \
3 -d '{"title":"string","parent_id":"string","space_id":"string","kind":"page","icon":"string","icon_type":"emoji","icon_color":"","content":"string","template_id":"string"}'
1fetch("http://localhost:8000/wikis", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "title": "string",
6 "parent_id": "string",
7 "space_id": "string",
8 "kind": "page",
9 "icon": "string",
10 "icon_type": "emoji",
11 "icon_color": "",
12 "content": "string",
13 "template_id": "string"
14}),
15})
16 .then((res) => res.json())
17 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/wikis",
5 json={"title":"string","parent_id":"string","space_id":"string","kind":"page","icon":"string","icon_type":"emoji","icon_color":"","content":"string","template_id":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /wiki/spaces

Create a wiki space

POST /wiki/spaces: a new team space.

Body · CreateSpaceapplication/json
name string · min length: 1 · max length: 120
required
description string · max length: 500
kind
propertyName anything
Responses
200Successful Response
POST /wiki/spaces
1curl -X POST "http://localhost:8000/wiki/spaces" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string","description":"string","kind":"team"}'
1fetch("http://localhost:8000/wiki/spaces", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string",
6 "description": "string",
7 "kind": "team"
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/wiki/spaces",
5 json={"name":"string","description":"string","kind":"team"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /wikis/:page_id/comments

Add a comment

POST /wikis/:page_id/comments: start a thread on some text, or reply in one, quoting and carrying files if asked.

Parameters
page_id string · path
required
Body · CreateCommentapplication/json
body string · max length: 4000
asset_id string · max length: 64
object_id string · max length: 64
parent_id string · max length: 64
nx number
ny number
propertyName anything
Responses
200Successful Response
POST /wikis/example/comments
1curl -X POST "http://localhost:8000/wikis/example/comments" \
2 -H "Content-Type: application/json" \
3 -d '{"body":"string","asset_id":"string","object_id":"string","parent_id":"string","nx":1.5,"ny":1.5}'
1fetch("http://localhost:8000/wikis/example/comments", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "body": "string",
6 "asset_id": "string",
7 "object_id": "string",
8 "parent_id": "string",
9 "nx": 1.5,
10 "ny": 1.5
11}),
12})
13 .then((res) => res.json())
14 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/wikis/example/comments",
5 json={"body":"string","asset_id":"string","object_id":"string","parent_id":"string","nx":1.5,"ny":1.5},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /wikis/:page_id/comments/:comment_id/tasks

Ask Tasks to turn a comment thread into a task

POST /wikis/:page_id/comments/:comment_id/tasks: ask Tasks to turn a thread into a task, once per thread. Tasks makes it over the bus, so this answers 202: the task does not exist yet when we reply.

Parameters
page_id string · path
required
comment_id string · path
required
Body · CommentTaskapplication/json
board_id string · min length: 1 · max length: 64
required
title string · min length: 1 · max length: 200
required
assignee_mrn string · max length: 120
due_date string · max length: 10
propertyName anything
Responses
200Successful Response
POST /wikis/example/comments/example/tasks
1curl -X POST "http://localhost:8000/wikis/example/comments/example/tasks" \
2 -H "Content-Type: application/json" \
3 -d '{"board_id":"string","title":"string","assignee_mrn":"string","due_date":"string"}'
1fetch("http://localhost:8000/wikis/example/comments/example/tasks", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "board_id": "string",
6 "title": "string",
7 "assignee_mrn": "string",
8 "due_date": "string"
9}),
10})
11 .then((res) => res.json())
12 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/wikis/example/comments/example/tasks",
5 json={"board_id":"string","title":"string","assignee_mrn":"string","due_date":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /wikis/:page_id/restorations

Bring back an earlier version of a page

POST /wikis/:page_id/restorations: bring back an earlier version, live for anyone editing. Everything since stays in history, and the restore is written as the newest version first, so the save it sets off does not add a second one.

Parameters
page_id string · path
required
Body · CreateRestorationapplication/json
version_id string · min length: 1 · max length: 64
required
propertyName anything
Responses
200Successful Response
POST /wikis/example/restorations
1curl -X POST "http://localhost:8000/wikis/example/restorations" \
2 -H "Content-Type: application/json" \
3 -d '{"version_id":"string"}'
1fetch("http://localhost:8000/wikis/example/restorations", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "version_id": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/wikis/example/restorations",
5 json={"version_id":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /wikis/:page_id/answers

Ask Saasie about a page

POST /wikis/:page_id/answers: Saasie answers from this page and the other pages in its space the caller can open, citing where each point comes from, and says so when nothing answers.

Parameters
page_id string · path
required
Body · AskSaasieapplication/json
question string · min length: 1 · max length: 500
required
propertyName anything
Responses
200Successful Response
POST /wikis/example/answers
1curl -X POST "http://localhost:8000/wikis/example/answers" \
2 -H "Content-Type: application/json" \
3 -d '{"question":"string"}'
1fetch("http://localhost:8000/wikis/example/answers", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "question": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/wikis/example/answers",
5 json={"question":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /wikis/:page_id/drafts

Have Saasie draft a page

POST /wikis/:page_id/drafts: Saasie drafts this page from what the caller describes and the pages they pick, reading only pages they can open and marking what those pages do not say.

Parameters
page_id string · path
required
Body · DraftWithSaasieapplication/json
prompt string · min length: 1 · max length: 2000
required
page_ids array
required
propertyName anything
Responses
200Successful Response
POST /wikis/example/drafts
1curl -X POST "http://localhost:8000/wikis/example/drafts" \
2 -H "Content-Type: application/json" \
3 -d '{"prompt":"string","page_ids":["string"]}'
1fetch("http://localhost:8000/wikis/example/drafts", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "prompt": "string",
6 "page_ids": [
7 "string"
8 ]
9}),
10})
11 .then((res) => res.json())
12 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/wikis/example/drafts",
5 json={"prompt":"string","page_ids":["string"]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /wikis/:page_id/rewrites

Have Saasie rewrite a passage

POST /wikis/:page_id/rewrites: one passage, rewritten the way the caller picked.

Parameters
page_id string · path
required
Body · RewriteWithSaasieapplication/json
text string · min length: 1 · max length: 4000
required
style
required
instruction string · max length: 300
propertyName anything
Responses
200Successful Response
POST /wikis/example/rewrites
1curl -X POST "http://localhost:8000/wikis/example/rewrites" \
2 -H "Content-Type: application/json" \
3 -d '{"text":"string","style":"shorter","instruction":"string"}'
1fetch("http://localhost:8000/wikis/example/rewrites", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "text": "string",
6 "style": "shorter",
7 "instruction": "string"
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/wikis/example/rewrites",
5 json={"text":"string","style":"shorter","instruction":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /wikis/:page_id/reactions

React to a page

POST /wikis/:page_id/reactions: the caller reacts to the page. The same reaction twice is one.

Parameters
page_id string · path
required
Body · CreateReactionapplication/json
kind
required
propertyName anything
Responses
200Successful Response
POST /wikis/example/reactions
1curl -X POST "http://localhost:8000/wikis/example/reactions" \
2 -H "Content-Type: application/json" \
3 -d '{"kind":"like"}'
1fetch("http://localhost:8000/wikis/example/reactions", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "kind": "like"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/wikis/example/reactions",
5 json={"kind":"like"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /wikis/:page_id/copies

Copy a page, or make a template from it

POST /wikis/:page_id/copies: a copy of the page, or a new template made from it. The copy carries the body, its own copies of the pictures and videos, the cover, properties and database rows. Comments, history, reviewers and reactions stay with the original.

Parameters
page_id string · path
required
Body · CreateCopyapplication/json
title string · min length: 1 · max length: 500
kind
template_category
template_about string · max length: 300
propertyName anything
Responses
200Successful Response
POST /wikis/example/copies
1curl -X POST "http://localhost:8000/wikis/example/copies" \
2 -H "Content-Type: application/json" \
3 -d '{"title":"string","kind":"page","template_category":"","template_about":"string"}'
1fetch("http://localhost:8000/wikis/example/copies", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "title": "string",
6 "kind": "page",
7 "template_category": "",
8 "template_about": "string"
9}),
10})
11 .then((res) => res.json())
12 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/wikis/example/copies",
5 json={"title":"string","kind":"page","template_category":"","template_about":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /wikis/:page_id/access-requests

Ask the people who manage a page for access

POST /wikis/:page_id/access-requests: ask the people who manage a page for read or edit access. Someone who cannot open the page learns only that the request went; never who manages it.

Parameters
page_id string · path
required
Body · CreateAccessRequestapplication/json
level
required
note string · max length: 1000
propertyName anything
Responses
200Successful Response
POST /wikis/example/access-requests
1curl -X POST "http://localhost:8000/wikis/example/access-requests" \
2 -H "Content-Type: application/json" \
3 -d '{"level":"read","note":"string"}'
1fetch("http://localhost:8000/wikis/example/access-requests", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "level": "read",
6 "note": "string"
7}),
8})
9 .then((res) => res.json())
10 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/wikis/example/access-requests",
5 json={"level":"read","note":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /wikis/:page_id/rows

Add a database row

POST /wikis/:page_id/rows: a new row at the end of a database, live for anyone looking at it.

Parameters
page_id string · path
required
Body · CreateRowapplication/json
cells array
propertyName anything
Responses
200Successful Response
POST /wikis/example/rows
1curl -X POST "http://localhost:8000/wikis/example/rows" \
2 -H "Content-Type: application/json" \
3 -d '{"cells":[{"key":"string","value":"string"}]}'
1fetch("http://localhost:8000/wikis/example/rows", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "cells": [
6 {
7 "key": "string",
8 "value": "string"
9 }
10 ]
11}),
12})
13 .then((res) => res.json())
14 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/wikis/example/rows",
5 json={"cells":[{"key":"string","value":"string"}]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /wikis/:page_id/media

Attach an uploaded picture or video to a page

POST /wikis/:page_id/media: register bytes uploaded into the wiki's namespace as a picture or video on this page.

Parameters
page_id string · path
required
Body · CreatePageMediaapplication/json
key string · min length: 1 · max length: 1024
required
filename string · max length: 255
content_type string · max length: 100
size_bytes integer · min: 0
propertyName anything
Responses
200Successful Response
POST /wikis/example/media
1curl -X POST "http://localhost:8000/wikis/example/media" \
2 -H "Content-Type: application/json" \
3 -d '{"key":"string","filename":"string","content_type":"string","size_bytes":1}'
1fetch("http://localhost:8000/wikis/example/media", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "key": "string",
6 "filename": "string",
7 "content_type": "string",
8 "size_bytes": 1
9}),
10})
11 .then((res) => res.json())
12 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/wikis/example/media",
5 json={"key":"string","filename":"string","content_type":"string","size_bytes":1},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /wikis/:page_id/position

Move/reorder a page

PUT /wikis/:page_id/position — move a page to a new parent/position.

Parameters
page_id string · path
required
Body · MovePageapplication/json
parent_id string
position integer · min: 0
required
space_id string · max length: 100
propertyName anything
Responses
200Successful Response
PUT /wikis/example/position
1curl -X PUT "http://localhost:8000/wikis/example/position" \
2 -H "Content-Type: application/json" \
3 -d '{"parent_id":"string","position":1,"space_id":"string"}'
1fetch("http://localhost:8000/wikis/example/position", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "parent_id": "string",
6 "position": 1,
7 "space_id": "string"
8}),
9})
10 .then((res) => res.json())
11 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/wikis/example/position",
5 json={"parent_id":"string","position":1,"space_id":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /wikis/:page_id/access

Change page visibility and share list

PUT /wikis/:page_id/access — change visibility and share list. Requires manage-level access (authz: can_manage_page).

Parameters
page_id string · path
required
Body · UpdatePageAccessapplication/json
visibility
required
shares array
required
propertyName anything
Responses
200Successful Response
PUT /wikis/example/access
1curl -X PUT "http://localhost:8000/wikis/example/access" \
2 -H "Content-Type: application/json" \
3 -d '{"visibility":"workspace","shares":[{"type":"member","id":"string","level":"read"}]}'
1fetch("http://localhost:8000/wikis/example/access", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "visibility": "workspace",
6 "shares": [
7 {
8 "type": "member",
9 "id": "string",
10 "level": "read"
11 }
12 ]
13}),
14})
15 .then((res) => res.json())
16 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/wikis/example/access",
5 json={"visibility":"workspace","shares":[{"type":"member","id":"string","level":"read"}]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /wikis/:page_id/publication

Publish or unpublish a page for the help widget

PUT /wikis/:page_id/publication: expose or withdraw one page. Requires manage-level access (authz: can_manage_page), the same gate as the share list: publishing puts the page in front of anyone holding the help widget's link, which is a bigger decision than editing it. Publication is per page and is NEVER inherited. Publishing a parent does nothing to its children, which is what stops an internal page becoming public the first time somebody reparents it under a published root. Being published is not the same as being reachable: a page is served to a visitor only when its subtree root also carries external_ref, which only the contacts link event sets. A workspace can therefore prepare a base and publish pages before any widget exists, and nothing is exposed until it links one.

Parameters
page_id string · path
required
Body · UpdatePagePublicationapplication/json
is_published
required
propertyName anything
Responses
200Successful Response
PUT /wikis/example/publication
1curl -X PUT "http://localhost:8000/wikis/example/publication" \
2 -H "Content-Type: application/json" \
3 -d '{"is_published":{}}'
1fetch("http://localhost:8000/wikis/example/publication", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "is_published": {}
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/wikis/example/publication",
5 json={"is_published":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
DELETE /wikis/:page_id undocumented

/wikis/:page_id

DELETE /wikis/:page_id — soft-delete a page and its descendants.

Parameters
page_id string · path
required
Responses
200Successful Response
DELETE /wikis/example
1curl -X DELETE "http://localhost:8000/wikis/example"
1fetch("http://localhost:8000/wikis/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/wikis/example")
4print(response.json())
200 Example Response
No Body
DELETE /wikis/:page_id/comments/:comment_id undocumented

/wikis/:page_id/comments/:comment_id

DELETE /wikis/:page_id/comments/:comment_id: remove your own comment. A thread others replied in stays unless someone who manages the page removes it, and then its replies go with it.

Parameters
page_id string · path
required
comment_id string · path
required
Responses
200Successful Response
DELETE /wikis/example/comments/example
1curl -X DELETE "http://localhost:8000/wikis/example/comments/example"
1fetch("http://localhost:8000/wikis/example/comments/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/wikis/example/comments/example")
4print(response.json())
200 Example Response
No Body
DELETE /wikis/:page_id/reactions/:kind undocumented

/wikis/:page_id/reactions/:kind

DELETE /wikis/:page_id/reactions/:kind: the caller takes their reaction back.

Parameters
page_id string · path
required
kind string · path
required
Responses
200Successful Response
DELETE /wikis/example/reactions/example
1curl -X DELETE "http://localhost:8000/wikis/example/reactions/example"
1fetch("http://localhost:8000/wikis/example/reactions/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/wikis/example/reactions/example")
4print(response.json())
200 Example Response
No Body
DELETE /wikis/:page_id/media/:media_id undocumented

/wikis/:page_id/media/:media_id

DELETE /wikis/:page_id/media/:media_id: take a picture or video and its bytes off the page.

Parameters
page_id string · path
required
media_id string · path
required
Responses
200Successful Response
DELETE /wikis/example/media/example
1curl -X DELETE "http://localhost:8000/wikis/example/media/example"
1fetch("http://localhost:8000/wikis/example/media/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/wikis/example/media/example")
4print(response.json())
200 Example Response
No Body
GET /wikis undocumented

/wikis

GET /wikis: root-level pages, or the pages named by ids; q searches titles (every level with nested, each with its ancestors), counts adds published counts. Restricted pages the caller cannot access are filtered out at query time. Owners/admins see everything (platform bypass).

Responses
200Successful Response
GET /wikis
1curl "http://localhost:8000/wikis"
1fetch("http://localhost:8000/wikis")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/wikis")
4print(response.json())
200 Example Response
No Body
GET /wikis/:page_id undocumented

/wikis/:page_id

GET /wikis/:page_id — get a single page with content.

Parameters
page_id string · path
required
Responses
200Successful Response
GET /wikis/example
1curl "http://localhost:8000/wikis/example"
1fetch("http://localhost:8000/wikis/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/wikis/example")
4print(response.json())
200 Example Response
No Body
GET /wikis/:page_id/content undocumented

/wikis/:page_id/content

GET /wikis/:page_id/content: the page's body, with any edits still open in the room saved first.

Parameters
page_id string · path
required
Responses
200Successful Response
GET /wikis/example/content
1curl "http://localhost:8000/wikis/example/content"
1fetch("http://localhost:8000/wikis/example/content")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/wikis/example/content")
4print(response.json())
200 Example Response
No Body
GET /wikis/:page_id/children undocumented

/wikis/:page_id/children

GET /wikis/:page_id/children — list child pages. Filters out restricted children the caller cannot access.

Parameters
page_id string · path
required
Responses
200Successful Response
GET /wikis/example/children
1curl "http://localhost:8000/wikis/example/children"
1fetch("http://localhost:8000/wikis/example/children")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/wikis/example/children")
4print(response.json())
200 Example Response
No Body
GET /wikis/:page_id/backlinks undocumented

/wikis/:page_id/backlinks

GET /wikis/:page_id/backlinks: the pages whose content links to this one, each with its ancestors. Filtered by the caller's visibility, so a restricted page never reveals itself here.

Parameters
page_id string · path
required
Responses
200Successful Response
GET /wikis/example/backlinks
1curl "http://localhost:8000/wikis/example/backlinks"
1fetch("http://localhost:8000/wikis/example/backlinks")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/wikis/example/backlinks")
4print(response.json())
200 Example Response
No Body
GET /wikis/:page_id/versions undocumented

/wikis/:page_id/versions

GET /wikis/:page_id/versions — list version history.

Parameters
page_id string · path
required
Responses
200Successful Response
GET /wikis/example/versions
1curl "http://localhost:8000/wikis/example/versions"
1fetch("http://localhost:8000/wikis/example/versions")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/wikis/example/versions")
4print(response.json())
200 Example Response
No Body
GET /wikis/:page_id/versions/:version_id undocumented

/wikis/:page_id/versions/:version_id

GET /wikis/:page_id/versions/:version_id — get a single version.

Parameters
page_id string · path
required
version_id string · path
required
Responses
200Successful Response
GET /wikis/example/versions/example
1curl "http://localhost:8000/wikis/example/versions/example"
1fetch("http://localhost:8000/wikis/example/versions/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/wikis/example/versions/example")
4print(response.json())
200 Example Response
No Body
GET /wikis/:page_id/comments undocumented

/wikis/:page_id/comments

GET /wikis/:page_id/comments: every comment on a page, oldest first, with its people and file links.

Parameters
page_id string · path
required
Responses
200Successful Response
GET /wikis/example/comments
1curl "http://localhost:8000/wikis/example/comments"
1fetch("http://localhost:8000/wikis/example/comments")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/wikis/example/comments")
4print(response.json())
200 Example Response
No Body
GET /wikis/:page_id/presence undocumented

/wikis/:page_id/presence

GET /wikis/:page_id/presence — get active collaborators.

Parameters
page_id string · path
required
Responses
200Successful Response
GET /wikis/example/presence
1curl "http://localhost:8000/wikis/example/presence"
1fetch("http://localhost:8000/wikis/example/presence")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/wikis/example/presence")
4print(response.json())
200 Example Response
No Body
GET /wikis/:page_id/exports/:format undocumented

/wikis/:page_id/exports/:format

GET /wikis/:page_id/exports/:format: the page as a PDF, with any edits still open in the room saved first.

Parameters
page_id string · path
required
format string · path
required
Responses
200Successful Response
GET /wikis/example/exports/example
1curl "http://localhost:8000/wikis/example/exports/example"
1fetch("http://localhost:8000/wikis/example/exports/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/wikis/example/exports/example")
4print(response.json())
200 Example Response
No Body
GET /wikis/:page_id/rows undocumented

/wikis/:page_id/rows

GET /wikis/:page_id/rows: a database's columns and rows as they stand, live edits included.

Parameters
page_id string · path
required
Responses
200Successful Response
GET /wikis/example/rows
1curl "http://localhost:8000/wikis/example/rows"
1fetch("http://localhost:8000/wikis/example/rows")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/wikis/example/rows")
4print(response.json())
200 Example Response
No Body
GET /wikis/:page_id/media/:media_id undocumented

/wikis/:page_id/media/:media_id

GET /wikis/:page_id/media/:media_id: a short-lived playback link for a reader of the page.

Parameters
page_id string · path
required
media_id string · path
required
Responses
200Successful Response
GET /wikis/example/media/example
1curl "http://localhost:8000/wikis/example/media/example"
1fetch("http://localhost:8000/wikis/example/media/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/wikis/example/media/example")
4print(response.json())
200 Example Response
No Body
POST /wikis/:page_id/summaries undocumented

/wikis/:page_id/summaries

POST /wikis/:page_id/summaries: a few sentences on what the page says so far, to put at its top.

Parameters
page_id string · path
required
Responses
200Successful Response
POST /wikis/example/summaries
1curl -X POST "http://localhost:8000/wikis/example/summaries"
1fetch("http://localhost:8000/wikis/example/summaries", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/wikis/example/summaries")
4print(response.json())
200 Example Response
No Body
POST /wikis/:page_id/comments/:comment_id/summaries undocumented

/wikis/:page_id/comments/:comment_id/summaries

POST /wikis/:page_id/comments/:comment_id/summaries: what a thread raised and agreed, and what is still open.

Parameters
page_id string · path
required
comment_id string · path
required
Responses
200Successful Response
POST /wikis/example/comments/example/summaries
1curl -X POST "http://localhost:8000/wikis/example/comments/example/summaries"
1fetch("http://localhost:8000/wikis/example/comments/example/summaries", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/wikis/example/comments/example/summaries")
4print(response.json())
200 Example Response
No Body
POST /wikis/:page_id/views undocumented

/wikis/:page_id/views

POST /wikis/:page_id/views: the caller opened the page. One row per person, its opens counted up.

Parameters
page_id string · path
required
Responses
200Successful Response
POST /wikis/example/views
1curl -X POST "http://localhost:8000/wikis/example/views"
1fetch("http://localhost:8000/wikis/example/views", { method: "POST" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.post("http://localhost:8000/wikis/example/views")
4print(response.json())
200 Example Response
No Body
PUT /wikis/:page_id/presence undocumented

/wikis/:page_id/presence

PUT /wikis/:page_id/presence — update cursor position.

Parameters
page_id string · path
required
Responses
200Successful Response
PUT /wikis/example/presence
1curl -X PUT "http://localhost:8000/wikis/example/presence"
1fetch("http://localhost:8000/wikis/example/presence", { method: "PUT" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.put("http://localhost:8000/wikis/example/presence")
4print(response.json())
200 Example Response
No Body
PATCH /workers/:worker_id/documents/:document_id

Move or rename a worker document

Move a document between folders (and to/from root), or rename it.

Parameters
worker_id string · path
required
document_id string · path
required
Body · UpdateDocumentapplication/json
title string · min length: 1 · max length: 500
icon string · max length: 100
icon_type
content string
is_starred
page_mode
visibility
page_setup object
deleted
propertyName anything
Responses
200Successful Response
PATCH /workers/example/documents/example
1curl -X PATCH "http://localhost:8000/workers/example/documents/example" \
2 -H "Content-Type: application/json" \
3 -d '{"title":"string","icon":"string","icon_type":"emoji","content":"string","is_starred":{},"page_mode":"paged","visibility":"private","page_setup":{"size":"default","page_width":1,"page_height":1,"orientation":"portrait","margins":"normal","margin_x":1,"margin_y":1,"margin_top":1,"margin_right":1,"margin_bottom":1,"margin_left":1,"page_color":"string","header_text":"string","header_image":"string","header_align":"left","footer_text":"string","footer_align":"left","show_page_numbers":{},"page_number_align":"left","page_number_format":"n_of_m","different_first_page":{},"watermark_text":"string","line_numbers":"continuous"},"deleted":{}}'
1fetch("http://localhost:8000/workers/example/documents/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "title": "string",
6 "icon": "string",
7 "icon_type": "emoji",
8 "content": "string",
9 "is_starred": {},
10 "page_mode": "paged",
11 "visibility": "private",
12 "page_setup": {
13 "size": "default",
14 "page_width": 1,
15 "page_height": 1,
16 "orientation": "portrait",
17 "margins": "normal",
18 "margin_x": 1,
19 "margin_y": 1,
20 "margin_top": 1,
21 "margin_right": 1,
22 "margin_bottom": 1,
23 "margin_left": 1,
24 "page_color": "string",
25 "header_text": "string",
26 "header_image": "string",
27 "header_align": "left",
28 "footer_text": "string",
29 "footer_align": "left",
30 "show_page_numbers": {},
31 "page_number_align": "left",
32 "page_number_format": "n_of_m",
33 "different_first_page": {},
34 "watermark_text": "string",
35 "line_numbers": "continuous"
36 },
37 "deleted": {}
38}),
39})
40 .then((res) => res.json())
41 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/workers/example/documents/example",
5 json={"title":"string","icon":"string","icon_type":"emoji","content":"string","is_starred":{},"page_mode":"paged","visibility":"private","page_setup":{"size":"default","page_width":1,"page_height":1,"orientation":"portrait","margins":"normal","margin_x":1,"margin_y":1,"margin_top":1,"margin_right":1,"margin_bottom":1,"margin_left":1,"page_color":"string","header_text":"string","header_image":"string","header_align":"left","footer_text":"string","footer_align":"left","show_page_numbers":{},"page_number_align":"left","page_number_format":"n_of_m","different_first_page":{},"watermark_text":"string","line_numbers":"continuous"},"deleted":{}},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /workers/:worker_id/documents/folders

Create a document folder

Parameters
worker_id string · path
required
Body · CreateDocumentFolderapplication/json
name string · min length: 1 · max length: 120
required
propertyName anything
Responses
200Successful Response
POST /workers/example/documents/folders
1curl -X POST "http://localhost:8000/workers/example/documents/folders" \
2 -H "Content-Type: application/json" \
3 -d '{"name":"string"}'
1fetch("http://localhost:8000/workers/example/documents/folders", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "name": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/workers/example/documents/folders",
5 json={"name":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /workers/:worker_id/documents

Record an uploaded worker document

Record a document the browser already uploaded to R2 (Computer source).

Parameters
worker_id string · path
required
Body · CreateDocumentapplication/json
title string · min length: 1 · max length: 500
icon string · max length: 100
icon_type
content string
template string · min length: 1 · max length: 60
propertyName anything
Responses
200Successful Response
POST /workers/example/documents
1curl -X POST "http://localhost:8000/workers/example/documents" \
2 -H "Content-Type: application/json" \
3 -d '{"title":"string","icon":"string","icon_type":"emoji","content":"string","template":"string"}'
1fetch("http://localhost:8000/workers/example/documents", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "title": "string",
6 "icon": "string",
7 "icon_type": "emoji",
8 "content": "string",
9 "template": "string"
10}),
11})
12 .then((res) => res.json())
13 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/workers/example/documents",
5 json={"title":"string","icon":"string","icon_type":"emoji","content":"string","template":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /workers/:worker_id/notes

Add a note to a worker

Parameters
worker_id string · path
required
Body · CreateWorkerNoteapplication/json
text string · min length: 1 · max length: 5000
required
propertyName anything
Responses
200Successful Response
POST /workers/example/notes
1curl -X POST "http://localhost:8000/workers/example/notes" \
2 -H "Content-Type: application/json" \
3 -d '{"text":"string"}'
1fetch("http://localhost:8000/workers/example/notes", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "text": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/workers/example/notes",
5 json={"text":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /workers/:worker_id/notes/:note_id

Update a worker note

Parameters
worker_id string · path
required
note_id string · path
required
Body · UpdateWorkerNoteapplication/json
text string · min length: 1 · max length: 5000
required
propertyName anything
Responses
200Successful Response
PUT /workers/example/notes/example
1curl -X PUT "http://localhost:8000/workers/example/notes/example" \
2 -H "Content-Type: application/json" \
3 -d '{"text":"string"}'
1fetch("http://localhost:8000/workers/example/notes/example", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "text": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/workers/example/notes/example",
5 json={"text":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /workers/:worker_id/personal

Update personal details

PATCH personal details — merge provided keys; empty string clears a key.

Parameters
worker_id string · path
required
Body · UpdateWorkerPersonalapplication/json
date_of_birth string · max length: 10
gender string · max length: 50
pronouns string · max length: 50
nationality string · max length: 100
marital_status string · max length: 50
personal_email string · max length: 200
personal_phone string · max length: 50
address_line1 string · max length: 200
address_line2 string · max length: 200
city string · max length: 100
state string · max length: 100
postal_code string · max length: 30
country string · max length: 100
propertyName anything
Responses
200Successful Response
PATCH /workers/example/personal
1curl -X PATCH "http://localhost:8000/workers/example/personal" \
2 -H "Content-Type: application/json" \
3 -d '{"date_of_birth":"string","gender":"string","pronouns":"string","nationality":"string","marital_status":"string","personal_email":"string","personal_phone":"string","address_line1":"string","address_line2":"string","city":"string","state":"string","postal_code":"string","country":"string"}'
1fetch("http://localhost:8000/workers/example/personal", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "date_of_birth": "string",
6 "gender": "string",
7 "pronouns": "string",
8 "nationality": "string",
9 "marital_status": "string",
10 "personal_email": "string",
11 "personal_phone": "string",
12 "address_line1": "string",
13 "address_line2": "string",
14 "city": "string",
15 "state": "string",
16 "postal_code": "string",
17 "country": "string"
18}),
19})
20 .then((res) => res.json())
21 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/workers/example/personal",
5 json={"date_of_birth":"string","gender":"string","pronouns":"string","nationality":"string","marital_status":"string","personal_email":"string","personal_phone":"string","address_line1":"string","address_line2":"string","city":"string","state":"string","postal_code":"string","country":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /workers/:worker_id/qualifications

Update qualifications

PATCH qualifications — each provided collection replaces that collection.

Parameters
worker_id string · path
required
Body · UpdateQualificationsapplication/json
education array
certifications array
skills array
languages array
propertyName anything
Responses
200Successful Response
PATCH /workers/example/qualifications
1curl -X PATCH "http://localhost:8000/workers/example/qualifications" \
2 -H "Content-Type: application/json" \
3 -d '{"education":[{"institution":"string","id":"string","degree":"string","field_of_study":"string","start_year":1,"end_year":1}],"certifications":[{"name":"string","id":"string","issuer":"string","issued_date":"string","expiry_date":"string","credential_id":"string"}],"skills":["string"],"languages":[{"language":"string","id":"string","proficiency":"basic"}]}'
1fetch("http://localhost:8000/workers/example/qualifications", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "education": [
6 {
7 "institution": "string",
8 "id": "string",
9 "degree": "string",
10 "field_of_study": "string",
11 "start_year": 1,
12 "end_year": 1
13 }
14 ],
15 "certifications": [
16 {
17 "name": "string",
18 "id": "string",
19 "issuer": "string",
20 "issued_date": "string",
21 "expiry_date": "string",
22 "credential_id": "string"
23 }
24 ],
25 "skills": [
26 "string"
27 ],
28 "languages": [
29 {
30 "language": "string",
31 "id": "string",
32 "proficiency": "basic"
33 }
34 ]
35}),
36})
37 .then((res) => res.json())
38 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/workers/example/qualifications",
5 json={"education":[{"institution":"string","id":"string","degree":"string","field_of_study":"string","start_year":1,"end_year":1}],"certifications":[{"name":"string","id":"string","issuer":"string","issued_date":"string","expiry_date":"string","credential_id":"string"}],"skills":["string"],"languages":[{"language":"string","id":"string","proficiency":"basic"}]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PATCH /workers/:worker_id/bank-details

Update bank details

PATCH bank details — merge flat fields; identifiers list replaces whole.

Parameters
worker_id string · path
required
Body · UpdateBankDetailsapplication/json
bank_name string · max length: 150
account_name string · max length: 150
account_number string · max length: 50
branch_code string · max length: 50
iban string · max length: 50
swift_bic string · max length: 20
currency string · max length: 3
notes string · max length: 500
identifiers array
propertyName anything
Responses
200Successful Response
PATCH /workers/example/bank-details
1curl -X PATCH "http://localhost:8000/workers/example/bank-details" \
2 -H "Content-Type: application/json" \
3 -d '{"bank_name":"string","account_name":"string","account_number":"string","branch_code":"string","iban":"string","swift_bic":"string","currency":"string","notes":"string","identifiers":[{"kind":"national_id","value":"string","id":"string","label":"string"}]}'
1fetch("http://localhost:8000/workers/example/bank-details", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "bank_name": "string",
6 "account_name": "string",
7 "account_number": "string",
8 "branch_code": "string",
9 "iban": "string",
10 "swift_bic": "string",
11 "currency": "string",
12 "notes": "string",
13 "identifiers": [
14 {
15 "kind": "national_id",
16 "value": "string",
17 "id": "string",
18 "label": "string"
19 }
20 ]
21}),
22})
23 .then((res) => res.json())
24 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/workers/example/bank-details",
5 json={"bank_name":"string","account_name":"string","account_number":"string","branch_code":"string","iban":"string","swift_bic":"string","currency":"string","notes":"string","identifiers":[{"kind":"national_id","value":"string","id":"string","label":"string"}]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /workers/:worker_id/emergency-contacts

Replace emergency contacts

PUT the full emergency contacts list (replace semantics).

Parameters
worker_id string · path
required
Body · UpdateEmergencyContactsapplication/json
contacts array
required
propertyName anything
Responses
200Successful Response
PUT /workers/example/emergency-contacts
1curl -X PUT "http://localhost:8000/workers/example/emergency-contacts" \
2 -H "Content-Type: application/json" \
3 -d '{"contacts":[{"name":"string","id":"string","relationship":"string","phone":"string","email":"string","is_primary":{}}]}'
1fetch("http://localhost:8000/workers/example/emergency-contacts", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "contacts": [
6 {
7 "name": "string",
8 "id": "string",
9 "relationship": "string",
10 "phone": "string",
11 "email": "string",
12 "is_primary": {}
13 }
14 ]
15}),
16})
17 .then((res) => res.json())
18 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/workers/example/emergency-contacts",
5 json={"contacts":[{"name":"string","id":"string","relationship":"string","phone":"string","email":"string","is_primary":{}}]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
PUT /workers/:worker_id/right-to-work

Replace right-to-work documents

PUT the full right-to-work document list (replace semantics).

Parameters
worker_id string · path
required
Body · UpdateRightToWorkapplication/json
records array
required
propertyName anything
Responses
200Successful Response
PUT /workers/example/right-to-work
1curl -X PUT "http://localhost:8000/workers/example/right-to-work" \
2 -H "Content-Type: application/json" \
3 -d '{"records":[{"document_type":"passport","id":"string","country":"string","number":"string","issued_date":"string","expiry_date":"string","notes":"string"}]}'
1fetch("http://localhost:8000/workers/example/right-to-work", {
2 method: "PUT",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "records": [
6 {
7 "document_type": "passport",
8 "id": "string",
9 "country": "string",
10 "number": "string",
11 "issued_date": "string",
12 "expiry_date": "string",
13 "notes": "string"
14 }
15 ]
16}),
17})
18 .then((res) => res.json())
19 .then(console.log);
1import requests
2
3response = requests.put(
4 "http://localhost:8000/workers/example/right-to-work",
5 json={"records":[{"document_type":"passport","id":"string","country":"string","number":"string","issued_date":"string","expiry_date":"string","notes":"string"}]},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
DELETE /workers/:worker_id undocumented

/workers/:worker_id

Parameters
worker_id string · path
required
Responses
200Successful Response
DELETE /workers/example
1curl -X DELETE "http://localhost:8000/workers/example"
1fetch("http://localhost:8000/workers/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/workers/example")
4print(response.json())
200 Example Response
No Body
DELETE /workers/fields/:field_id undocumented

/workers/fields/:field_id

Parameters
field_id string · path
required
Responses
200Successful Response
DELETE /workers/fields/example
1curl -X DELETE "http://localhost:8000/workers/fields/example"
1fetch("http://localhost:8000/workers/fields/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/workers/fields/example")
4print(response.json())
200 Example Response
No Body
DELETE /workers/:worker_id/notes/:note_id undocumented

/workers/:worker_id/notes/:note_id

Parameters
worker_id string · path
required
note_id string · path
required
Responses
200Successful Response
DELETE /workers/example/notes/example
1curl -X DELETE "http://localhost:8000/workers/example/notes/example"
1fetch("http://localhost:8000/workers/example/notes/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/workers/example/notes/example")
4print(response.json())
200 Example Response
No Body
DELETE /workers/:worker_id/employment/:record_id undocumented

/workers/:worker_id/employment/:record_id

Parameters
worker_id string · path
required
record_id string · path
required
Responses
200Successful Response
DELETE /workers/example/employment/example
1curl -X DELETE "http://localhost:8000/workers/example/employment/example"
1fetch("http://localhost:8000/workers/example/employment/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/workers/example/employment/example")
4print(response.json())
200 Example Response
No Body
DELETE /workers/:worker_id/documents/folders/:folder_id undocumented

/workers/:worker_id/documents/folders/:folder_id

Parameters
worker_id string · path
required
folder_id string · path
required
Responses
200Successful Response
DELETE /workers/example/documents/folders/example
1curl -X DELETE "http://localhost:8000/workers/example/documents/folders/example"
1fetch("http://localhost:8000/workers/example/documents/folders/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/workers/example/documents/folders/example")
4print(response.json())
200 Example Response
No Body
DELETE /workers/:worker_id/documents/:document_id undocumented

/workers/:worker_id/documents/:document_id

Parameters
worker_id string · path
required
document_id string · path
required
Responses
200Successful Response
DELETE /workers/example/documents/example
1curl -X DELETE "http://localhost:8000/workers/example/documents/example"
1fetch("http://localhost:8000/workers/example/documents/example", { method: "DELETE" })
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.delete("http://localhost:8000/workers/example/documents/example")
4print(response.json())
200 Example Response
No Body
GET /workers undocumented

/workers

Responses
200Successful Response
GET /workers
1curl "http://localhost:8000/workers"
1fetch("http://localhost:8000/workers")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/workers")
4print(response.json())
200 Example Response
No Body
GET /workers/:worker_id undocumented

/workers/:worker_id

Parameters
worker_id string · path
required
Responses
200Successful Response
GET /workers/example
1curl "http://localhost:8000/workers/example"
1fetch("http://localhost:8000/workers/example")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/workers/example")
4print(response.json())
200 Example Response
No Body
GET /workers/:worker_id/routes undocumented

/workers/:worker_id/routes

Where a worker went while clocked in on ?day=YYYY-MM-DD, that day being the worker's own location's.

Parameters
worker_id string · path
required
Responses
200Successful Response
GET /workers/example/routes
1curl "http://localhost:8000/workers/example/routes"
1fetch("http://localhost:8000/workers/example/routes")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/workers/example/routes")
4print(response.json())
200 Example Response
No Body
GET /workers/locations/:location_id/members undocumented

/workers/locations/:location_id/members

Workers currently assigned to a location — powers the delete dialog count.

Parameters
location_id string · path
required
Responses
200Successful Response
GET /workers/locations/example/members
1curl "http://localhost:8000/workers/locations/example/members"
1fetch("http://localhost:8000/workers/locations/example/members")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/workers/locations/example/members")
4print(response.json())
200 Example Response
No Body
GET /workers/fields undocumented

/workers/fields

Responses
200Successful Response
GET /workers/fields
1curl "http://localhost:8000/workers/fields"
1fetch("http://localhost:8000/workers/fields")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/workers/fields")
4print(response.json())
200 Example Response
No Body
GET /workers/:worker_id/fields undocumented

/workers/:worker_id/fields

Field definitions merged with this worker's values. Sensitive-flagged fields are omitted entirely unless the caller holds workers.sensitive.*.

Parameters
worker_id string · path
required
Responses
200Successful Response
GET /workers/example/fields
1curl "http://localhost:8000/workers/example/fields"
1fetch("http://localhost:8000/workers/example/fields")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/workers/example/fields")
4print(response.json())
200 Example Response
No Body
GET /workers/:worker_id/personal undocumented

/workers/:worker_id/personal

Personal profile bundle: personal details, emergency contacts, right to work, qualifications (all gated on workers.personal.*).

Parameters
worker_id string · path
required
Responses
200Successful Response
GET /workers/example/personal
1curl "http://localhost:8000/workers/example/personal"
1fetch("http://localhost:8000/workers/example/personal")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/workers/example/personal")
4print(response.json())
200 Example Response
No Body
GET /workers/:worker_id/bank-details undocumented

/workers/:worker_id/bank-details

Bank details + identity numbers (gated on workers.sensitive.*).

Parameters
worker_id string · path
required
Responses
200Successful Response
GET /workers/example/bank-details
1curl "http://localhost:8000/workers/example/bank-details"
1fetch("http://localhost:8000/workers/example/bank-details")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/workers/example/bank-details")
4print(response.json())
200 Example Response
No Body
GET /workers/:worker_id/notes undocumented

/workers/:worker_id/notes

Parameters
worker_id string · path
required
Responses
200Successful Response
GET /workers/example/notes
1curl "http://localhost:8000/workers/example/notes"
1fetch("http://localhost:8000/workers/example/notes")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/workers/example/notes")
4print(response.json())
200 Example Response
No Body
GET /workers/:worker_id/compensation undocumented

/workers/:worker_id/compensation

Parameters
worker_id string · path
required
Responses
200Successful Response
GET /workers/example/compensation
1curl "http://localhost:8000/workers/example/compensation"
1fetch("http://localhost:8000/workers/example/compensation")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/workers/example/compensation")
4print(response.json())
200 Example Response
No Body
GET /workers/:worker_id/compensation/current undocumented

/workers/:worker_id/compensation/current

GET /workers/:worker_id/compensation/current: the worker and their latest package.

Parameters
worker_id string · path
required
Responses
200Successful Response
GET /workers/example/compensation/current
1curl "http://localhost:8000/workers/example/compensation/current"
1fetch("http://localhost:8000/workers/example/compensation/current")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/workers/example/compensation/current")
4print(response.json())
200 Example Response
No Body
GET /workers/:worker_id/employment undocumented

/workers/:worker_id/employment

Parameters
worker_id string · path
required
Responses
200Successful Response
GET /workers/example/employment
1curl "http://localhost:8000/workers/example/employment"
1fetch("http://localhost:8000/workers/example/employment")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/workers/example/employment")
4print(response.json())
200 Example Response
No Body
GET /workers/:worker_id/documents undocumented

/workers/:worker_id/documents

Parameters
worker_id string · path
required
Responses
200Successful Response
GET /workers/example/documents
1curl "http://localhost:8000/workers/example/documents"
1fetch("http://localhost:8000/workers/example/documents")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/workers/example/documents")
4print(response.json())
200 Example Response
No Body
GET /workers/:worker_id/documents/:document_id/view undocumented

/workers/:worker_id/documents/:document_id/view

Short-lived presigned GET URL for a worker document.

Parameters
worker_id string · path
required
document_id string · path
required
Responses
200Successful Response
GET /workers/example/documents/example/view
1curl "http://localhost:8000/workers/example/documents/example/view"
1fetch("http://localhost:8000/workers/example/documents/example/view")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/workers/example/documents/example/view")
4print(response.json())
200 Example Response
No Body
PATCH /workers/:worker_id

Update a worker profile

Parameters
worker_id string · path
required
Body · UpdateWorkerapplication/json
full_name string · min length: 1 · max length: 200
employee_id string · max length: 50
department_id string
manager_id string
status
location_mrn string · max length: 120
work_location string · max length: 200
work_mode
expected_hours_per_day number
work_email string · max length: 200
work_phone string · max length: 50
notes string · max length: 5000
propertyName anything
Responses
200Successful Response
PATCH /workers/example
1curl -X PATCH "http://localhost:8000/workers/example" \
2 -H "Content-Type: application/json" \
3 -d '{"full_name":"string","employee_id":"string","department_id":"string","manager_id":"string","status":"active","location_mrn":"string","work_location":"string","work_mode":"onsite","expected_hours_per_day":1.5,"work_email":"string","work_phone":"string","notes":"string"}'
1fetch("http://localhost:8000/workers/example", {
2 method: "PATCH",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "full_name": "string",
6 "employee_id": "string",
7 "department_id": "string",
8 "manager_id": "string",
9 "status": "active",
10 "location_mrn": "string",
11 "work_location": "string",
12 "work_mode": "onsite",
13 "expected_hours_per_day": 1.5,
14 "work_email": "string",
15 "work_phone": "string",
16 "notes": "string"
17}),
18})
19 .then((res) => res.json())
20 .then(console.log);
1import requests
2
3response = requests.patch(
4 "http://localhost:8000/workers/example",
5 json={"full_name":"string","employee_id":"string","department_id":"string","manager_id":"string","status":"active","location_mrn":"string","work_location":"string","work_mode":"onsite","expected_hours_per_day":1.5,"work_email":"string","work_phone":"string","notes":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /workers

Create a worker profile

Body · CreateWorkerapplication/json
member_mrn string · min length: 1
required
full_name string · max length: 200
job_title string · min length: 1 · max length: 200
required
hire_date string · min length: 1
required
employee_id string · max length: 50
department_id string
manager_id string
employment_type
status
location_mrn string · max length: 120
work_location string · max length: 200
work_mode
expected_hours_per_day number
work_email string · max length: 200 · email
work_phone string · max length: 50
notes string · max length: 5000
propertyName anything
Responses
200Successful Response
POST /workers
1curl -X POST "http://localhost:8000/workers" \
2 -H "Content-Type: application/json" \
3 -d '{"member_mrn":"string","full_name":"string","job_title":"string","hire_date":"string","employee_id":"string","department_id":"string","manager_id":"string","employment_type":"employee","status":"active","location_mrn":"string","work_location":"string","work_mode":"onsite","expected_hours_per_day":1.5,"work_email":"user@example.com","work_phone":"string","notes":"string"}'
1fetch("http://localhost:8000/workers", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "member_mrn": "string",
6 "full_name": "string",
7 "job_title": "string",
8 "hire_date": "string",
9 "employee_id": "string",
10 "department_id": "string",
11 "manager_id": "string",
12 "employment_type": "employee",
13 "status": "active",
14 "location_mrn": "string",
15 "work_location": "string",
16 "work_mode": "onsite",
17 "expected_hours_per_day": 1.5,
18 "work_email": "user@example.com",
19 "work_phone": "string",
20 "notes": "string"
21}),
22})
23 .then((res) => res.json())
24 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/workers",
5 json={"member_mrn":"string","full_name":"string","job_title":"string","hire_date":"string","employee_id":"string","department_id":"string","manager_id":"string","employment_type":"employee","status":"active","location_mrn":"string","work_location":"string","work_mode":"onsite","expected_hours_per_day":1.5,"work_email":"user@example.com","work_phone":"string","notes":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
POST /workers/locations/:location_id/reassignment

Reassign workers off a location

Move every worker assigned to a location to another one (or clear it). Body: {"target": "<location mrn>"} to move, or omit/empty to set to none. Called by the location delete dialog before the location is removed.

Parameters
location_id string · path
required
Body · ReassignLocationapplication/json
target string
propertyName anything
Responses
200Successful Response
POST /workers/locations/example/reassignment
1curl -X POST "http://localhost:8000/workers/locations/example/reassignment" \
2 -H "Content-Type: application/json" \
3 -d '{"target":"string"}'
1fetch("http://localhost:8000/workers/locations/example/reassignment", {
2 method: "POST",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "target": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.post(
4 "http://localhost:8000/workers/locations/example/reassignment",
5 json={"target":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
DELETE /workspaces/:id

Delete workspace

DELETE /workspaces/:id: lock the workspace and delete it permanently after the hold. Owner only.

Parameters
id string · path
required
Body · DeleteWorkspaceapplication/json
confirmation string · min length: 1
required
propertyName anything
Responses
200Successful Response
DELETE /workspaces/example
1curl -X DELETE "http://localhost:8000/workspaces/example" \
2 -H "Content-Type: application/json" \
3 -d '{"confirmation":"string"}'
1fetch("http://localhost:8000/workspaces/example", {
2 method: "DELETE",
3 headers: { "Content-Type": "application/json" },
4 body: JSON.stringify({
5 "confirmation": "string"
6}),
7})
8 .then((res) => res.json())
9 .then(console.log);
1import requests
2
3response = requests.delete(
4 "http://localhost:8000/workspaces/example",
5 json={"confirmation":"string"},
6)
7print(response.json())
Editable: Test Request sends exactly what's here
200 Example Response
No Body
GET /workspace-members undocumented

/workspace-members

GET /workspace-members: the Members screen roster, with workspace role, joined or invited, and last sign-in.

Responses
200Successful Response
GET /workspace-members
1curl "http://localhost:8000/workspace-members"
1fetch("http://localhost:8000/workspace-members")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/workspace-members")
4print(response.json())
200 Example Response
No Body
GET /workspaces/current undocumented

/workspaces/current

GET /workspaces/current: the caller's workspace as the row says it is now. The session carries the slug as it was at sign-in, which goes stale the moment an admin renames the workspace under a member's open tab. The waiting page polls this to learn the new address, so it answers from the row, never from the session.

Responses
200Successful Response
GET /workspaces/current
1curl "http://localhost:8000/workspaces/current"
1fetch("http://localhost:8000/workspaces/current")
2 .then((res) => res.json())
3 .then(console.log);
1import requests
2
3response = requests.get("http://localhost:8000/workspaces/current")
4print(response.json())
200 Example Response
No Body
WS/ws

/ws

Platform WebSocket handler — authenticates via session and holds connection open.

Subdomain api
Connect
1const socket = new WebSocket("ws://localhost:8000/ws");
2
3socket.onopen = () => socket.send("hello");
4socket.onmessage = (event) => console.log(event.data);
Connection Log
Not connected
WS/calls/ws

/calls/ws

WebSocket handler for call signaling and state updates.

Subdomain api
Connect
1const socket = new WebSocket("ws://localhost:8000/calls/ws");
2
3socket.onopen = () => socket.send("hello");
4socket.onmessage = (event) => console.log(event.data);
Connection Log
Not connected