# Publish an Instagram post

`needleCreateInstagramPost`

Publish an Instagram feed post or story. At least one image or video URL is required.

**Input**

- `connectedAccountId` (string · uuid, required): Connected account to act as
- `text` (string, required): Caption for the post. Write @username to mention someone.
- `media` (object[], required): Images or videos to publish.
- `postType` ("feed" | "story", optional): Defaults to feed. A story is visible for 24 hours.
- `location` (string, optional): Name of a place to tag.
