0.x — pre-release, no compatibility promise yet.What this means
Quickstart
What this is: the shortest path to a working call. When you need it: first — every other page assumes you have done this once.
Get a token
Section titled “Get a token”In TasksMate, open Developers → Tokens and choose Create token. Pick your organization and the scopes
tasks:readandtasks:write. The token is shown once — copy it now, and set it in your shell:Terminal window export TASKSMATE_TOKEN="<YOUR_TOKEN>"export TASKSMATE_API_URL="https://tasksmate-fdfsarhnf5gacfb7.eastus-01.azurewebsites.net"export TASKSMATE_ORG="O0020"The Python SDK and
tmread the same variables. They are0.xpre-releases and not on PyPI yet — install from the SDK.Make your first call
Section titled “Make your first call”Terminal window curl "$TASKSMATE_API_URL/v1/me" \-H "Authorization: Bearer $TASKSMATE_TOKEN"from tasksmate import TasksMatetm = TasksMate() # reads TASKSMATE_TOKEN and TASKSMATE_API_URLprint(tm.me())Terminal window tm meYou get back who the token acts as and the organizations it can reach.
List tasks
Section titled “List tasks”Terminal window curl "$TASKSMATE_API_URL/v1/tasks?org_id=O0020&limit=5" \-H "Authorization: Bearer $TASKSMATE_TOKEN"page = tm.tasks.list(org_id="O0020", limit=5)for task in page.data:print(task.task_id, task.status, task.title)Terminal window tm tasks list --org O0020 --limit 5Lists return
{data, next_cursor}; pagination and filters has the rest.Create one
Section titled “Create one”Terminal window curl -X POST "$TASKSMATE_API_URL/v1/tasks" \-H "Authorization: Bearer $TASKSMATE_TOKEN" \-H "Idempotency-Key: $(uuidgen)" \-H "Content-Type: application/json" \-d '{"org_id": "O0020", "title": "My first API task"}'task = tm.tasks.create({"org_id": "O0020", "title": "My first API task"})print(task.task_id)Terminal window tm tasks create --org O0020 --title "My first API task"The
Idempotency-Keymakes a retry safe — the same key never creates two tasks. Idempotency and ETags explains why. The SDK andtmsend one for you.
You’re done.A token, a read, a list and a create — everything else builds on these.
More to read
Section titled “More to read”- Authentication — scopes, project-restricted tokens, service accounts.
- Errors — every problem type and what to do about it.
- API reference — every operation.