Skip to content

API tasks ​

For admins and the people who connect WeekOne to other systems

Some onboarding work happens in other systems: a work account, a payroll record, a badge. API Call tasks send the request for you at the right moment, with the new hire's details. When the other system needs time, it reports back, and the task completes on its own.

Why it helps ​

  • No copy and paste between systems. The request uses what the workflow already knows: the employee's details, key dates and form answers.
  • It runs on its own. An API task needs no assignee. It starts when its turn comes in the workflow.
  • Long jobs report back. The other system posts progress and completes the task, and can return values such as a new account ID for later tasks.
  • You can see every run. The task keeps each request and response, with secrets hidden.
  • Works both ways. Your own tools can read progress and assign workflows through the WeekOne API.

How to use it ​

  1. Add a connection under Settings, then Apps, and add an API Call task to a workflow. An API Call task that creates the new hire's work account
  2. Build the request. Type @ or click Insert reference to add workflow values. Turn on Wait for webhook update when the other system finishes the work later. Inserting the callback key into the request body
  3. Open the task on the employee's page and click Load execution history to see each run and the progress the other system reports. The task waiting for IT, with a progress update
  4. When the other system posts COMPLETED, the task completes with the values it returned. The completed task with the new account's details
  5. To work the other way round, open Settings, then API access, and View full API docs. The WeekOne API docs for workflows and assignment

Released in ​

  • v2026.10.3: the WeekOne API now matches what you see in WeekOne
  • v2026.10.4: test API requests with dropdown and Yes/No answers
  • v2026.10.9: let connected systems finish onboarding tasks
  • v2026.10.11: reuse workflow information in API tasks
  • v2026.10.23: configured API tasks run without extra activation
  • v2026.10.26: API tasks can complete after form submission
  • v2026.11.0: API tasks no longer need an assignee

Read the full guide · API reference