Tasks API

Last updated: October 10, 2026

The short version

Getting a key

In Tend, open Settings → Account and create an API key. It is shown once; copy it then, because Tend keeps only a scrambled form of it and can’t show it again. An account has one key at a time: creating another replaces the first, and revoking removes it. Keys are for Tend Premium, and you can make 5 API keys an hour, replacing included.

A key can read and complete everything in your account’s tasks, so treat it like a password: keep it on a server you control, never in a web page or an app you distribute.

Making a request

Every path below is added to https://tendapp.ca/api:

curl -H "Authorization: Bearer $TEND_API_KEY" \\
  https://tendapp.ca/api/v1/tasks/today

Every answer is JSON with Cache-Control: no-store. An error is {"error": "..."} with a message you can show.

Endpoints

MethodPathReturns
GET/v1/tasks/today{today, tasks: [{id, title, projectId, projectName, due, day}]}
GET/v1/projects{projects: [{id, name, emoji}]} (emoji is null when there isn’t one): the Inbox, then your projects in order
POST/v1/tasks/{id}/complete{nextDue}, null when the task was checked off

Today’s tasks

/v1/tasks/today is the same list as Tend’s Today page: open tasks whose day is today or earlier, most overdue first, then timed before untimed. today is your account’s date (in your time zone, and with your day-end setting). due is the task’s due date, or null when it only has a do date; day is the day it’s on. A task is overdue when due is before today. A task with no project has projectId _inbox and projectName "Inbox".

Completing a task

POST /v1/tasks/{id}/complete with a JSON body {"due": "2026-10-10"}: the due date you were shown for the task (null if it had none). This is the same as ticking the checkbox in Tend. A task that repeats moves to its next date and comes back as nextDue; one that doesn’t is checked off. Sending the date you saw stops a task from being completed twice, or from skipping a date, when it was already completed somewhere else.

Limits

A key may make 60 requests a minute, and 30 of them may be completions. It’s a bucket that refills steadily, so a short burst is fine, and a dashboard refreshing every few minutes uses a small fraction of it.

When a limit is spent the answer is 429 Too Many Requests with a Retry-After header, the number of seconds until a request would be let through. A refused request did nothing (a refused completion wrote nothing), so it’s safe to send again. To behave well:

wait = Retry-After seconds from the answer, or 1 second if it's missing
for each try, up to 5:
  answer = request()
  if answer is not 429: stop
  sleep(wait)
  wait = min(wait * 2, 300)

Requests with a key Tend doesn’t know count against the address they come from: more than 10 unknown keys a minute gets 429 for any key that address hasn’t used successfully in the last hour, until it stops. Across all callers together Tend also looks up at most 60 unknown keys a minute, so while someone is sending made-up keys, a key Tend hasn’t seen work in the last hour (a brand-new one, say) can get 429 too: retry after Retry-After as above. The limits are approximate, so don’t plan around the exact count.

Errors

StatusMeaning
401No key, not a Tend key, or a key that was replaced or revoked. Create a new one in Settings → Account.
403The account doesn’t have Tend Premium. The key is kept and works again when Premium does.
404No such endpoint, or no such task.
405The endpoint doesn’t take that method; Allow says which it does.
429Too many requests. See Limits.
500Something went wrong on Tend’s side. Try again later.

Your data

What Tend keeps about a key, and what the API can reach, is in the privacy policy. Revoke a key in Settings → Account and it stops working at once. Questions: support@tendapp.ca.