Using the DevFlow API
Give an assistant or a script access to your tickets — acting as you, with the same access your own login has. A personal API token is the way in.
What this is for
A personal API token lets a script, a CI job, or an assistant like Claude Code read and create tickets on your behalf — with the same tenant, the same role, and the same visibility your browser session already has. It cannot do anything your account can't do, and it can't touch anything outside the ticket surface: no settings, no billing, no other user's tokens.
Get a token
In DevFlow, go to Settings → API tokens —
or jump straight there at
https://app.digitaldevflow.com/settings?tab=api-tokens.
Click New token, give it a name, and copy it.
The token is shown exactly once — there is no way to reveal it again later. It expires one year after you create it. Rotate replaces it with a new one in a single step (the old one stops working immediately); Revoke kills it outright. Deactivating your DevFlow account revokes every token you've created — there is no separate step for that.
Send it
Send the token as a standard bearer token, on every request:
Authorization: Bearer dft_a1b2c3d4…
curl https://app.digitaldevflow.com/api/users/me \ -H "Authorization: Bearer dft_a1b2c3d4…"
What a token can reach
Every route below is exactly what a token can reach — nothing more. Each example is real: the response shape is checked, on every build, against DevFlow's actual data types.
/api/projects List the projects your token's caller can see, paged.
Response
{
"items": [
{
"id": "00000000-0000-0000-0000-000000000003",
"name": "Acme Corp Website",
"key": "ACME",
"description": "Marketing site rebuild and ongoing support",
"status": 0,
"clientName": "Acme Corp",
"clientId": "00000000-0000-0000-0000-000000000002",
"subclientId": null,
"subclientName": null,
"ticketCount": 14,
"projectManagerId": "00000000-0000-0000-0000-000000000001",
"projectManagerName": "Jordan Lee",
"createdAt": "2026-01-15T09:00:00Z",
"teamMembers": [
{
"userId": "00000000-0000-0000-0000-000000000001",
"displayName": "Jordan Lee",
"email": "jordan@acmeconsulting.example",
"avatarUrl": null,
"joinedAt": "2026-01-15T09:00:00Z",
"isDirect": true,
"inheritedFromSubclientId": null,
"inheritedFromSubclientName": null
}
]
}
],
"totalCount": 1,
"page": 1,
"pageSize": 50,
"totalPages": 1
} /api/projects/{id} Get one project by id.
Response
{
"id": "00000000-0000-0000-0000-000000000003",
"name": "Acme Corp Website",
"key": "ACME",
"description": "Marketing site rebuild and ongoing support",
"status": 0,
"clientName": "Acme Corp",
"clientId": "00000000-0000-0000-0000-000000000002",
"subclientId": null,
"subclientName": null,
"ticketCount": 14,
"projectManagerId": "00000000-0000-0000-0000-000000000001",
"projectManagerName": "Jordan Lee",
"createdAt": "2026-01-15T09:00:00Z",
"teamMembers": [
{
"userId": "00000000-0000-0000-0000-000000000001",
"displayName": "Jordan Lee",
"email": "jordan@acmeconsulting.example",
"avatarUrl": null,
"joinedAt": "2026-01-15T09:00:00Z",
"isDirect": true,
"inheritedFromSubclientId": null,
"inheritedFromSubclientName": null
}
]
} /api/projects/{id} Rename a project, edit its description/status/client, or reassign its project manager. Requires Manager or above. Omitting clientId keeps the current client; send clearClient: true to unlink it.
Request body
{
"name": "Acme Corp Website",
"description": "Marketing site rebuild and ongoing support",
"status": 0,
"clientId": "00000000-0000-0000-0000-000000000002",
"projectManagerId": "00000000-0000-0000-0000-000000000001",
"clearClient": false
} Response
{
"id": "00000000-0000-0000-0000-000000000003",
"name": "Acme Corp Website",
"key": "ACME",
"description": "Marketing site rebuild and ongoing support",
"status": 0,
"clientName": "Acme Corp",
"clientId": "00000000-0000-0000-0000-000000000002",
"subclientId": null,
"subclientName": null,
"ticketCount": 14,
"projectManagerId": "00000000-0000-0000-0000-000000000001",
"projectManagerName": "Jordan Lee",
"createdAt": "2026-01-15T09:00:00Z",
"teamMembers": [
{
"userId": "00000000-0000-0000-0000-000000000001",
"displayName": "Jordan Lee",
"email": "jordan@acmeconsulting.example",
"avatarUrl": null,
"joinedAt": "2026-01-15T09:00:00Z",
"isDirect": true,
"inheritedFromSubclientId": null,
"inheritedFromSubclientName": null
}
]
} /api/projects/{projectId}/boards List the boards on a project.
Response
[
{
"id": "00000000-0000-0000-0000-000000000004",
"name": "Main Board",
"isDefault": true,
"columnCount": 2
}
] /api/projects/{projectId}/members Add a staff user to a project's team. Requires Manager or above.
Request body
{
"userId": "00000000-0000-0000-0000-000000000014"
} Response
{
"userId": "00000000-0000-0000-0000-000000000014",
"displayName": "Priya Shah",
"email": "priya@acmeconsulting.example",
"avatarUrl": null,
"joinedAt": "2026-09-10T09:00:00Z",
"isDirect": true,
"inheritedFromSubclientId": null,
"inheritedFromSubclientName": null
} /api/projects/{projectId}/members/{userId} Remove a staff user from a project's team. Requires Manager or above. Returns 204 No Content.
/api/projects/{projectId}/files List a project's files and links — name, type, size, uploader, folder, a deep link into the app, and whether the connector can read it as text.
readable is true
when the file's type and size are eligible for text extraction; a read can still
refuse attachment_no_text
(no text layer, or an unreadable one) or attachment_unavailable
(damaged file).
Response
[
{
"id": "00000000-0000-0000-0000-000000000030",
"projectId": "00000000-0000-0000-0000-000000000003",
"folderId": "00000000-0000-0000-0000-000000000031",
"fileName": "sow.pdf",
"contentType": "application/pdf",
"fileSizeBytes": 245760,
"isClientFacing": true,
"uploadedByUserId": "00000000-0000-0000-0000-000000000001",
"uploadedByDisplayName": "Jordan Lee",
"createdAt": "2026-08-20T09:00:00Z",
"updatedAt": "2026-08-20T09:00:00Z",
"externalUrl": null,
"isLink": false,
"folderName": "Contracts",
"kind": "file",
"appUrl": "https://app.digitaldevflow.com/projects/00000000-0000-0000-0000-000000000003?tab=files&file=00000000-0000-0000-0000-000000000030",
"readable": true,
"uploadChannel": null,
"uploadTokenName": null
},
{
"id": "00000000-0000-0000-0000-000000000032",
"projectId": "00000000-0000-0000-0000-000000000003",
"folderId": null,
"fileName": "Shared design board",
"contentType": "",
"fileSizeBytes": 0,
"isClientFacing": false,
"uploadedByUserId": "00000000-0000-0000-0000-000000000001",
"uploadedByDisplayName": "Jordan Lee",
"createdAt": "2026-08-22T11:00:00Z",
"updatedAt": "2026-08-22T11:00:00Z",
"externalUrl": "https://figma.com/file/example-board",
"isLink": true,
"folderName": null,
"kind": "link",
"appUrl": "https://app.digitaldevflow.com/projects/00000000-0000-0000-0000-000000000003?tab=files&file=00000000-0000-0000-0000-000000000032",
"readable": false,
"uploadChannel": null,
"uploadTokenName": null
}
] /api/projects/{projectId}/files/{id}/text
Read a project file's text content. Supported formats: plain text, Markdown, CSV,
JSON, HTML (tags stripped), PDF (text layer only — words space-separated in reading
order, ligatures normalised), DOCX (paragraphs and tables in document order — each
table row as cell | cell,
headings as #/##/###,
lists as 1./-)
and .xlsx (each sheet as a # <name>
heading, then rows as pipe-separated cells).
A file is capped at 5 MiB (5,242,880 bytes) for extraction,
and the returned text is capped at 60,000
characters, with truncation reported. The raw file bytes never leave the
server — only the extracted text does. Writes one audit row.
Query parameters:
page_from/page_to
(1-based, PDF only) select a page range;
offset/length
(character offsets, every other format) select a substring.
totalCharacters is
the characters available in the document (for PDF, in the requested page range);
truncated is true
whenever the returned text is shorter than that, for any reason. A PDF response always
reports pageCount;
every other format reports it as null.
Refusal codes
| Code | HTTP | Meaning |
|---|---|---|
| attachment_too_large | 413 | Over the 5 MiB (5,242,880-byte) extraction cap — names the cap and the file's size. |
| attachment_unsupported_type | 415 | The file's type is not in the supported list — including images — naming the MIME type; or it's an external link, not a stored file. |
| attachment_no_text | 422 | A recognised PDF with no text layer, or one whose text layer is unreadable (font has no Unicode mapping) — it looks like a scan; DevFlow does not run OCR. |
| attachment_unavailable | 422 | Could not be read — a missing or damaged blob, a malformed file, or a timed-out extraction. Try again, or open it in DevFlow. |
Response
{
"id": "00000000-0000-0000-0000-000000000030",
"fileName": "sow.pdf",
"contentType": "application/pdf",
"format": "pdf",
"contentTypeNote": null,
"text": "STATEMENT OF WORK\n\n1. Scope\nThis engagement covers the redesign of the Acme Corp marketing site...",
"totalCharacters": 60000,
"truncated": true,
"pageCount": 14,
"pageFrom": 1,
"pageTo": 5,
"bytesRead": 245760
} /api/boards/{id} Get one board, with its columns.
Response
{
"id": "00000000-0000-0000-0000-000000000004",
"projectId": "00000000-0000-0000-0000-000000000003",
"name": "Main Board",
"projectName": "Acme Corp Website",
"projectKey": "ACME",
"isDefault": true,
"columns": [
{
"id": "00000000-0000-0000-0000-000000000005",
"name": "Backlog",
"order": 1,
"wipLimit": null,
"category": 1,
"tickets": []
},
{
"id": "00000000-0000-0000-0000-000000000006",
"name": "In Progress",
"order": 2,
"wipLimit": 5,
"category": 3,
"tickets": [
{
"id": "00000000-0000-0000-0000-000000000008",
"ticketNumber": "ACME-42",
"title": "Homepage hero image is cut off on mobile",
"boardColumnId": "00000000-0000-0000-0000-000000000006",
"sortOrder": 1,
"priorityName": "High",
"priorityColor": "#EF8354",
"priorityLevel": 3,
"storyPoints": 3,
"dueDate": "2026-09-20T00:00:00Z",
"assignees": [
{
"userId": "00000000-0000-0000-0000-000000000001",
"displayName": "Jordan Lee",
"avatarUrl": null
}
],
"attachmentCount": 0,
"blockedByCount": 0,
"blockedByTicketNumber": null,
"isBlocked": false
}
]
}
]
} /api/priorities List every priority level the workspace defines.
Response
[
{
"id": "00000000-0000-0000-0000-000000000007",
"name": "High",
"level": 3,
"color": "#EF8354",
"icon": "arrow-up"
}
] /api/users List staff users, for picking an assignee by name.
Response
[
{
"id": "00000000-0000-0000-0000-000000000001",
"displayName": "Jordan Lee",
"email": "jordan@acmeconsulting.example",
"loginEmail": null,
"avatarUrl": null,
"role": "Member",
"isActive": true
}
] /api/users/me Get the identity your token authenticates as — the same user, tenant and role as your browser session.
Response
{
"id": "00000000-0000-0000-0000-000000000001",
"displayName": "Jordan Lee",
"email": "jordan@acmeconsulting.example",
"avatarUrl": null,
"role": "Member",
"isActive": true,
"createdAt": "2025-11-01T09:00:00Z",
"updatedAt": "2026-08-01T09:00:00Z",
"isOperator": false
} /api/tickets List tickets visible to your token's caller, paged and optionally filtered by project.
Response
{
"items": [
{
"id": "00000000-0000-0000-0000-000000000008",
"ticketNumber": "ACME-42",
"title": "Homepage hero image is cut off on mobile",
"boardColumnId": "00000000-0000-0000-0000-000000000006",
"sortOrder": 1,
"priorityName": "High",
"priorityColor": "#EF8354",
"priorityLevel": 3,
"storyPoints": 3,
"dueDate": "2026-09-20T00:00:00Z",
"assignees": [
{
"userId": "00000000-0000-0000-0000-000000000001",
"displayName": "Jordan Lee",
"avatarUrl": null
}
],
"attachmentCount": 0,
"blockedByCount": 0,
"blockedByTicketNumber": null,
"isBlocked": false
}
],
"totalCount": 1,
"page": 1,
"pageSize": 50,
"totalPages": 1
} /api/tickets/{id} Get one ticket, with its comments, links, attachments and time entries. Each time entry says whether it has been billed: isBilled is true once the entry is on a QuickBooks invoice, with billedInvoiceNumber, billedClientName and billedInvoiceDate naming the invoice. billedPending is true while DevFlow has not yet confirmed the invoice. A billed entry can't be edited or deleted.
Response
{
"id": "00000000-0000-0000-0000-000000000008",
"projectId": "00000000-0000-0000-0000-000000000003",
"boardColumnId": "00000000-0000-0000-0000-000000000006",
"priorityId": "00000000-0000-0000-0000-000000000007",
"ticketNumber": "ACME-42",
"title": "Homepage hero image is cut off on mobile",
"description": "On iPhone widths the hero image overflows its container and hides the CTA button beneath it.",
"storyPoints": 3,
"sortOrder": 1,
"dueDate": "2026-09-20T00:00:00Z",
"priorityName": "High",
"priorityColor": "#EF8354",
"boardColumnName": "In Progress",
"boardColumnCategory": 3,
"projectName": "Acme Corp Website",
"projectKey": "ACME",
"createdAt": "2026-09-01T14:32:00Z",
"updatedAt": "2026-09-05T10:15:00Z",
"assignees": [
{
"userId": "00000000-0000-0000-0000-000000000001",
"displayName": "Jordan Lee",
"avatarUrl": null
}
],
"comments": [
{
"id": "00000000-0000-0000-0000-000000000009",
"ticketId": "00000000-0000-0000-0000-000000000008",
"userId": "00000000-0000-0000-0000-000000000001",
"userDisplayName": "Jordan Lee",
"body": "Repro'd on iPhone 14 Pro at 100% zoom.",
"type": 0,
"visibility": 0,
"customerUserId": null,
"customerUserDisplayName": null,
"createdAt": "2026-09-02T08:00:00Z",
"editedAt": null
}
],
"links": [],
"attachments": [],
"timeEntries": [],
"totalHoursLogged": 0,
"hasPortalUsers": false,
"createdByUserId": "00000000-0000-0000-0000-000000000001",
"createdByName": "Jordan Lee",
"enrolledProjectMembers": null
} /api/tickets/{id} Update a ticket's priority, title, description, story points or due date. Only the fields you supply change — an omitted field is left alone.
Ticket title and description are customer-facing: assume the customer will read them.
Request body
{
"priorityId": "00000000-0000-0000-0000-000000000007",
"title": "Homepage hero image is cut off on mobile",
"description": "On iPhone widths the hero image overflows its container and hides the CTA button beneath it.",
"storyPoints": 3,
"dueDate": "2026-09-20T00:00:00Z"
} Response
{
"id": "00000000-0000-0000-0000-000000000008",
"projectId": "00000000-0000-0000-0000-000000000003",
"boardColumnId": "00000000-0000-0000-0000-000000000006",
"priorityId": "00000000-0000-0000-0000-000000000007",
"ticketNumber": "ACME-42",
"title": "Homepage hero image is cut off on mobile",
"description": "On iPhone widths the hero image overflows its container and hides the CTA button beneath it.",
"storyPoints": 3,
"sortOrder": 1,
"dueDate": "2026-09-20T00:00:00Z",
"priorityName": "High",
"priorityColor": "#EF8354",
"boardColumnName": "In Progress",
"boardColumnCategory": 3,
"projectName": "Acme Corp Website",
"projectKey": "ACME",
"createdAt": "2026-09-01T14:32:00Z",
"updatedAt": "2026-09-09T13:00:00Z",
"assignees": [
{
"userId": "00000000-0000-0000-0000-000000000001",
"displayName": "Jordan Lee",
"avatarUrl": null
}
],
"comments": [
{
"id": "00000000-0000-0000-0000-000000000009",
"ticketId": "00000000-0000-0000-0000-000000000008",
"userId": "00000000-0000-0000-0000-000000000001",
"userDisplayName": "Jordan Lee",
"body": "Repro'd on iPhone 14 Pro at 100% zoom.",
"type": 0,
"visibility": 0,
"customerUserId": null,
"customerUserDisplayName": null,
"createdAt": "2026-09-02T08:00:00Z",
"editedAt": null
}
],
"links": [],
"attachments": [],
"timeEntries": [],
"totalHoursLogged": 0,
"hasPortalUsers": false,
"createdByUserId": "00000000-0000-0000-0000-000000000001",
"createdByName": "Jordan Lee",
"enrolledProjectMembers": null
} /api/tickets/{id}/move Move a ticket to a different column on its own project's board, at an optional position. Returns 204 No Content.
Request body
{
"boardColumnId": "00000000-0000-0000-0000-000000000006",
"sortOrder": 2
} /api/tickets/{id}/move-to-project Move a ticket to a different project entirely (not just a different column). Requires Admin.
Request body
{
"targetProjectId": "00000000-0000-0000-0000-000000000016",
"reason": "Reassigning to the correct project"
} Response
{
"id": "00000000-0000-0000-0000-000000000008",
"projectId": "00000000-0000-0000-0000-000000000016",
"boardColumnId": null,
"priorityId": "00000000-0000-0000-0000-000000000007",
"ticketNumber": "MOB-51",
"title": "Homepage hero image is cut off on mobile",
"description": "On iPhone widths the hero image overflows its container and hides the CTA button beneath it.",
"storyPoints": 3,
"sortOrder": 1,
"dueDate": "2026-09-20T00:00:00Z",
"priorityName": "High",
"priorityColor": "#EF8354",
"boardColumnName": null,
"boardColumnCategory": null,
"projectName": "Mobile App",
"projectKey": "MOB",
"createdAt": "2026-09-01T14:32:00Z",
"updatedAt": "2026-09-09T13:05:00Z",
"assignees": [
{
"userId": "00000000-0000-0000-0000-000000000001",
"displayName": "Jordan Lee",
"avatarUrl": null
}
],
"comments": [
{
"id": "00000000-0000-0000-0000-000000000009",
"ticketId": "00000000-0000-0000-0000-000000000008",
"userId": "00000000-0000-0000-0000-000000000001",
"userDisplayName": "Jordan Lee",
"body": "Repro'd on iPhone 14 Pro at 100% zoom.",
"type": 0,
"visibility": 0,
"customerUserId": null,
"customerUserDisplayName": null,
"createdAt": "2026-09-02T08:00:00Z",
"editedAt": null
}
],
"links": [],
"attachments": [],
"timeEntries": [],
"totalHoursLogged": 0,
"hasPortalUsers": false,
"createdByUserId": "00000000-0000-0000-0000-000000000001",
"createdByName": "Jordan Lee",
"enrolledProjectMembers": null
} /api/tickets/{id}/assign Set a ticket's assignees, replacing the existing list (an empty list unassigns everyone). Every id must already be a member of the project — unless you are an Admin or Manager, in which case naming a non-member adds them to the project automatically, as part of this same call.
Request body
{
"userIds": [
"00000000-0000-0000-0000-000000000001",
"00000000-0000-0000-0000-000000000014"
]
} Response
{
"enrolledProjectMembers": [
{
"id": "00000000-0000-0000-0000-000000000014",
"displayName": "Priya Shah",
"email": "priya@acmeconsulting.example",
"loginEmail": null,
"avatarUrl": null,
"role": "Member",
"isActive": true
}
]
} /api/tickets/{id}
Delete a ticket. Refused with 409 ticket_has_time_entries
(naming the hours total) when the ticket has logged time — there is no override on
this connector. When any of that time has been billed on a QuickBooks invoice, the 409 carries
ticket_has_billed_time instead, with the
invoice named in the message. Billed time stays locked until an Admin releases it in the app. Returns 204 No Content.
/api/tickets Create a ticket. Requires an Idempotency-Key header — see the section below.
Ticket title and description are customer-facing: assume the customer will read them.
Also send Idempotency-Key: dft-1f2e3d4c-5b6a-4988-9c01-7e8f9a0b1c2d —
see Creating safely below.
Request body
{
"projectId": "00000000-0000-0000-0000-000000000003",
"boardColumnId": "00000000-0000-0000-0000-000000000005",
"priorityId": "00000000-0000-0000-0000-000000000007",
"title": "Contact form validation error message is unreadable",
"description": "Error text renders white-on-white when the email field fails validation.",
"storyPoints": 2,
"dueDate": "2026-09-25T00:00:00Z",
"assigneeIds": [
"00000000-0000-0000-0000-000000000001"
]
} Response (201 Created)
{
"id": "00000000-0000-0000-0000-000000000010",
"projectId": "00000000-0000-0000-0000-000000000003",
"boardColumnId": "00000000-0000-0000-0000-000000000005",
"priorityId": "00000000-0000-0000-0000-000000000007",
"ticketNumber": "ACME-43",
"title": "Contact form validation error message is unreadable",
"description": "Error text renders white-on-white when the email field fails validation.",
"storyPoints": 2,
"sortOrder": 1,
"dueDate": "2026-09-25T00:00:00Z",
"priorityName": "High",
"priorityColor": "#EF8354",
"boardColumnName": "Backlog",
"boardColumnCategory": 1,
"projectName": "Acme Corp Website",
"projectKey": "ACME",
"createdAt": "2026-09-09T12:00:00Z",
"updatedAt": "2026-09-09T12:00:00Z",
"assignees": [
{
"userId": "00000000-0000-0000-0000-000000000001",
"displayName": "Jordan Lee",
"avatarUrl": null
}
],
"comments": [],
"links": [],
"attachments": [],
"timeEntries": [],
"totalHoursLogged": 0,
"hasPortalUsers": false,
"createdByUserId": "00000000-0000-0000-0000-000000000001",
"createdByName": "Jordan Lee",
"enrolledProjectMembers": null
} /api/tickets/{ticketId}/comments List a ticket's comments.
Response
[
{
"id": "00000000-0000-0000-0000-000000000009",
"ticketId": "00000000-0000-0000-0000-000000000008",
"userId": "00000000-0000-0000-0000-000000000001",
"userDisplayName": "Jordan Lee",
"body": "Repro'd on iPhone 14 Pro at 100% zoom.",
"type": 0,
"visibility": 0,
"customerUserId": null,
"customerUserDisplayName": null,
"createdAt": "2026-09-02T08:00:00Z",
"editedAt": null
}
] /api/tickets/{ticketId}/comments Add a comment to a ticket. Requires an Idempotency-Key header — see the section below.
Also send Idempotency-Key: dft-7c2b9e10-3a4d-4f21-8e6c-1a9b0d5f3e42 —
see Creating safely below.
Request body
{
"body": "Fix is up for review — see PR #482.",
"visibility": 0
} Response (201 Created)
{
"id": "00000000-0000-0000-0000-000000000011",
"ticketId": "00000000-0000-0000-0000-000000000008",
"userId": "00000000-0000-0000-0000-000000000001",
"userDisplayName": "Jordan Lee",
"body": "Fix is up for review — see PR #482.",
"type": 0,
"visibility": 0,
"customerUserId": null,
"customerUserDisplayName": null,
"createdAt": "2026-09-09T12:05:00Z",
"editedAt": null
} A comment posted with a token is always internal — however the request asks for it, it can never be made customer-visible on the portal.
/api/tickets/{ticketId}/comments/{id} Edit the text of a comment you wrote. Only the author can edit; Admins and Managers cannot edit someone else's comment. The edit changes the text only (visibility never changes), notifies nobody, and keeps the previous text in the audit log. With a personal API token only Internal comments can be edited — a Client-visible comment answers 403. Status, assignment and system entries cannot be edited (403). A comment you cannot see answers 404.
Member or above; only the comment's author. No Idempotency-Key needed — repeating the same edit changes nothing.
Request body
{
"body": "Fix is up for review — see PR #483."
} Response
{
"id": "00000000-0000-0000-0000-000000000011",
"ticketId": "00000000-0000-0000-0000-000000000008",
"userId": "00000000-0000-0000-0000-000000000001",
"userDisplayName": "Jordan Lee",
"body": "Fix is up for review — see PR #483.",
"type": 0,
"visibility": 0,
"customerUserId": null,
"customerUserDisplayName": null,
"createdAt": "2026-09-09T12:05:00Z",
"editedAt": "2026-09-09T12:20:00Z"
} /api/tickets/{ticketId}/links List a ticket's links to other tickets (blocks/blocked-by/related/duplicate).
Response
[
{
"id": "00000000-0000-0000-0000-000000000012",
"sourceTicketId": "00000000-0000-0000-0000-000000000008",
"targetTicketId": "00000000-0000-0000-0000-000000000013",
"targetTicketNumber": "ACME-40",
"targetTicketTitle": "Login button unresponsive on Safari",
"linkType": 1,
"isSource": true,
"isTargetDone": false
}
] /api/tickets/{ticketId}/links
Link this ticket to another one. linkType accepts
RelatedTo, BlockedBy, Blocks, DuplicateOf or DuplicatedBy; the wire value is the
enum's integer (BlockedBy = 1).
Request body
{
"targetTicketId": "00000000-0000-0000-0000-000000000013",
"linkType": 1
} Response
{
"id": "00000000-0000-0000-0000-000000000012",
"sourceTicketId": "00000000-0000-0000-0000-000000000008",
"targetTicketId": "00000000-0000-0000-0000-000000000013",
"targetTicketNumber": "ACME-40",
"targetTicketTitle": "Login button unresponsive on Safari",
"linkType": 1,
"isSource": true,
"isTargetDone": false
} /api/tickets/{ticketId}/links/{id} Remove a link between two tickets. Returns 204 No Content.
/api/tickets/{ticketId}/attachments List a ticket's attachments — name, type, size, uploader (staff or customer, by display name), date, a deep link into the app, and whether the connector can read it as text.
readable is true
when the file's type and size are eligible for text extraction; a read can still
refuse attachment_no_text
(no text layer, or an unreadable one) or attachment_unavailable
(damaged file).
Attachments may have been uploaded by the customer; reading one through Claude is the same act as opening it in the app.
Response
[
{
"id": "00000000-0000-0000-0000-000000000033",
"ticketId": "00000000-0000-0000-0000-000000000008",
"fileName": "repro-screenshot.png",
"contentType": "image/png",
"fileSizeBytes": 184320,
"url": null,
"uploadedByUserId": null,
"uploadedByCustomerUserId": "00000000-0000-0000-0000-000000000034",
"uploadedByDisplayName": "Taylor Morgan",
"createdAt": "2026-09-02T07:50:00Z",
"uploadedByKind": "customer",
"kind": "file",
"appUrl": "https://app.digitaldevflow.com/tickets/00000000-0000-0000-0000-000000000008",
"readable": false,
"isStaffOnly": false,
"uploadChannel": null,
"uploadTokenName": null
}
] /api/tickets/{ticketId}/attachments/{id}/text
Read a ticket attachment's text content — same formats, caps and refusal codes as a
project file's text route above:
page_from/page_to
for a PDF page range,
offset/length
for every other format, a 5 MiB (5,242,880-byte) extraction cap and a 60,000-character
response cap. Writes one audit row.
Attachments may have been uploaded by the customer; reading one through Claude is the same act as opening it in the app.
Response
{
"id": "00000000-0000-0000-0000-000000000035",
"fileName": "spec.pdf",
"contentType": "application/pdf",
"format": "pdf",
"contentTypeNote": null,
"text": "PRODUCT SPEC\n\n3. Mobile layout\nThe hero image container must use object-fit: cover...",
"totalCharacters": 60000,
"truncated": true,
"pageCount": 9,
"pageFrom": 3,
"pageTo": 5,
"bytesRead": 512000
} /api/tickets/{ticketId}/attachments
Attach a file to a ticket. Send multipart/form-data with one form field named
file. The attachment is staff-only
until a staff user shows it to the client.
Requires a token minted with "Allow file uploads".
A token without it gets a 403 with api_token_permission_required in the body.
Accepted formats are the attachment types the app already takes plus .py .sql .yaml .yml .xml .ipynb;
.ps1, .sh and .js stay blocked. A file is at most 25 MiB,
subject to the workspace's storage cap. Script and text files always download as files.
Not idempotent: a retry creates a second file.
Response
{
"id": "00000000-0000-0000-0000-000000000035",
"ticketId": "00000000-0000-0000-0000-000000000008",
"fileName": "etl.py",
"contentType": "text/x-python",
"fileSizeBytes": 2048,
"url": null,
"uploadedByUserId": "00000000-0000-0000-0000-000000000001",
"uploadedByCustomerUserId": null,
"uploadedByDisplayName": "Jordan Lee",
"createdAt": "2026-10-14T09:30:00Z",
"uploadedByKind": "staff",
"kind": "file",
"appUrl": "https://app.digitaldevflow.com/tickets/00000000-0000-0000-0000-000000000008",
"readable": true,
"isStaffOnly": true,
"uploadChannel": "api_token",
"uploadTokenName": "CI uploader"
} /api/projects/{projectId}/files
Add a file to a project. Send multipart/form-data with one form field named
file (optional query parameter folderId). The file lands
not client-facing until a staff user shares it.
Requires a token minted with "Allow file uploads".
A token without it gets a 403 with api_token_permission_required in the body.
Accepted formats are the attachment types the app already takes plus .py .sql .yaml .yml .xml .ipynb;
.ps1, .sh and .js stay blocked. A file is at most 25 MiB,
subject to the workspace's storage cap. Script and text files always download as files.
Not idempotent: a retry creates a second file.
Response
{
"id": "00000000-0000-0000-0000-000000000036",
"projectId": "00000000-0000-0000-0000-000000000003",
"folderId": null,
"fileName": "etl.py",
"contentType": "text/x-python",
"fileSizeBytes": 2048,
"isClientFacing": false,
"uploadedByUserId": "00000000-0000-0000-0000-000000000001",
"uploadedByDisplayName": "Jordan Lee",
"createdAt": "2026-10-14T09:30:00Z",
"updatedAt": "2026-10-14T09:30:00Z",
"externalUrl": null,
"isLink": false,
"folderName": null,
"kind": "file",
"appUrl": "https://app.digitaldevflow.com/projects/00000000-0000-0000-0000-000000000003?tab=files&file=00000000-0000-0000-0000-000000000036",
"readable": true,
"uploadChannel": "api_token",
"uploadTokenName": "CI uploader"
} /api/projects/{projectId}/budget Read a project's budget: its type, hours, dollars, cadence and rollover, custom period and client visibility. Requires Manager or above (Members and Viewers are refused). Returns 404 when the project has no budget. This route is available to tokens only; the connector reaches the same budget through get_project_budget.
Response
{
"id": "00000000-0000-0000-0000-00000000000b",
"projectId": "00000000-0000-0000-0000-000000000003",
"budgetType": "TimeAndMaterials",
"totalHours": 120.0,
"totalDollars": 18000.0,
"cadence": null,
"rolloverRule": null,
"customPeriodStartDate": null,
"customPeriodLengthDays": null,
"isVisibleToClient": false,
"isActive": true,
"createdAt": "2026-01-15T09:00:00Z",
"updatedAt": "2026-02-01T09:00:00Z"
} /api/projects/{projectId}/budget/summary Read a project's budget usage: hours used, remaining and burn percent. Any role with access to the project may call it. Below Manager, the dollar and budget-setting fields are absent and only the hours figures are set. When the project has no budget it still returns 200, with usedHours present and no totalHours or cap.
Response
{
"id": "00000000-0000-0000-0000-00000000000b",
"projectId": "00000000-0000-0000-0000-000000000003",
"budgetType": "TimeAndMaterials",
"totalHours": 120.0,
"totalDollars": 18000.0,
"usedHours": 42.5,
"usedDollars": 6375.0,
"remainingHours": 77.5,
"remainingDollars": 11625.0,
"hoursBurnPercent": 35,
"dollarsBurnPercent": 35,
"cadence": null,
"rolloverRule": null,
"activePeriodStart": null,
"activePeriodEnd": null,
"hasTimeEntries": true
} /api/projects/{projectId}/budget Set a project's budget. A Manager or Admin sets it; the route creates the budget when the project has none and replaces every field, so omitted dollar and custom-period fields are cleared. Hours budgets are available on every plan; dollar budgets, retainers and billing rates need the Studio plan or above. Send an Idempotency-Key header. The connector does the same through set_project_budget. hoursOnly: true updates only the hours and leaves any stored dollar amount unchanged (Free and Starter workspaces always save this way).
Request body
{
"budgetType": "TimeAndMaterials",
"totalHours": 120.0,
"totalDollars": 18000.0,
"cadence": null,
"rolloverRule": null,
"customPeriodStartDate": null,
"customPeriodLengthDays": null,
"hoursOnly": false
} Response
{
"id": "00000000-0000-0000-0000-00000000000b",
"projectId": "00000000-0000-0000-0000-000000000003",
"budgetType": "TimeAndMaterials",
"totalHours": 120.0,
"totalDollars": 18000.0,
"cadence": null,
"rolloverRule": null,
"customPeriodStartDate": null,
"customPeriodLengthDays": null,
"isVisibleToClient": false,
"isActive": true,
"createdAt": "2026-01-15T09:00:00Z",
"updatedAt": "2026-02-01T09:00:00Z"
} /api/my-work Read the signed-in user's My Work: every open ticket assigned to the person your token belongs to, across all projects, in seven groups in this order (Do now, Blocking others, In motion, Up next, In review, Waiting on client, Backlog). Each row carries a reason (priority, business days in its column, due or overdue) and any blockers, and a Needs attention list names tickets with no movement for five business days. Time a ticket spends waiting on a client is paused, not aged.
Read-only, and always the caller's own work: there is no user parameter. The optional query parameter date=yyyy-MM-dd sets your local calendar day for due and overdue; it defaults to today in UTC. The team Workload view is available in the app only.
Response
{
"subjectUserId": "00000000-0000-0000-0000-000000000001",
"subjectDisplayName": "Jordan Lee",
"today": "2026-10-15",
"activeCount": 1,
"waitingCount": 1,
"totalCount": 2,
"inProgressCount": 1,
"inReviewCount": 0,
"wipLimit": 3,
"wipOverLimit": false,
"attention": {
"criticalOrHighNotStarted": [],
"quietInProgress": [
{
"ticketId": "00000000-0000-0000-0000-000000000008",
"ticketKey": "ACME-12",
"title": "Fix checkout total rounding"
}
],
"staleReview": []
},
"groups": [
{
"key": "doNow",
"label": "Do now",
"subtitle": "Overdue, due within 2 business days, or Critical not started",
"count": 1,
"oldestAgeBusinessDays": 5,
"oldestWaitingDays": null,
"hasOverdue": true,
"summary": [
{
"text": "oldest 5 bd",
"spokenText": "oldest 5 business days",
"severity": "normal"
},
{
"text": " · has overdue",
"spokenText": " · has overdue",
"severity": "overdue"
}
],
"rows": [
{
"ticketId": "00000000-0000-0000-0000-000000000008",
"ticketKey": "ACME-12",
"title": "Fix checkout total rounding",
"projectId": "00000000-0000-0000-0000-000000000003",
"projectName": "Acme Corp Website",
"projectKey": "ACME",
"projectStatusLabel": null,
"boardColumnId": "00000000-0000-0000-0000-000000000011",
"columnName": "In Progress",
"priorityId": "00000000-0000-0000-0000-000000000021",
"priorityName": "High",
"priorityLevel": 2,
"priorityColor": "#E65100",
"dueDate": "2026-10-14T00:00:00Z",
"storyPoints": 3,
"columnEnteredAtUtc": "2026-10-08T14:00:00Z",
"ageBusinessDays": 5,
"stalenessBusinessDays": 5,
"overdueDays": 1,
"waitingDays": null,
"isWaiting": false,
"isBlocked": false,
"reason": [
{
"text": "Overdue 1d",
"spokenText": "Overdue 1d",
"severity": "overdue"
},
{
"text": " · 5 bd in In Progress",
"spokenText": " · 5 business days in In Progress",
"severity": "normal"
}
],
"gauge": {
"pips": 1,
"text": "quiet 5 bd",
"spokenTitle": "5 business days since any activity. Pips fill at 1, 2 and 4 weeks; any activity resets.",
"severity": "normal",
"isPaused": false
},
"blocked": null,
"blockingCount": 0,
"blockingTitle": null,
"awaitingColumnId": "00000000-0000-0000-0000-000000000014",
"awaitingColumnName": "Awaiting Client",
"isProjectWritable": true,
"accessibleName": "ACME-12 Fix checkout total rounding. High priority. Acme Corp Website. Overdue 1d · 5 business days in In Progress."
}
]
},
{
"key": "waitingOnClient",
"label": "Waiting on client",
"subtitle": "Not in your active count · aging and due dates paused",
"count": 1,
"oldestAgeBusinessDays": 4,
"oldestWaitingDays": 6,
"hasOverdue": false,
"summary": [
{
"text": "oldest 6d · aging paused",
"spokenText": "oldest 6d · aging paused",
"severity": "paused"
}
],
"rows": [
{
"ticketId": "00000000-0000-0000-0000-000000000009",
"ticketKey": "ACME-15",
"title": "Confirm homepage copy",
"projectId": "00000000-0000-0000-0000-000000000003",
"projectName": "Acme Corp Website",
"projectKey": "ACME",
"projectStatusLabel": null,
"boardColumnId": "00000000-0000-0000-0000-000000000014",
"columnName": "Awaiting Client",
"priorityId": null,
"priorityName": null,
"priorityLevel": null,
"priorityColor": null,
"dueDate": null,
"storyPoints": null,
"columnEnteredAtUtc": "2026-10-09T10:00:00Z",
"ageBusinessDays": 4,
"stalenessBusinessDays": 4,
"overdueDays": null,
"waitingDays": 6,
"isWaiting": true,
"isBlocked": false,
"reason": [
{
"text": "No priority",
"spokenText": "No priority",
"severity": "normal"
}
],
"gauge": {
"pips": 0,
"text": "waiting 6d · aging paused",
"spokenTitle": "Aging and due-date pressure are paused while the client decides.",
"severity": "paused",
"isPaused": true
},
"blocked": null,
"blockingCount": 0,
"blockingTitle": null,
"awaitingColumnId": "00000000-0000-0000-0000-000000000014",
"awaitingColumnName": "Awaiting Client",
"isProjectWritable": true,
"accessibleName": "ACME-15 Confirm homepage copy. No priority. Acme Corp Website. No priority. waiting 6 days, aging paused."
}
]
}
]
} Sprints
A project can plan its work in sprints: dated stretches with an optional hours budget. The routes below read and run them, in hours only, and the connector reaches the same set with the sprint tools. Reading needs access to the project; planning, starting, closing and the settings need Manager or above; moving a ticket into a sprint needs Member or above. Every write takes an Idempotency-Key header. A project that does not use sprints answers 404, the same answer as a project you cannot see.
To list the tickets in one sprint, call GET /api/tickets with projectId and ?sprint= set to a sprint id, or to backlog for the tickets in no sprint. list_tickets works the same way through the connector.
/api/projects/{projectId}/sprints List a project's sprints, Active first, then Planned, then Closed, with hours used against each sprint's hours budget, ticket counts, the hours outside any sprint and the defaults the next sprint would take. Hours only. Any staff role with access to the project may call it. A project that does not use sprints answers 404, the same answer as a project you cannot see.
Response
{
"projectId": "00000000-0000-0000-0000-000000000003",
"sprintLengthDays": 14,
"sprints": [
{
"id": "00000000-0000-0000-0000-000000000021",
"projectId": "00000000-0000-0000-0000-000000000003",
"number": 1,
"name": "Sprint 1",
"startDate": "2026-09-01T00:00:00Z",
"endDate": "2026-09-14T00:00:00Z",
"status": 1,
"hoursBudget": 40.0,
"hoursUsed": 26.5,
"hoursRemaining": 13.5,
"hoursOver": null,
"percentUsed": 66,
"ticketCount": 4,
"startedAtUtc": "2026-09-01T09:00:00Z",
"closedAtUtc": null
},
{
"id": "00000000-0000-0000-0000-000000000022",
"projectId": "00000000-0000-0000-0000-000000000003",
"number": 2,
"name": "Sprint 2",
"startDate": "2026-09-15T00:00:00Z",
"endDate": "2026-09-28T00:00:00Z",
"status": 0,
"hoursBudget": 40.0,
"hoursUsed": 0.0,
"hoursRemaining": 40.0,
"hoursOver": null,
"percentUsed": 0,
"ticketCount": 0,
"startedAtUtc": null,
"closedAtUtc": null
}
],
"outsideSprintHours": 12.0,
"sprintBudgetTotalHours": 80.0,
"projectHoursBudget": 120.0,
"isOverAllocated": false,
"nextSprintDefaults": {
"number": 3,
"name": "Sprint 3",
"startDate": "2026-09-29T00:00:00Z",
"endDate": "2026-10-12T00:00:00Z"
}
} /api/projects/{projectId}/sprints/{sprintId} Read one sprint: its card, hours by person and by ticket, finished and unfinished ticket counts, the next planned sprint and the defaults for a further one. Hours only. Any staff role with access to the project may call it. A project that does not use sprints answers 404, the same answer as a project you cannot see.
Response
{
"sprint": {
"id": "00000000-0000-0000-0000-000000000021",
"projectId": "00000000-0000-0000-0000-000000000003",
"number": 1,
"name": "Sprint 1",
"startDate": "2026-09-01T00:00:00Z",
"endDate": "2026-09-14T00:00:00Z",
"status": 1,
"hoursBudget": 40.0,
"hoursUsed": 26.5,
"hoursRemaining": 13.5,
"hoursOver": null,
"percentUsed": 66,
"ticketCount": 4,
"startedAtUtc": "2026-09-01T09:00:00Z",
"closedAtUtc": null
},
"byPerson": [
{
"userId": "00000000-0000-0000-0000-000000000001",
"displayName": "Jordan Lee",
"hours": 12.0
},
{
"userId": "00000000-0000-0000-0000-000000000014",
"displayName": "Priya Shah",
"hours": 8.5
}
],
"byTicket": [
{
"ticketId": "00000000-0000-0000-0000-000000000008",
"ticketNumber": "ACME-42",
"title": "Homepage hero image is cut off on mobile",
"hours": 26.5,
"isCurrentMember": true,
"currentSprintId": "00000000-0000-0000-0000-000000000021",
"currentSprintName": "Sprint 1",
"inOtherProject": false
}
],
"finishedTicketCount": 1,
"unfinishedTicketCount": 3,
"nextPlannedSprint": {
"id": "00000000-0000-0000-0000-000000000022",
"projectId": "00000000-0000-0000-0000-000000000003",
"number": 2,
"name": "Sprint 2",
"startDate": "2026-09-15T00:00:00Z",
"endDate": "2026-09-28T00:00:00Z",
"status": 0,
"hoursBudget": 40.0,
"hoursUsed": 0.0,
"hoursRemaining": 40.0,
"hoursOver": null,
"percentUsed": 0,
"ticketCount": 0,
"startedAtUtc": null,
"closedAtUtc": null
},
"nextSprintDefaults": {
"number": 3,
"name": "Sprint 3",
"startDate": "2026-09-29T00:00:00Z",
"endDate": "2026-10-12T00:00:00Z"
}
} /api/projects/{projectId}/sprints/outside Read the hours logged on the project's tickets that count toward no sprint, by person and by ticket. Hours only. Any staff role with access to the project may call it. A project that does not use sprints answers 404, the same answer as a project you cannot see.
Response
{
"projectId": "00000000-0000-0000-0000-000000000003",
"hours": 12.0,
"byPerson": [
{
"userId": "00000000-0000-0000-0000-000000000001",
"displayName": "Jordan Lee",
"hours": 12.0
}
],
"byTicket": [
{
"ticketId": "00000000-0000-0000-0000-000000000024",
"ticketNumber": "ACME-43",
"title": "Update the footer links",
"hours": 12.0,
"isCurrentMember": false,
"currentSprintId": null,
"currentSprintName": null,
"inOtherProject": false
}
]
} /api/projects/{projectId}/sprint-settings Turn sprints on or off for a project and set the default sprint length in days (1 to 90). An omitted field keeps its current value. Manager or above; send an Idempotency-Key header. This is the one sprint route that works while sprints are off: it is the route you call to turn them on. Every other sprint route answers 404 for a project that does not use sprints.
Request body
{
"useSprints": true,
"sprintLengthDays": 14
} Response
{
"projectId": "00000000-0000-0000-0000-000000000003",
"useSprints": true,
"sprintLengthDays": 14
} /api/projects/{projectId}/sprints Plan a new sprint. Every field is optional: an omitted name becomes 'Sprint N', omitted dates follow the previous sprint for the project's sprint length, and an omitted hours budget means no budget. Returns 201. Manager or above; send an Idempotency-Key header. A project that does not use sprints answers 404 (except turning sprints on).
Request body
{
"name": "Sprint 2",
"startDate": "2026-09-15T00:00:00Z",
"endDate": "2026-09-28T00:00:00Z",
"hoursBudget": 40.0
} Response
{
"id": "00000000-0000-0000-0000-000000000022",
"projectId": "00000000-0000-0000-0000-000000000003",
"number": 2,
"name": "Sprint 2",
"startDate": "2026-09-15T00:00:00Z",
"endDate": "2026-09-28T00:00:00Z",
"status": 0,
"hoursBudget": 40.0,
"hoursUsed": 0.0,
"hoursRemaining": 40.0,
"hoursOver": null,
"percentUsed": 0,
"ticketCount": 0,
"startedAtUtc": null,
"closedAtUtc": null
} /api/projects/{projectId}/sprints/{sprintId} Edit a sprint. Naming the name and both dates replaces them all (a missing hoursBudget then clears the budget); leaving any of them out is a partial edit that keeps what you omit. Set clearHoursBudget to true to remove the budget. Manager or above; send an Idempotency-Key header. A project that does not use sprints answers 404 (except turning sprints on).
Request body
{
"name": "Sprint 1 - launch",
"hoursBudget": 45.0
} Response
{
"id": "00000000-0000-0000-0000-000000000021",
"projectId": "00000000-0000-0000-0000-000000000003",
"number": 1,
"name": "Sprint 1 - launch",
"startDate": "2026-09-01T00:00:00Z",
"endDate": "2026-09-14T00:00:00Z",
"status": 1,
"hoursBudget": 45.0,
"hoursUsed": 26.5,
"hoursRemaining": 18.5,
"hoursOver": null,
"percentUsed": 59,
"ticketCount": 4,
"startedAtUtc": "2026-09-01T09:00:00Z",
"closedAtUtc": null
} /api/projects/{projectId}/sprints/{sprintId}/start Start a Planned sprint so it becomes the project's Active sprint. Only one sprint is Active at a time. Manager or above; send an Idempotency-Key header. A project that does not use sprints answers 404 (except turning sprints on).
Response
{
"id": "00000000-0000-0000-0000-000000000022",
"projectId": "00000000-0000-0000-0000-000000000003",
"number": 2,
"name": "Sprint 2",
"startDate": "2026-09-15T00:00:00Z",
"endDate": "2026-09-28T00:00:00Z",
"status": 1,
"hoursBudget": 40.0,
"hoursUsed": 0.0,
"hoursRemaining": 40.0,
"hoursOver": null,
"percentUsed": 0,
"ticketCount": 0,
"startedAtUtc": "2026-09-15T09:00:00Z",
"closedAtUtc": null
} /api/projects/{projectId}/sprints/{sprintId}/close Close an Active sprint. unfinishedDestination is 'next' (the next planned sprint, created when there is none) or 'backlog'; tickets not in a done column move there. Manager or above; send an Idempotency-Key header. A project that does not use sprints answers 404 (except turning sprints on).
Request body
{
"unfinishedDestination": "next"
} Response
{
"closedSprint": {
"id": "00000000-0000-0000-0000-000000000021",
"projectId": "00000000-0000-0000-0000-000000000003",
"number": 1,
"name": "Sprint 1",
"startDate": "2026-09-01T00:00:00Z",
"endDate": "2026-09-14T00:00:00Z",
"status": 2,
"hoursBudget": 40.0,
"hoursUsed": 26.5,
"hoursRemaining": 13.5,
"hoursOver": null,
"percentUsed": 66,
"ticketCount": 4,
"startedAtUtc": "2026-09-01T09:00:00Z",
"closedAtUtc": "2026-09-14T17:00:00Z"
},
"destination": "next",
"movedTicketCount": 3,
"nextSprint": {
"id": "00000000-0000-0000-0000-000000000022",
"projectId": "00000000-0000-0000-0000-000000000003",
"number": 2,
"name": "Sprint 2",
"startDate": "2026-09-15T00:00:00Z",
"endDate": "2026-09-28T00:00:00Z",
"status": 0,
"hoursBudget": 40.0,
"hoursUsed": 0.0,
"hoursRemaining": 40.0,
"hoursOver": null,
"percentUsed": 0,
"ticketCount": 0,
"startedAtUtc": null,
"closedAtUtc": null
},
"nextSprintCreated": false
} /api/tickets/{id}/sprint Move a ticket into a Planned or Active sprint of its own project, or back to the project's backlog (send backlog: true). Member or above; send an Idempotency-Key header. A project that does not use sprints answers 404. To list a sprint's tickets use GET /api/tickets with ?projectId= and ?sprint= set to a sprint id, or 'backlog' for tickets in no sprint.
Request body
{
"sprintId": "00000000-0000-0000-0000-000000000021"
} Response
{
"id": "00000000-0000-0000-0000-000000000008",
"projectId": "00000000-0000-0000-0000-000000000003",
"boardColumnId": "00000000-0000-0000-0000-000000000006",
"priorityId": "00000000-0000-0000-0000-000000000007",
"ticketNumber": "ACME-42",
"title": "Homepage hero image is cut off on mobile",
"description": "On iPhone widths the hero image overflows its container and hides the CTA button beneath it.",
"storyPoints": 3,
"sortOrder": 1,
"dueDate": "2026-09-20T00:00:00Z",
"priorityName": "High",
"priorityColor": "#EF8354",
"boardColumnName": "In Progress",
"boardColumnCategory": 3,
"projectName": "Acme Corp Website",
"projectKey": "ACME",
"createdAt": "2026-09-01T14:32:00Z",
"updatedAt": "2026-09-05T10:15:00Z",
"assignees": [
{
"userId": "00000000-0000-0000-0000-000000000001",
"displayName": "Jordan Lee",
"avatarUrl": null
}
],
"comments": [
{
"id": "00000000-0000-0000-0000-000000000009",
"ticketId": "00000000-0000-0000-0000-000000000008",
"userId": "00000000-0000-0000-0000-000000000001",
"userDisplayName": "Jordan Lee",
"body": "Repro'd on iPhone 14 Pro at 100% zoom.",
"type": 0,
"visibility": 0,
"customerUserId": null,
"customerUserDisplayName": null,
"createdAt": "2026-09-02T08:00:00Z",
"editedAt": null
}
],
"links": [],
"attachments": [],
"timeEntries": [],
"totalHoursLogged": 0,
"hasPortalUsers": false,
"createdByUserId": "00000000-0000-0000-0000-000000000001",
"createdByName": "Jordan Lee",
"enrolledProjectMembers": null,
"usesSprints": true,
"sprintId": "00000000-0000-0000-0000-000000000021",
"sprintName": "Sprint 1",
"sprintStatus": 1
} What a token cannot do
This holds whatever your role is — including Admin. A token cannot reach:
- Settings, billing, or QuickBooks
- User management, roles, or anyone else's tokens — a token cannot create another token
- Credentials, integrations, or the operator console
- Renaming or deleting files or attachments — reading is allowed, and uploading needs a token minted with "Allow file uploads"
An assignee — whether named on a create or through assign_ticket —
must already be a member of that project,
unless your token belongs to an Admin or Manager: naming a non-member then adds them
to the project automatically, as part of the same request, and the response names who
was added. A Member's token gains nothing extra here — a non-member assignee is still
refused.
A comment posted with a token is always internal — however the request asks for it, it can never be made customer-visible on the portal.
A ticket that carries any logged time cannot be deleted with a token at all; there is no override reachable this way. Delete it in the browser instead, where the confirmation dialog makes that override explicit.
Limits and failures
A token is limited to 120 requests per minute. Go over it and you get a 429 with no body — back off and retry after a few seconds.
An unknown, revoked, or expired token — or one whose owner's account was deactivated — is deliberately indistinguishable: all four look exactly like this, so a script can never learn whether a token it's guessing ever existed.
HTTP/1.1 401 Unauthorized
WWW-Authenticate: Bearer
Content-Type: application/json
{"error":"Unauthorized"} A route your token cannot reach — whatever your role — is a bare 403 with an empty body:
HTTP/1.1 403 Forbidden
A bad request — invalid input, or a rule your request broke, like the project-membership rule above — comes back as a 400 with a reason:
HTTP/1.1 400 Bad Request
Content-Type: application/problem+json
{"status":400,"title":"Bad Request","detail":"assigneeIds must already be members of the project"}
Creating safely: Idempotency-Key
Both routes that create something —
POST /api/tickets and
POST /api/tickets/{ticketId}/comments —
require an Idempotency-Key
header on every token-authenticated request. Generate a fresh key per NEW ticket or comment
(a UUID is fine) and send the same one again only when retrying that exact request.
Send it without the header and you get a 400 naming the header:
HTTP/1.1 400 Bad Request
Content-Type: application/problem+json
{"status":400,"title":"Bad Request","detail":"Idempotency-Key header is required"} Send the request, don't hear back — your connection drops, a proxy times out, anything — and the ONE rule that matters is: retry with the SAME key. Sending a new key on retry is how a duplicate ticket, and a duplicate notification to your team, gets created; that notification can't be recalled once it's sent. Retry with the same key within 24 hours and you get back the exact original response — the same 201, the same body — with one extra header, and no second ticket is created:
HTTP/1.1 201 Created
Idempotency-Replayed: true
Content-Type: application/json
{ ...the exact same ticket you got back the first time... } Send that same key again with a different body — a different title, a different project — and you get a 409, because the key is already spoken for:
HTTP/1.1 409 Conflict
Content-Type: application/problem+json
{"status":409,"title":"Conflict","detail":"Idempotency-Key was already used for a different request"} A key is scoped to you, and to the ONE route you sent it to — the same key sent to the comments route is a completely separate record, and creates its own comment. A replayed request still counts toward your 120-per-minute limit. Keys are kept for 24 hours; after that, reusing one starts something new.
The Claude Code skill
DevFlow ships a Claude Code skill that wraps all of this — install it once, and Claude can look up projects, boards and people, then file or comment on tickets for you.
-
Get the skill into Claude's skills folder — download the zip and unzip it, or fetch
the two files directly from a terminal:
Download devflow-tickets-skill.zip — unzip into
~/.claude/skills/.mkdir -p ~/.claude/skills && unzip devflow-tickets-skill.zip -d ~/.claude/skills
No download folder handy? Pull the two files straight from a terminal:
mkdir -p ~/.claude/skills/devflow-tickets/scripts curl -fsSL https://digitaldevflow.com/skills/devflow-tickets/SKILL.md -o ~/.claude/skills/devflow-tickets/SKILL.md curl -fsSL https://digitaldevflow.com/skills/devflow-tickets/scripts/devflow-tickets.mjs -o ~/.claude/skills/devflow-tickets/scripts/devflow-tickets.mjs
-
Export your token (never commit it to a file):
export DEVFLOW_API_TOKEN="dft_a1b2c3d4…" export DEVFLOW_API_URL="https://app.digitaldevflow.com"
-
Ask Claude Code to use it.
lookuptakes a search term;createtakes a JSON ticket draft — as a file path, or piped in on stdin with-— not command-line flags;commenttakes a ticket key and a message:$ node devflow-tickets.mjs lookup "Acme" Projects Acme Corp Website (ACME) Board: Main Board (default) Columns: Backlog, To Do, In Progress, Done Priorities Staff Ana Cruz <ana@acme.dev> $ echo '{"project": "Acme", "title": "Fix mobile hero image"}' | node devflow-tickets.mjs create - CREATED ACME-43 — Fix mobile hero image — https://app.digitaldevflow.com/tickets/00000000-0000-0000-0000-000000000010 $ node devflow-tickets.mjs comment ACME-43 "Fix is up for review" CREATED ACME-43 — https://app.digitaldevflow.com/tickets/00000000-0000-0000-0000-000000000010The JSON draft acceptsprojectandtitle(both required), plus optionalboard,column,priority,descriptionandassignee— each matched by name, same as the API itself. An array of drafts files more than one ticket in a single call.
The skill reaches exactly the same forty-three routes documented above — nothing a script can do here, Claude can't, and nothing Claude can do here, a script couldn't.
Use DevFlow in claude.ai
The same routes are available inside claude.ai, as a connector, except the one token-only budget read, GET /api/projects/{projectId}/budget, which has no tool. Nothing is
installed and no token is typed anywhere — you add one URL and sign in with your DevFlow
account.
https://app.digitaldevflow.com/mcp
Client ID
28c99e56-5743-40ac-a16d-2c5f2b8b4563
Add it once:
- In claude.ai, open Settings → Connectors and choose Add custom connector.
- Name it DevFlow, paste the URL above, and choose Connect.
- If claude.ai asks how to authenticate, pick No client ID — register one automatically — that's the option it detects by default. If it instead shows a choice of OAuth client options, pick Use your own OAuth client, paste the Client ID shown above, and leave Client Secret empty — DevFlow's connector is a public client and doesn't use one. Don't pick "Use Anthropic's hosted client metadata" — it isn't compatible with DevFlow's sign-in.
- Sign in with your DevFlow account and approve the requested access, staying signed in when asked. That's the whole setup: there's no token to copy anywhere.
Claude can then look up projects, boards and columns, priorities and staff, read tickets, their comments, their links and their attachments, and a project's files as text (plain text, Markdown, CSV, JSON, HTML, PDF text layer, DOCX or .xlsx — up to 5 MiB (5,242,880 bytes) and 60,000 characters, never renaming or deleting one), attach a text file it wrote to a ticket or a project, and write: create tickets and comments, edit the text of an internal comment you wrote, edit a ticket's title, description, priority, story points and due date, move it between columns and between projects, assign or unassign it, delete it when it carries no logged time, manage its links to other tickets, and update a project's own details and its membership — as you, in your workspace, with your role and your project access.
Your own work. Ask Claude "What's on my plate
today?" and it reads your My Work through get_my_work:
your open tickets in priority groups, with the reason each one is there, blockers, and
time waiting on a client paused. It is read-only and always your own work — never anyone
else's.
Forty-six tools, one for each route above except the token-only budget read, which has no tool, plus four time-entry tools that only the connector reaches:
list_projects get_project update_project list_boards add_project_member remove_project_member list_project_files read_project_file get_board list_priorities list_users get_current_user list_tickets get_ticket update_ticket move_ticket move_ticket_to_project assign_ticket delete_ticket create_ticket list_comments add_comment edit_comment list_time_entries log_time edit_time_entry delete_time_entry list_ticket_links add_ticket_link remove_ticket_link list_ticket_attachments read_ticket_attachment attach_ticket_file attach_project_file get_my_work get_project_budget set_project_budget list_sprints get_sprint get_outside_sprint_hours set_project_sprint_settings create_sprint update_sprint start_sprint close_sprint set_ticket_sprint
Attaching a file. Through claude.ai the content
is text only — never binary — and DevFlow accepts
up to 1 MiB of text per call; in practice the size Claude can write in one reply is smaller.
The file is staff-only until a staff user shows it to
the client (a project file lands not client-facing). Accepted extensions are .txt, .log, .md,
.markdown, .csv, .json, .xml, .py, .sql, .yaml, .yml and .ipynb. A refused attach names its
reason: connector_content_too_large, connector_content_empty,
connector_content_invalid_text, invalid_file_name,
attachment_type_not_allowed or storage_cap_exceeded.
A retry with the same idempotency key returns the original file rather than a second one.
Logging time. Four connector tools work with the
time on a ticket: list_time_entries (read-only; it takes ticketId and shows the entries you can see on that ticket, with the same money redaction as the app),
log_time (ticketId, hours, entryDate as YYYY-MM-DD, and an optional description),
edit_time_entry (ticketId, timeEntryId, hours, entryDate and an optional description; leaving the description out keeps the existing text) and
delete_time_entry (ticketId and timeEntryId; this removes the entry). The three write tools also take an optional idempotency_key; reuse the same value when retrying the same call. A ticket you cannot see is not found.
Your own time only: there is no user argument, time is always logged as you, and you can edit or delete only entries you logged yourself — including as an Admin.
Writing time needs Member or above; a Viewer is refused.
Billed entries are locked: an entry that is confirmed or pending on an invoice cannot be edited or deleted, and the refusal is time_entry_billed.
There are no timer tools: the connector logs finished hours, it does not start or stop a timer.
These four tools are connector-only. The time-entry routes cannot be reached with an API token, so the Claude Code skill cannot log time.
The limits are the token's limits, unchanged — including for an Admin. Through the connector Claude cannot reach:
- Settings, billing, or QuickBooks
- User management, roles, or anyone else's tokens — a token cannot create another token
- Credentials, integrations, or the operator console
- Renaming or deleting files or attachments — reading is allowed, and uploading needs a token minted with "Allow file uploads"
And the project-membership rule holds: anyone Claude names as an assignee must already be a member of that project — unless you are an Admin or Manager, in which case naming a non-member adds them to the project automatically, as part of the same request, and Claude will say so. As a Member, naming a non-member is still refused.
A comment Claude adds through the connector is always internal — it can never be made customer-visible on the portal. And a ticket that carries any logged time cannot be deleted through the connector at all; delete it in the browser instead.
Connector requests are limited to 120 requests per minute.
Why no token? A token is a password you have to keep somewhere. The connector doesn't need one: claude.ai sends you to the normal DevFlow sign-in, and access is granted to your account, not to a string you stored. Turn a person's DevFlow account off and their connector stops working on its very next request. And a connector sign-in only ever reaches the routes on this page — it can't be pointed at the rest of the API. If you're already signed in to DevFlow in that browser, connecting again won't ask you to sign in a second time.
Done with it? Remove the connector in claude.ai. There's nothing to revoke in DevFlow — no token was ever created.
Still have questions?
Contact us