# Siri Shortcuts and the Suite’s APIs

**URL:** <https://discuss.write.as/t/siri-shortcuts-and-the-suite-s-apis/5273>\
**Category:** API\
**Tags:** snapas, writeas\
**Created:** [April 19, 2022, 2:35pm UTC](https://discuss.write.as/t/siri-shortcuts-and-the-suite-s-apis/5273 "2022-04-19T14:35:43Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![DavidBlue](https://discuss.write.as/user_avatar/discuss.write.as/davidblue/32/258_2.png) [@DavidBlue](https://discuss.write.as/u/DavidBlue)\
**Post date:** [April 19, 2022, 2:35pm UTC](https://discuss.write.as/t/siri-shortcuts-and-the-suite-s-apis/5273/1 "2022-04-19T14:35:43Z")

</div>

I first posted a comment somewhere on this forum many months ago mentioning the possibility of using ~~Siri~~ “Apple Shortcuts” to automate interactions with Write.as/Snap.as via the API and I’ve now _finally_ begun actually manifesting this, myself.

So far, I’ve published just two:

- [**Authenticate with WriteFreely**](https://routinehub.co/shortcut/11589)  
Just helps one retrieve an auth token (which can be used for both Write.as and Snap.as.)

- [**Snap.as Upload**](https://routinehub.co/shortcut/11616)  
Using said token, this one uploads images (one at a time) to Snap.as and outputs the embed URL. (Ex: `https://i.snap.as/pb8H9CCx.png`)

Here’s [a brief video demo](https://user-images.githubusercontent.com/43663476/164028154-b5b469ff-3ecd-4c96-9540-1c19961e46ce.MOV) of the latter as I’ve configured it from within Drafts.

![Snapas Upload Shortcut](https://i.snap.as/9yV62393.png)

I wanted to establish this thread both so I can continue to share shortcuts as I publish them and of course, to hear from you, whether that be feedback, requests, general bereavement, etc.

---

<div class="post-metadata">

**Author:** ![LDLW](https://discuss.write.as/user_avatar/discuss.write.as/ldlw/32/1600_2.png) [@LDLW](https://discuss.write.as/u/LDLW)\
**Post date:** [April 19, 2022, 5:21pm UTC](https://discuss.write.as/t/siri-shortcuts-and-the-suite-s-apis/5273/2 "2022-04-19T17:21:43Z")

</div>

Thanks for the time you put into this and for sharing with the community. Any Shortcuts I create that leverage the APIs I’ll share here for continuity, and I’m working on a few others that don’t use the API, but may be helpful to writers in general that I’ll share with other posts.

@matt Any chance the iOS app has a callback-url scheme that can be leveraged in Shortcuts for drafting posts with input variables, etc.?

---

<div class="post-metadata">

**Author:** ![matt](https://discuss.write.as/user_avatar/discuss.write.as/matt/32/2760_2.png) [@matt](https://discuss.write.as/u/matt)\
**Post date:** [April 19, 2022, 7:19pm UTC](https://discuss.write.as/t/siri-shortcuts-and-the-suite-s-apis/5273/3 "2022-04-19T19:19:10Z")

</div>

> [@LDLW](#):
>
> @matt Any chance the iOS app has a callback-url scheme that can be leveraged in Shortcuts for drafting posts with input variables, etc.?

I’m not 100% sure if we have this in the app – @angelo, do you know?

---

<div class="post-metadata">

**Author:** ![angelo](https://discuss.write.as/user_avatar/discuss.write.as/angelo/32/884_2.png) [@angelo](https://discuss.write.as/u/angelo)\
**Post date:** [April 19, 2022, 9:33pm UTC](https://discuss.write.as/t/siri-shortcuts-and-the-suite-s-apis/5273/4 "2022-04-19T21:33:08Z")

</div>

Not at the moment, no — but it’s an interesting idea!

---

<div class="post-metadata">

**Author:** ![davepolaschek](https://discuss.write.as/letter_avatar_proxy/v4/letter/d/51bf81/32.png) [@davepolaschek](https://discuss.write.as/u/davepolaschek)\
**Post date:** [April 20, 2022, 12:13pm UTC](https://discuss.write.as/t/siri-shortcuts-and-the-suite-s-apis/5273/5 "2022-04-20T12:13:20Z")

</div>

I’m in the process of creating a new blog to showcase some of my artwork, and the uploader looks particularly useful to me. There’s also the shortcut that grabs an existing web-page as markdown, which I’ve bookmarked for a future investigation into trying to recover some of my older writings on the web. Thanks for the new toys, @DavidBlue !

---

<div class="post-metadata">

**Author:** ![LDLW](https://discuss.write.as/user_avatar/discuss.write.as/ldlw/32/1600_2.png) [@LDLW](https://discuss.write.as/u/LDLW)\
**Post date:** [April 20, 2022, 12:30pm UTC](https://discuss.write.as/t/siri-shortcuts-and-the-suite-s-apis/5273/6 "2022-04-20T12:30:11Z")

</div>

Would it be helpful to provide some examples of other writing apps that do this particularly well? x-callback url is really a dated way of doing this, so if it doesn’t already exist, I’d recommend the effort be proper Shortcut integration so it’s both more user friendly, but has the added benefit of working in Shortcuts for macOS if you ever plan to head to a universal app codebase between the platforms.

I can share both examples of x-callback URL support that’s great and an app where the Shortcuts integration is really elegant and accomplishes the same functionality of sharing things like text and variables into compose views, etc.
