Focused URL Scheme
Focus can has its own URL Scheme starting with focused:// that can trigger a few different actions in the app.
It also has x-callback-url support, so every url can be written as focused://action or focused://x-callback-url/action and you can append continuation urls using the x-success and x-error parameteres
Add Task
The add task action can immediately add a new task, based on the following parameters:
focused://addTask?title={title}¬e={note}&project={project name}&canDefer={true|false}&minorTask={true|false}&date={ISO8601}
title: String, the title of the tasknote: String, the note of the taskproject: String, the name of the project to assigncanDefer: String,trueorfalseminorTask: String,trueorfalsedate: String, ISO8601 date in UTC
Show Add Task
Show add task uses the same parameters to open the pre-filled add task view.
focused://showAddTask?title={title}¬e={note}&project={project name}&canDefer={true|false}&minorTask={true|false}&date={ISO8601}
title: String, the title of the tasknote: String, the note of the taskproject: String, the name of the project to assigncanDefer: String,trueorfalseminorTask: String,trueorfalsedate: String, ISO8601 date in UTC
Show Project
Opens the app to show a specific project
focused://showProject?project={project name}
project: String, the name of the project to assign