Review Links are a core Frame.io feature for collecting Assets, and sending them around for feedback via a single URL without requiring explicit Team or Project access. Fundamentally, they’re a representation of Assets from within a single Project, so this guide will assume that:
Review Links strictly belong to Projects, and an Asset in a Review Link is represented as a special resource type called a Review Link Item, which will always contain the review_link_id and asset_id it’s joining, as well as the full payload of the associated Asset.
While Review Link Items do not need to be tracked or managed on their own, they’re a helpful structure to understand the full workflow captured in this guide. Accordingly, the hierarchical family of a Review Link looks like this:
Project > Review Link > Review Link Item > Asset reference
Before beginning this guide, you’ll need to make sure you have a token that includes at least the following scopes:
To create a Review Link, you’ll need to gather:
If you don’t have the Project ID handy, but do have access to Frame.io and know which Project you’d like to use, you can see the ID on your address bar when navigating to the project: https://app.frame.io/projects/<project-id>.
Similarly, if you don’t have the Asset ID(s) handy, navigate to the asset(s) you want, and pull the ID(s) from the address bar in your browser: https://app.frame.io/player/<asset-id>.
To make the base for your link, you’ll need to determine your desired Review Link options, and build them into a JSON payload. At the minimum, you’ll need to come up with a name.
Here’s an example payload — for convenience, it shows the defaults for each field, should you choose to generate with a name only:
Now make an authorized POST https://api.frame.io/v2/projects/:id/review_links, using your payload as the request body.
Congratulations! You’ve just made a Review Link. In the response body, you’ll see two important attributes:
id: This is the reference to your Link container. Hang onto that, as you’ll need it when you add Assets in the next step.short_url: This is the URL for your Review Link that you’ll ultimately distribute. It will look something like https://f.io/_aBcDeFNow that you have a Review Link, it’s time to add some Assets to it. Start by prepping a JSON payload with a string-array of your Asset id(s):
Now make an authorized POST to https://api.frame.io/v2/review_links/:id/assets, using the Review Link id from Step 2 in your path, and your Asset id(s) in the request body.
All done! You’re now ready to distribute your short_url.