Task management API

Task API quickstart — your first task in two minutes

To create a task with the 0nTask API you generate an API key in your account, then send a POST request to https://app.0ntask.com/api/v1/tasks with a JSON body containing a title.

There is no SDK to install and no OAuth flow to implement. If you can send an HTTP request, you can use this API.

1. Get a key

Sign in, open settings and create an API key. It starts with 0nt_live_ and is shown once — it is stored hashed and cannot be displayed again.

2. Create a task

curl:

curl -X POST https://app.0ntask.com/api/v1/tasks \
  -H "Authorization: Bearer 0nt_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"title":"Call the roofer back","priority":"high"}'

JavaScript:

const res = await fetch("https://app.0ntask.com/api/v1/tasks", {
  method: "POST",
  headers: {
    "Authorization": "Bearer 0nt_live_YOUR_KEY",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ title: "Call the roofer back", priority: "high" }),
});
const { task } = await res.json();

Python:

import requests

r = requests.post(
    "https://app.0ntask.com/api/v1/tasks",
    headers={"Authorization": "Bearer 0nt_live_YOUR_KEY"},
    json={"title": "Call the roofer back", "priority": "high"},
)
task = r.json()["task"]

3. Or just fire a URL

For anything that can only send a GET — an iOS Shortcut, IFTTT, a legacy webhook field:

curl "https://app.0ntask.com/api/v1/quick?key=0nt_live_YOUR_KEY&title=Call+the+roofer"

FAQ

Where do I get an API key?

In your 0nTask account under settings. Keys start with 0nt_live_ and are shown once at creation — they are stored hashed, so they cannot be displayed again afterwards.

Do I need to install anything?

No. There is no SDK and no dependency. curl, fetch, requests or any HTTP client works.

What is the minimum request?

A POST to /api/v1/tasks with your key and {"title":"..."}. Every other field is optional.

How do I know it worked?

A successful create returns 201 with the task object and synced_to_app: true, which confirms it is visible in the 0nTask app as well as in the API.

API referenceWebhooksAI agents & MCP