Base URL
All API endpoints are relative to your Flowtask instance URL:your-flowtask-instance.com with the domain of your Flowtask deployment. Every path in this documentation is shown relative to this base URL — for example, /v2/todo maps to https://your-flowtask-instance.com/api/v2/todo.
API Versions
Flowtask’s API is split across two versions, each responsible for a distinct set of resources:
Use v2 for all task, project, and tag operations. The v1 prefix covers all authentication flows documented in Authentication, including the session-check endpoint
GET /api/v1/auth-check.
Request Format
All request bodies must be JSON. Set theContent-Type header on any request that includes a body:
Set-Cookie header from the sign-in response and forward it on all subsequent requests.
Response Format
All responses are JSON. A successful response returns either the requested resource object or an array of resources. Error responses follow a consistent shape:message to give more context about what went wrong.
Error Codes
Example Request
The following example fetches your task list using the browserfetch API. Notice credentials: 'include' — this is required on every request so the session cookie is sent automatically.
All API requests must include your session cookie. Authenticate first using
POST /api/v1/user/signin, then include credentials: 'include' (or your
cookie jar) on all subsequent requests.