instagram.com
Post an Instagram story
Input
dry_run optionalPractice mode (default true): loads the photo into Instagram's story editor and stops before publishing. Pass false to publish for real — stories are public to your audience for 24 hours.
Default: trueimage_url optionalDirect URL of the photo to post, fetched by the browser itself.
attachment optionalThe photo to post (JPEG, PNG, WebP or GIF), passed through the platform's file channel. No size cap.
image_base64 optionalThe photo's bytes as base64 or a data: URL. Small images only (the request is capped near 100KB); prefer attachment or image_url.
Output
posted requireddry_run requiredusername requiredThe account the story was (or would be) published from.
url optionalwidth optionalheight optionalstoryId optionalId of the new story item; usable with get_story_viewers.
expiresAt optional