List Instagram media
GET
https://api.flownally.com/v1/inboxes/{inboxId}/instagram/mediaReturns the posts and reels of this inbox's Instagram account, and its active stories when
mediaTypes includes story. Use post and reel id values as mediaIds in a journey's
instagram_comment trigger; stories can't receive comments. Posts and reels come first,
then stories.Flownally filters by mediaTypes after reading a page from Instagram, so a page can
hold fewer items than pageSize, or none, and still have a nextPageToken. Keep paging
until nextPageToken is absent. The inbox must be an Instagram inbox; other inboxes
return 400.
Authorization
Required scopes
- inbox:read
Allowed roles
- owner
- admin
- agent
List Instagram media available for Journey targeting.
Parameters
- Name
inboxId- Type
- path · string
- required
Inbox ID.- Name
mediaTypes- Type
- query · array<InstagramMediaType>
Media types to include. Defaults topostandreel.- Name
pageSize- Type
- query · integer
Number of media items to read from Instagram for this page. Defaults to 50; values above 100 are treated as 100.- Name
pageToken- Type
- query · string
Opaque token returned asnextPageTokenfrom the previous page.
Responses
- 200Instagram media pageapplication/json
- defaultErrorapplication/json
Related schemas
Generated from the API spec.