Test modeAll pages

Test mode

Build and test your integration with a test key. Test tasks behave like real ones, but notify only you, run a single step, end quickly and have their own monthly allowance instead of counting as usage.

What a test key changes#

Create a key in test mode in the app. It starts with tth_test_. Tasks created with it:

  • have "test": true in every response and callback;
  • send every notification to the member who created the key, whoever the task type's chain names, so the real humans are never bothered;
  • never count toward your monthly tasks: they have their own allowance instead;
  • run only the first step of the task type's chain: a test task never escalates to the next person (so of a task type's open steps, only an open first step needs an approver; an open consensus first step needs its N to M people, and each of them is a separate notification to you);
  • end after your plan's maximum test life at the latest, whatever deadline_minutes or default deadline they have;
  • otherwise use the same fields, timers, default action and callbacks as live tasks, so what you test is what runs.

Separate from live#

A key sees only tasks of its own mode: a test key never reads, lists or cancels live tasks, and a live key never sees test tasks (both answer 404). Idempotency keys are separate per mode too, so a test task and a live task never replay each other.

Callbacks of test tasks are signed with the same workspace secret as live ones, so your verification code needs no special case.

What stays live#

  • Tasks created through a task type's webhook URL are always live: the URL has no mode.
  • Tasks created by the app's Send test task button are test tasks, like a test key's.

Limits#

Test tasks are for building and checking an integration, not for running real approvals, so each plan sets two limits on them:

LimitKeyWhat it does
Test tasks per monthlimit.test_tasks_monthHow many test tasks your organization can create in a calendar month (UTC). Every way in counts: test keys on the API and the MCP server, and the app's Send test task button. It starts again on the 1st.
Longest test task lifelimit.test_task_max_secondsHow long a test task can stay open. When it is reached the task ends as if its deadline had passed (with the task type's default action, or expired). A shorter deadline is kept.

Test tasks are also kept for 7 days only, whatever your plan's history, and then deleted with their events.

The values for each plan are on the pricing page, and your own in GET /v1/entitlements. Past the monthly allowance, a test key's request is refused and nothing is created:

JSON
{
  "title": "This month's test tasks are used up. Test tasks have their own monthly allowance on your plan; it starts again on the 1st (UTC). Use a live key, or upgrade for more.",
  "status": 402,
  "code": "test_task_limit_reached",
  "reason": "test_limit",
  "limit": "limit.test_tasks_month",
  "max": 10,
  "available_from": "starter"
}

available_from names the cheapest plan with a bigger allowance (absent when none has one). Live keys are not affected. If you need more for a while, contact support: the allowance can be raised for your organization.

Availability#

Test keys need the intake.test_mode feature. Without it, a test key's request is refused with 403 feature_not_in_plan and feature: "intake.test_mode". Check GET /v1/entitlements.