Credits
Credits pay for the messages your tasks send to people. A new task sets aside the most it could cost; when that can't be covered, the API answers 402 not_enough_credits. What uses credits, how the amount is worked out, and how to avoid the refusal.
What uses credits#
Credits pay for messages to the people who get your tasks. Your plan includes credits every calendar month (UTC); the numbers and what each message costs are on the pricing page.
- Uses credits: the email that asks a person to act on a task (the first ask, an escalation, a handover, a resend by support) and its reminder; WhatsApp messages and text messages (per message part for a text).
- Never uses credits: Telegram, Slack and the phone app; account, sign-in, security and billing emails; the email that tells people a task was cancelled; emails to members that a task went unanswered; emails of test tasks (a test task's paid channels do use credits).
Credits are used in this order: credits given by TaskToHuman, then packs (the most recently bought first), then the month's credits. The month's credits don't carry over to the next month. A pack lasts 3 calendar months from its purchase, used or not.
What a new task sets aside#
When a task is created, it sets aside the most it could cost, so a task that is accepted can always send what it planned. For each step of the chain and each person on it:
- the ask: one email, plus one text message (counted at its longest, 2 parts) if the person can get texts, plus one WhatsApp message if the person can get WhatsApp;
- the reminder, if the step reminds: one email plus the dearer of the text message and the WhatsApp message.
A consensus step counts every person it asks; a step that goes to one person out of several (a rota) counts its most expensive member; a person whose channels aren't known counts as email only. A test task's emails count as 0.
Example 1: a task type with two steps, one person each, both reached by email only and both reminded, sets aside 4 credits: an email ask and an email reminder per step.
Example 2, with mixed channels (1 credit per email, 100 per text message part, 20 per WhatsApp message; reminders on):
- Step 1 asks Ana, who can get texts and WhatsApp. The ask: 1 + 200 (a text at its longest, 2 parts) + 20 = 221. The reminder: 1 + 200 (the dearer of the text and the WhatsApp message) = 201. Ana: 422.
- Step 2 is a consensus step that asks Bruno and Carla (email only) and Dina (WhatsApp). Bruno and Carla: 2 each. Dina: 21 for the ask and 21 for the reminder, 42. Step 2: 46.
- The task sets aside 468 credits. If Ana approves at once, step 2 never runs, and what wasn't used goes back when the task ends.
As messages go out, they are charged from what the task set aside. When the task ends (resolved, expired, cancelled, or deleted with its history), whatever it didn't use goes back to the pack or month it came from, unless that pack or month has ended by then. Asking someone else on an open task (a reassign) or reopening a finished one sets aside more for the person asked.
When credits can't cover a task#
If the organization's free credits (what isn't set aside by open tasks) can't cover what a new task would set aside, the task is refused, from every door (API, webhook URL, MCP and the app's test task button):
HTTP/1.1 402 Payment Required
Content-Type: application/problem+json
{
"title": "Not enough credits for this task.",
"status": 402,
"code": "not_enough_credits",
"needed": 4,
"available": 2,
"held": 196,
"reason": "auto_buy_off",
"auto_buy": false,
"traceId": "00-7d3e1c2b9a8f4e6d5c4b3a2918071625-1a2b3c4d5e6f7081-01"
}Nothing is stored for a refused request, so a retry with the same Idempotency-Key works once credits are there. The fields are explained on the Errors page. A message on a paid channel that credits can't cover on a task that is already running is not sent there; the task goes on to the person's next channel, and email.
How to avoid it#
- Buy a pack in the app (Plan › Credits). Pack credits are used before the month's credits.
- Turn on automatic buying (an owner, admin or billing member, on a paid plan): when a new task can't be covered, the chosen pack is bought on the subscription's card, up to a monthly spending limit you set. It is off until someone turns it on. A declined card pauses it and the task is refused with
reason: "top_up_failed". Tasks created through MCP never buy. - Use fewer paid channels: Telegram, Slack and the phone app never use credits, and a person reached by email only sets aside the least.
- Wait for open tasks to end:
heldin the 402 is what open tasks have set aside, and their unused credits come back when they end.
Where your credits went (ledger)#
Plan › Credits › Ledger shows where your credits went, the way a card statement shows a payment apart from the amount a hotel holds on your card: credits a task sets aside are not spent. The ledger lists what changed your balance (credits used by messages, failed sends given back, packs bought, the month's credits, credits from TaskToHuman, what expired or was removed). The summary above the table follows the filters, counts only used credits, and a click on one of its lines applies it as a filter.
- Your balance (Overview): available (free for new tasks) + set aside for open tasks = balance. Set-aside credits come back when their task ends, except the part it used.
- On hold lists the open tasks that have credits set aside: when, how many, how many their messages used so far and how many are still set aside.
- Group by task shows one line per task: what it used, then what it set aside (struck through once the task has ended) and what came back, for example "Used 120 · Set aside 468 · 348 returned", with the 468 struck through. A task that sends nothing reads "all returned". If the pack or month a task's credits came from ended while the task was open, the returned credits expire at once, and the line and the ledger say so.
- Show set-aside credits also lists the movements of setting credits aside when a task is created and returning them when it ends, marked "Not a spend".
- Filters: period (this month, last month, the last 3 months or your own dates), what happened, channel, taken from (TaskToHuman, a pack or the month's credits), workspace, task type and task.
- Download CSV saves every filtered movement (at most 100,000), set-aside ones included, with the columns
date(UTC),what_happened,kind,channel,task_id,task_type_id,task_type,workspace_id,workspace,credits,taken_from,balance_after,held_after,movement_id,grant_id,notification_idandcounts_toward_balance. -kindisholdwhen a task set credits aside andreleasewhen it returned what it didn't use;chargeis a message paid from what its task set aside,useone paid directly,unchargeandrefunda failed send given back,grant,expireandrevokecredits added, expired and removed.task_idties a task's movements together. -counts_toward_balanceisfalseforholdandreleaseandtruefor the rest. Add upcreditsover thetruerows to get how much your balance changed: adding thefalserows too would count set-aside credits as spent. -balance_afteris what was available after the movement andheld_afterwhat open tasks had set aside; together they are the balance. - A member limited to some workspaces sees only those workspaces' entries and totals.
Removed files#
A file a person attached to an answer counts toward your plan's attachment storage. If an organization stays over its storage allowance (for example after a storage add-on ends or after a downgrade), TaskToHuman may remove the files of its oldest finished tasks until it fits, at the earliest 30 days after the first email about it to its owners, admins and billing members. Files of open tasks are never removed, and tasks and decisions stay.
A removed file stays in the decision's attachments, with:
removed:true;removed_at: when it was removed;removed_reason:storage_allowance;- an empty
nameand asizeof 0. Thesha256stays, so you can match it to the copy you downloaded.
Its url answers 410 attachment_removed. Download files you need to keep when you receive the decision.