Processes Endpoint Reference
Reference for 53 Processes endpoints of the Talonic API: parameters, request body, curl and Node.js examples, response and errors.
The Process Plane: processes that govern what happens to documents and items (reading, look-ups, calls, sign-offs, forms, mail, AI steps) and who signs. Not an app: every route needs the key's person to hold a Process Plane permission in the workspace (process_view to read, process_run to start, process_sign to sign), read live on each call.
Every request needs an API key in the Authorization: Bearer header. Examples read the key from the TALONIC_API_KEY environment variable.
/v1/processescurl
curl -X GET 'https://api.talonic.com/v1/processes' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes", {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
const data = await res.json();Response 200 — The processes.
{
"data": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"liveVersion": 1,
"folder": "string",
"tags": [
"string"
],
"steps": 1,
"editedAt": "2026-01-15T09:30:00Z"
}
]
}- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
/v1/processesRequest body (application/json)
curl
curl -X POST 'https://api.talonic.com/v1/processes' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"description": "string",
"workflow": {},
"name": "string",
"draft": {}
}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"description": "string",
"workflow": {},
"name": "string",
"draft": {}
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 201: no JSON bodyResponse 201: { id, name, steps, explanation, questions, stillOpen, notes }.
- 400 — The request is invalid.
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
/v1/processes/peoplecurl
curl -X GET 'https://api.talonic.com/v1/processes/people' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes/people", {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: { roles, groups }.
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
/v1/processes/mailboxescurl
curl -X GET 'https://api.talonic.com/v1/processes/mailboxes' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes/mailboxes", {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: { data: [{ id, name, type, canSend, ownership, mine, usable }] }.
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
/v1/processes/mailboxes/{mailboxId}/ownershipPath parameters
Request body (application/json)
curl
curl -X PUT 'https://api.talonic.com/v1/processes/mailboxes/3fa85f64-5717-4562-b3fc-2c963f66afa6/ownership' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"ownership": "individual"
}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes/mailboxes/3fa85f64-5717-4562-b3fc-2c963f66afa6/ownership", {
method: 'PUT',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"ownership": "individual"
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: { id, ownership }.
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
- 404 — The requested resource was not found.
/v1/processes/secretscurl
curl -X GET 'https://api.talonic.com/v1/processes/secrets' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes/secrets", {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: { data: [name] }.
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
/v1/processes/secrets/{name}Path parameters
Request body (application/json)
curl
curl -X PUT 'https://api.talonic.com/v1/processes/secrets/name' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"value": "string"
}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes/secrets/name", {
method: 'PUT',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"value": "string"
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: Stored.
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
/v1/processes/secrets/{name}Path parameters
curl
curl -X DELETE 'https://api.talonic.com/v1/processes/secrets/name' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes/secrets/name", {
method: 'DELETE',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: Removed.
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
/v1/processes/lookup-datacurl
curl -X GET 'https://api.talonic.com/v1/processes/lookup-data' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes/lookup-data", {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: { state, indexes: [{ name, fields, rows, ready }] }.
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
/v1/processes/runs/{runId}/retryPath parameters
curl
curl -X POST 'https://api.talonic.com/v1/processes/runs/3fa85f64-5717-4562-b3fc-2c963f66afa6/retry' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes/runs/3fa85f64-5717-4562-b3fc-2c963f66afa6/retry", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 201: no JSON bodyResponse 201: { retried }.
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
- 404 — The requested resource was not found.
/v1/processes/runsQuery parameters
curl
curl -X GET 'https://api.talonic.com/v1/processes/runs' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes/runs", {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: { runs, page, more }.
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
/v1/processes/waitingcurl
curl -X GET 'https://api.talonic.com/v1/processes/waiting' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes/waiting", {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: { data: [{ processId, process, stepId, step, waiting }] }.
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
/v1/processes/{id}Path parameters
curl
curl -X GET 'https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6", {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: The process.
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
- 404 — The requested resource was not found.
/v1/processes/{id}Path parameters
curl
curl -X DELETE 'https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6", {
method: 'DELETE',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: Deleted.
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
- 404 — The requested resource was not found.
/v1/processes/{id}Required scope: processes:write
Path parameters
Request body (application/json)
curl
curl -X PATCH 'https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "string",
"folder": "string",
"tags": [
"string"
]
}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6", {
method: 'PATCH',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"name": "string",
"folder": "string",
"tags": [
"string"
]
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: The process.
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
- 404 — The requested resource was not found.
- 422 — An empty name.
/v1/processes/{id}/checkPath parameters
curl
curl -X GET 'https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/check' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/check", {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: { canPublish, stillNeeded: [{ stepId, key, message }], problems }.
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
- 404 — The requested resource was not found.
/v1/processes/{id}/changesPath parameters
curl
curl -X GET 'https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/changes' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/changes", {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: { changes: [{ type, stepId, text }] }.
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
- 404 — The requested resource was not found.
/v1/processes/{id}/versionsPath parameters
curl
curl -X GET 'https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/versions' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/versions", {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: The versions
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
- 404 — The requested resource was not found.
/v1/processes/{id}/versions/{n}/rollbackPath parameters
curl
curl -X POST 'https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/versions/1/rollback' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/versions/1/rollback", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 201: no JSON bodyResponse 201: The version now live.
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
- 404 — The requested resource was not found.
/v1/processes/{id}/changePath parameters
Request body (application/json)
curl
curl -X POST 'https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/change' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"change": "string",
"stepId": "string",
"confirmed": true
}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/change", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"change": "string",
"stepId": "string",
"confirmed": true
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 201: no JSON bodyResponse 201: { status: changed, explanation, changes, questions, stillOpen }, { status: needs_confirmation, reductions } or { status: refused, why }.
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
- 404 — The requested resource was not found.
/v1/processes/{id}/draftPath parameters
Request body (application/json)
curl
curl -X PUT 'https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/draft' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"draft": {},
"expectedUpdatedAt": "2026-01-15T09:30:00Z",
"confirmed": true
}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/draft", {
method: 'PUT',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"draft": {},
"expectedUpdatedAt": "2026-01-15T09:30:00Z",
"confirmed": true
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: { status: changed, editedAt, stillOpen } or { status: needs_confirmation, reductions }.
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
- 404 — The requested resource was not found.
- 409 — The draft was changed by someone else in the meantime.
/v1/processes/{id}/publishPath parameters
Request body (application/json)
curl
curl -X POST 'https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/publish' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"reason": "string"
}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/publish", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"reason": "string"
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 201: no JSON bodyResponse 201: { version, changed }.
- 400 — The draft still needs something; the answer lists it.
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
- 404 — The requested resource was not found.
/v1/processes/{id}/test-runPath parameters
Request body (application/json)
curl
curl -X POST 'https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/test-run' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"documentIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
]
}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/test-run", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"documentIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
]
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 201: no JSON bodyResponse 201: { processId, endsAt, runId }; follow it with GET /v1/processes/{processId}/status.
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
- 404 — The requested resource was not found.
/v1/processes/{id}/addressPath parameters
curl
curl -X GET 'https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/address' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/address", {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: { exists, createdAt, signedWith, test: { exists, createdAt } }.
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
- 404 — The requested resource was not found.
/v1/processes/{id}/addressPath parameters
Request body (application/json)
curl
curl -X PUT 'https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/address' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"test": true,
"replace": true
}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/address", {
method: 'PUT',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"test": true,
"replace": true
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: { token, path }.
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
- 404 — The requested resource was not found.
- 409 — The address exists and
replacewas not sent.
/v1/processes/{id}/address/signingPath parameters
Request body (application/json)
curl
curl -X PUT 'https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/address/signing' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"secretName": "string"
}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/address/signing", {
method: 'PUT',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"secretName": "string"
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: Set.
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
- 404 — The requested resource was not found.
/v1/processes/{id}/itemsPath parameters
Query parameters
curl
curl -X GET 'https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/items' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/items", {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: { runId, items: [{ documentId, name, state, at }] }.
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
/v1/processes/{id}/itemsPath parameters
Request body (application/json)
curl
curl -X POST 'https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/items' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"values": {
"Vendor": "Acme"
}
}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/items", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"values": {
"Vendor": "Acme"
}
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 201: no JSON bodyResponse 201: { runId, process, reply? }.
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
- 404 — The requested resource was not found.
- 422 — A field name the process does not have (the answer lists its fields).
/v1/processes/{id}/runPath parameters
Request body (application/json)
curl
curl -X POST 'https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/run' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"documentIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
]
}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/run", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"documentIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
]
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 201: no JSON bodyResponse 201: { runId, pipelineIds }.
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
/v1/processes/{id}/statusPath parameters
Query parameters
curl
curl -X GET 'https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/status' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/status", {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: The run's status by step.
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
/v1/processes/{id}/runs/{runId}/items/{itemKey}Path parameters
curl
curl -X GET 'https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/runs/3fa85f64-5717-4562-b3fc-2c963f66afa6/items/itemKey' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/runs/3fa85f64-5717-4562-b3fc-2c963f66afa6/items/itemKey", {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: { steps: [{ stepId, name, kind, status, startedAt, endedAt, note, canRetry }], values: [{ name, value }] }.
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
/v1/processes/{id}/runs/{runId}/holds/{stepId}/releasePath parameters
Request body (application/json)
curl
curl -X POST 'https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/runs/3fa85f64-5717-4562-b3fc-2c963f66afa6/holds/3fa85f64-5717-4562-b3fc-2c963f66afa6/release' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"items": [
"string"
],
"decision": "string"
}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/runs/3fa85f64-5717-4562-b3fc-2c963f66afa6/holds/3fa85f64-5717-4562-b3fc-2c963f66afa6/release", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"items": [
"string"
],
"decision": "string"
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 201: no JSON bodyResponse 201: { released, alreadySigned }.
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
/v1/processes/{id}/runs/{runId}/holds/{stepId}/send-backPath parameters
Request body (application/json)
curl
curl -X POST 'https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/runs/3fa85f64-5717-4562-b3fc-2c963f66afa6/holds/3fa85f64-5717-4562-b3fc-2c963f66afa6/send-back' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"items": [
"string"
],
"reason": "string"
}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/runs/3fa85f64-5717-4562-b3fc-2c963f66afa6/holds/3fa85f64-5717-4562-b3fc-2c963f66afa6/send-back", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"items": [
"string"
],
"reason": "string"
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 201: no JSON bodyResponse 201: { sentBack }.
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
/v1/processes/lookup-data/buildRequired scope: processes:write
curl
curl -X POST 'https://api.talonic.com/v1/processes/lookup-data/build' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes/lookup-data/build", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 201: no JSON bodyResponse 201: { queued }.
- 400 — The request is invalid.
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
/v1/processes/groupsRequired scope: processes:write
Request body (application/json)
curl
curl -X POST 'https://api.talonic.com/v1/processes/groups' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "string",
"description": "string",
"member_ids": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
]
}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes/groups", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"name": "string",
"description": "string",
"member_ids": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
]
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 201: no JSON bodyResponse 201: { id, name, description, members: [{ id, name, email }] }.
- 400 — The request is invalid.
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
- 409 — A group with that name exists.
/v1/processes/groups/{groupId}Required scope: processes:write
Path parameters
curl
curl -X DELETE 'https://api.talonic.com/v1/processes/groups/3fa85f64-5717-4562-b3fc-2c963f66afa6' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes/groups/3fa85f64-5717-4562-b3fc-2c963f66afa6", {
method: 'DELETE',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: { deleted: true }.
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
- 404 — The requested resource was not found.
/v1/processes/groups/{groupId}Required scope: processes:write
Path parameters
Request body (application/json)
curl
curl -X PATCH 'https://api.talonic.com/v1/processes/groups/3fa85f64-5717-4562-b3fc-2c963f66afa6' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "string",
"description": "string"
}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes/groups/3fa85f64-5717-4562-b3fc-2c963f66afa6", {
method: 'PATCH',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"name": "string",
"description": "string"
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: The group with its members.
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
- 404 — The requested resource was not found.
- 409 — A group with that name exists.
/v1/processes/groups/{groupId}/membersRequired scope: processes:write
Path parameters
Request body (application/json)
curl
curl -X PUT 'https://api.talonic.com/v1/processes/groups/3fa85f64-5717-4562-b3fc-2c963f66afa6/members' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"member_ids": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
]
}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes/groups/3fa85f64-5717-4562-b3fc-2c963f66afa6/members", {
method: 'PUT',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"member_ids": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
]
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: The group with its members.
- 400 — The request is invalid.
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
- 404 — The requested resource was not found.
/v1/processes/{id}/exportRequired scope: read
Path parameters
curl
curl -X GET 'https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/export' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/export", {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: { format: talonic-process, version: 1, name, exportedAt, doc }.
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
- 404 — The requested resource was not found.
/v1/processes/{id}/resourcesRequired scope: read
Path parameters
Query parameters
curl
curl -X GET 'https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/resources' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/resources", {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: { data: [{ kind, id, version, stepIds, madeByProcess }] }.
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
- 404 — The requested resource was not found.
/v1/processes/{id}/extract-pipelineRequired scope: processes:write
Path parameters
Request body (application/json)
curl
curl -X POST 'https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/extract-pipeline' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "string"
}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/extract-pipeline", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"name": "string"
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 201: no JSON bodyResponse 201: { process, pipeline }.
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
- 404 — The requested resource was not found.
- 422 — The draft has no document steps to move, or it is already a pipeline.
/v1/processes/{id}/tryRequired scope: processes:write
Path parameters
Request body (application/json)
curl
curl -X POST 'https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/try' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"values": {},
"choices": {}
}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/try", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"values": {},
"choices": {}
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 201: no JSON bodyResponse 201: { path: [stepId], stop }.
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
- 404 — The requested resource was not found.
/v1/processes/{id}/form-preview/{stepId}Required scope: read
Path parameters
curl
curl -X GET 'https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/form-preview/3fa85f64-5717-4562-b3fc-2c963f66afa6' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/form-preview/3fa85f64-5717-4562-b3fc-2c963f66afa6", {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: { title, intro, submitLabel, needsCode, fields: [{ key, label, help, required, kind, choices }] }.
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
- 404 — The requested resource was not found.
/v1/processes/{id}/examplesRequired scope: read
Path parameters
curl
curl -X GET 'https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/examples' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/examples", {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: { data: [{ id, itemKey, label, note, createdAt, steps }] }.
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
- 404 — The requested resource was not found.
/v1/processes/{id}/examplesRequired scope: processes:write
Path parameters
Request body (application/json)
curl
curl -X POST 'https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/examples' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"runId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"itemKey": "string",
"note": "string"
}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/examples", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"runId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"itemKey": "string",
"note": "string"
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 201: no JSON bodyResponse 201: { kept: true }.
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
- 404 — The requested resource was not found.
- 409 — The item has not been through any step yet.
/v1/processes/{id}/examples/{exampleId}Required scope: processes:write
Path parameters
curl
curl -X DELETE 'https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/examples/3fa85f64-5717-4562-b3fc-2c963f66afa6' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/examples/3fa85f64-5717-4562-b3fc-2c963f66afa6", {
method: 'DELETE',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: { removed }.
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
- 404 — The requested resource was not found.
/v1/processes/{id}/evaluateRequired scope: read
Path parameters
curl
curl -X POST 'https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/evaluate' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/evaluate", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 201: no JSON bodyResponse 201: { total, same, changed: [{ exampleId, label, was, now, partsAt, stop }] }.
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
- 404 — The requested resource was not found.
/v1/processes/{id}/scriptsRequired scope: read
Path parameters
curl
curl -X GET 'https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/scripts' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/scripts", {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: { [stepId]: { tested?, approved? } }.
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
- 404 — The requested resource was not found.
/v1/processes/{id}/steps/{stepId}/script/draftRequired scope: processes:write
Path parameters
Request body (application/json)
curl
curl -X POST 'https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/steps/3fa85f64-5717-4562-b3fc-2c963f66afa6/script/draft' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"purpose": "string"
}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/steps/3fa85f64-5717-4562-b3fc-2c963f66afa6/script/draft", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"purpose": "string"
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 201: no JSON bodyResponse 201: { lua, hash, explanation }.
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
- 404 — The requested resource was not found.
- 422 — The step writes no fields yet, or no script could be written.
- 503 — Script writing is unavailable for the moment; try again.
/v1/processes/{id}/steps/{stepId}/script/testRequired scope: processes:write
Path parameters
curl
curl -X POST 'https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/steps/3fa85f64-5717-4562-b3fc-2c963f66afa6/script/test' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/steps/3fa85f64-5717-4562-b3fc-2c963f66afa6/script/test", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 201: no JSON bodyResponse 201: { hash, ok, results }.
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
- 404 — The requested resource was not found.
- 409 — No records to test on yet.
- 504 — The test did not finish in time; try again.
/v1/processes/{id}/steps/{stepId}/script/approveRequired scope: processes:write
Path parameters
Request body (application/json)
curl
curl -X POST 'https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/steps/3fa85f64-5717-4562-b3fc-2c963f66afa6/script/approve' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"hash": "string"
}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/steps/3fa85f64-5717-4562-b3fc-2c963f66afa6/script/approve", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"hash": "string"
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 201: no JSON bodyResponse 201: { approved: true, hash }.
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
- 404 — The requested resource was not found.
- 409 — The script changed since the hash was read, or it has no passing test.
/v1/processes/{id}/sign-offs/{stepId}Required scope: read
Path parameters
curl
curl -X GET 'https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/sign-offs/3fa85f64-5717-4562-b3fc-2c963f66afa6' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/sign-offs/3fa85f64-5717-4562-b3fc-2c963f66afa6", {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: { process, step, canSign, items: [{ runId, documentId, name, since, values, alreadySigned }], history }.
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
- 404 — The requested resource was not found.
/v1/processes/{id}/runs/{runId}/steps/{stepId}/items/{itemKey}/retryRequired scope: processes:write
Path parameters
curl
curl -X POST 'https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/runs/3fa85f64-5717-4562-b3fc-2c963f66afa6/steps/3fa85f64-5717-4562-b3fc-2c963f66afa6/items/itemKey/retry' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/processes/3fa85f64-5717-4562-b3fc-2c963f66afa6/runs/3fa85f64-5717-4562-b3fc-2c963f66afa6/steps/3fa85f64-5717-4562-b3fc-2c963f66afa6/items/itemKey/retry", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 201: no JSON bodyResponse 201: { retried }; false when the step had not failed.
- 403 — The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
- 404 — The requested resource was not found.
- 422 — This step cannot be tried again; run the item again instead.