Skip to main content

Base URL

https://znift.com/api/v1

Authentication

All endpoints require an x-api-key header. See Authentication for setup and error codes.

Request conventions

  • Content-Type: application/json for all request bodies
  • Dates: Strict YYYY-MM-DD with leading zeros (e.g., 2026-04-04, not 2026-4-4)
  • Task text: Minimum 1 character

Tips

Clearing optional fields: Send null in a PATCH request to remove a value. For example, { "priority": null } clears the priority.
Deleting tasks: A task must be archived before it can be permanently deleted. This prevents accidental data loss.
Dashboard endpoint: If you’re building an AI agent, GET /tasks/dashboard?date=YYYY-MM-DD gives you overdue items, pending tasks, completed tasks, and stats in a single call.

Explore endpoints

Browse all 13 endpoints with interactive playground in the API Reference tab.

OpenAPI spec

The machine-readable spec is available at:
GET /api/v1/openapi.json
No authentication required. Use it to auto-generate client libraries or MCP server tools.