Instagram Stories API: How to Post a Story

We are excited to announce Ayrshare as the only API-first platform to offer direct posting to Instagram Stories via an API.

Instagram Stories offer a dynamic and powerful method to connect with your audience and strengthen your brand. A Story allow you to share images and videos that last for just 24 hours. These could include pictures of your latest product, an upcoming event photo, or short video snippets addressing common questions. Stories are a wonderful way to try out various content types and engage with your followers.

Ayrshare streamlines this process by allowing you to schedule your stories in advance via our Instagram Stories API.

Posting Instagram Stories via the Ayrshare API

After signing up for Ayrshare, getting your API Key, and linking your Instagram Account, you can easily send your first image or video Story to Instagram.

    "post": "The description of the video",
    "mediaUrls": [""],    
    "instagramOptions": {
        "stories": true,

Simply add your single image or video, send some post text – note Instagram does not currently take the text for Stories – and set the parameter stories: true. POST this JSON to and your Story will be published.

Remember that Stories only last for 24 hours and then disappear.

If you want to learn more about publishing to Instagram check out our other article on publishing Instagram Reels via an API.