Instagram

Publishing, Reels, Stories, Insights.

Edit this page·Last updated: July 13, 2026

Instagram

pepe.business is a Meta Business Partner. Publishing via Instagram Graph API without a dev app on your side.

Connection

POST /v1/connect/instagram
{ "scopes": ["instagram_basic", "instagram_content_publish"] }

Instagram Business account required. Conversion from a personal account is possible in the Instagram app.

Publishing

Photo feed

POST /v1/posts
{
  "text": "Sunset 🌅",
  "platforms": ["instagram"],
  "mediaUrls": ["https://example.com/sunset.jpg"]
}

Supported ratios: 1:1 (square), 4:5 (portrait), 1.91:1 (landscape).

Reel

POST /v1/posts
{
  "text": "New Reel!",
  "platforms": ["instagram"],
  "mediaUrls": ["https://example.com/video.mp4"],
  "mediaType": "reel"
}

Limits: MP4, 9:16, max 90s, max 100 MB.

POST /v1/posts
{
  "text": "Our collection",
  "platforms": ["instagram"],
  "mediaUrls": [
    "https://example.com/1.jpg",
    "https://example.com/2.jpg",
    "https://example.com/3.jpg"
  ]
}

Up to 10 images.

Stories

POST /v1/posts
{
  "platforms": ["instagram"],
  "mediaUrls": ["https://example.com/story.jpg"],
  "mediaType": "story"
}

Duration 24h, 9:16 ratio, max 15s for video.

Insights

GET /v1/analytics/post/{postId}?platform=instagram
{
  "impressions": 8421,
  "reach": 5320,
  "likes": 412,
  "comments": 38,
  "saves": 56,
  "shares": 12,
  "follows": 8,
  "profileVisits": 24
}

Story insights

GET /v1/instagram/stories/insights?range=7d

Demographics

GET /v1/instagram/audience/demographics

Returns age, gender, country, cities of your followers.

DMs

POST /v1/messages
{
  "platform": "instagram",
  "to": "user_id",
  "text": "Thanks for your comment!"
}

Publishing limits

  • 25 posts / 24h (Graph API limit)
  • Reels not counted in this limit
  • pepe.business manages a queue to spread them out

Ice breakers

Configure "ice breakers" (quick DM questions):

PUT /v1/instagram/ice-breakers
{
  "iceBreakers": [
    { "question": "Your hours?" },
    { "question": "Your products?" }
  ]
}

Was this page helpful?