Focused URL Scheme

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}&note={note}&project={project name}&canDefer={true|false}&minorTask={true|false}&date={ISO8601}
  • title: String, the title of the task
  • note: String, the note of the task
  • project: String, the name of the project to assign
  • canDefer: String, true or false
  • minorTask: String, true or false
  • date: 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}&note={note}&project={project name}&canDefer={true|false}&minorTask={true|false}&date={ISO8601}
  • title: String, the title of the task
  • note: String, the note of the task
  • project: String, the name of the project to assign
  • canDefer: String, true or false
  • minorTask: String, true or false
  • date: 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