> ## Documentation Index
> Fetch the complete documentation index at: https://developer.supernotes.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Youtube to iOS Shortcut

<Info>
  This was originally posted by @clefshanty in the [Supernotes
  Community](https://community.supernotes.app/t/ios-shortcut-to-post-card/1181).
</Info>

An iOS shortcut that grabs a YouTube video's URL and title, and creates a new card in Supernotes with the video embedded.

## Features

* Grabs YouTube video URL and title using the "Get URL" method
* Creates a new card in Supernotes with the video embedded using the Supernotes API
* Sets the card title to the YouTube video title
* Adds tags to the card
* Opens the new card in Supernotes after creation

## Steps

1. Get YouTube video URL and title using "Get URL" method
2. Create markdown text for embedding the YouTube video using the format `@[youtube](link to video)`
3. Send a POST request to the Supernotes API to create a new card with the video embedded
4. Open the new card in Supernotes using the open app method

![image](https://community.supernotes.app/uploads/default/optimized/1X/ac094bb3816c17402e656113d7b74d03ec4b6454_2_616x1000.jpeg)
![image](https://community.supernotes.app/uploads/default/optimized/1X/3047552eb3331cfccfd2ccf4de46c9e5fcbc72b5_2_628x1000.jpeg)
![image](https://community.supernotes.app/uploads/default/optimized/1X/efb3f867fc65e6515a701f378de298319361c935_2_908x1000.jpeg)
![image](https://community.supernotes.app/uploads/default/original/1X/0f5c03d48b140fa979c0b7151cf9ebef804cb60c.jpeg)

## Notes

* Requires Supernotes API key for authentication
* Uses the `https://api.supernotes.app/v1/cards/simple` API endpoint to create a new card
