Skip to main content
Available Managed connector - SocialAPI handles the Meta App and platform app review for you. No customer-side Meta for Developers registration required. See Platform credentials.

At a glance

Capabilities

Connecting

Response:
Redirect your user to auth_url. After they authorize, SocialAPI exchanges the code with Instagram and redirects the user to your redirect_uri with the connection result. See OAuth flows for the redirect parameters.

Reading samples

List posts

Sample response:

List active stories

Returns the account’s currently-active stories. Stories are ephemeral: they expire about 24 hours after posting, so this endpoint only ever returns what is live right now. Instagram only.
Each item uses the same shape as a post. Two story-specific values are surfaced in metadata: is_story is always true, and expires_at is the computed expiry (posting timestamp plus 24 hours; Instagram does not return an expiry field). For video stories without a media_url, the cover image is returned as media_url. Sample response:

List comments on a post

Comments are scoped to a specific post. Use the platform post ID (e.g. from targets[].platform_post_id):
Sample response:

List DMs

Sample response:

Publishing

Create an Instagram post with optional platform-specific fields:
For the full field reference, media constraints, and error recovery, see Instagram posts.

Limitations and gotchas

  • Private replies. Replying to a comment with "private": true sends a DM to the commenter. This is Instagram’s native “Send Private Reply” feature, not a SocialAPI workaround.
  • Token expiry. Instagram access tokens can expire. If you receive 401 with code: "invalid_token", reconnect the account using the OAuth flow.
  • Account fields. See the shared account object reference for the fields returned by /v1/accounts.

Permissions

  • Permissions. SocialAPI’s managed Meta App already requests these scopes on your behalf: instagram_business_basic, instagram_business_manage_comments, instagram_business_manage_messages, instagram_business_content_publish. You don’t need to apply for any platform app review. See Platform credentials.