fbpx

FREE! Plan Your Ideal Week: Bonus Workshop + Planner  →  Get the Workshop

An Introduction to Callback URLs in Obsidian

One of the things I love about Obsidian is that it offers support for callback URLs. For example, you could include a link to a specific note inside of a task in Things or a link to an email message from your Daily Notes in Obsidian.

In this article, I’ll show you a couple of ways you can connect things in Obsidian to other apps. But if you prefer to watch instead, here’s a short video:

Linking to a Note in Obsidian

Each note in Obsidian has its own callback URL that you can use to access that note directly. To get to Obsidian URL, just right-click the note you want and select Copy obsidian url:

The URL is copied to your clipboard, and you can now paste that link in another application like Things. This allows you to manage the task (and all the associated metadata, like due date, project, etc.) in your task manager, and when it’s time to write you just click the Obsidian URL in the task to go straight to the note in Obsidian.

Here are the different components that make up this specific URL:

  • obsidian://open? tells the operating system to access the Obsidian application and open a specific file.
  • vault=Notes tells the Obsidian app which vault to look inside.
  • &file=Articles%2FObsidian%20vs.%20Roam%20Research specifies the file path in the vault. Articles is the folder, and Obsidian vs. Roam Research is the file name. %2F represents the slash in the directory path, and %20 represents the spaces in the file name.

This URL works on both macOS and iOS, provided that you have the Obsidian application installed and the vault names are the same. (Of course, the file must exist on your other device as well.)

Linking to a Task from Your Daily Notes Page

Another thing you can do is take tasks from your task manager and put those URLs inside of Obsidian. For example, you can use Obsidian like a digital Bullet Journal and link to the task you want to complete today in your Daily Notes.

First, you need to make sure that you have the Daily Notes core plugin enabled. To do this, click the Settings icon in the lower-left and go to Core Plugins section, then toggle on Daily Notes.

Now you can create a new Daily Note by clicking the calendar icon in the left sidebar.

Next, get the URL of the task you want to add to your Daily Notes page. In Things, you can do this by right-clicking on the task and selecting Share → Copy Link.

Now we can go back to our Daily Notes page and add this link. If we use the formatting - [ ] then Obsidian recognizes this text as a task and creates a clickable checkbox for the item. Here’s what it looks like in split view, with Edit Mode on the left and Preview Mode on the right:

There’s a box with an arrow to the right of the link, telling us it’s an external link and will take us out of Obsidian. But when we click on this link, we go straight to the task in Things.

Grabbing URLs with Hook

On the Mac, there’s another cool way to grab links to just about anything using an app called Hook. For example, you can use Hook to grab a URL to a specific message in your email client. Here’s how it works:

Using your Mac, open the window of the thing you want to link to and activate Hook. You can set a keyboard shortcut for this (mine is set to Shift-Control-Option-Command-L), and the Hook window will appear on top of the application window:

The second button from the left is the one to copy the link, so click that and the link to the message is copied to your clipboard. Now you can paste that URL in Obsidian, just like we did with the link to the task on our Daily Notes page:

This is actually just the tip of the iceberg with Hook, though. Just like Obsidian creates bidirectional links between your notes, you can actually create bidirectional links between your files with Hook.