eroq

Platform

Post to Instagram

Post a Reel, a picture or a carousel to an Instagram account linked to the workspace.

free

Link the account once, in the studio (Plugins & connectors › Instagram, a Business or Creator account). A workspace can link several: GET /v1/connections lists them, and a post names one by id or by @handle. TikTok and YouTube links show there too, but their posts are made from the studio only (403 studio_only): their rules want a person's click on every post.

The files. A Library creation (creation:<id>) or a file of the workspace (POST /v1/uploads, then upload:<id>): pictures in JPEG, PNG or WebP (sent to Instagram as JPEG), clips in MP4 or MOV (H.264/AAC). A Reel is one clip of 3 s to 15 min, an image post one picture (4:5 to 1.91:1), a carousel 2 to 10 pictures and clips (a clip 3 to 60 s).

What is checked before anything leaves. Your role may post and the plan includes posting; attest says the post follows Instagram's rules and you hold the rights to everything in it; a render made on an uncensored engine never goes; the caption meets the content policy; every file is looked at (each picture, three frames of each clip) and must suit a general audience. A refusal is a 4xx before anything is sent; 503 check_unavailable means the check could not run — retry.

After the call. A picture is usually live when the call returns (201, status: "published", url); a clip takes Instagram a minute or two (202, status: "processing"): read GET /v1/publications/{id} every 30 s or so until published or failed (error says why, in plain words). Free; 40 posts a day per workspace, all platforms together.

Otorisasi

Authorizationstringheaderwajib

Kunci API-mu sebagai bearer token: Bearer eroq_sk_…. Buat satu di halaman kunci.

The accounts linked to the workspace

The accounts linked to the workspace — api_publish says which ones this API can post to.

GET/v1/connections
The accounts linked to the workspace
curl https://eroq.ai/v1/connections \
  -H "Authorization: Bearer $EROQ_API_KEY"
{
  "object": "list",
  "data": [{
    "id": "43e1743a-8302-43b7-b05c-91d20f44febb", "object": "connection", "provider": "instagram",
    "handle": "eroq.ai", "name": "eroq", "status": "active", "api_publish": true,
    "connected_at": "2026-10-26T00:53:31Z"
  }]
}

Post to an Instagram account

Post to an Instagram account (202, or 201 when it is already live). Free.

POST/v1/publish

Body

application/json
connectionstringwajib

An account id or @handle.

kindstringwajib

reel, image or carousel.

mediaarraywajib

creation:<id> or upload:<id>, in order.

captionstring

The caption.

attestobjectwajib

{ "guidelines": true, "rights": true }.

share_to_feedboolean

Reels: also in the grid (default true).

dry_runboolean

Every check, the files handed to Instagram, nothing published.

Post to an Instagram account
curl https://eroq.ai/v1/publish \
  -H "Authorization: Bearer $EROQ_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "connection": "@eroq.ai",
  "kind": "reel",
  "media": [
    "upload:3f9a1c2b7d8e4f60"
  ],
  "caption": "Made in one take. #aivideo",
  "attest": {
    "guidelines": true,
    "rights": true
  }
}'
{
  "id": "6b0e4f9a-2c1d-4e7b-9a3f-5d8c7b6a1e2f", "object": "publication", "provider": "instagram",
  "connection": "43e1743a-8302-43b7-b05c-91d20f44febb", "handle": "eroq.ai", "kind": "reel",
  "status": "processing", "url": null, "error": null,
  "created_at": "2026-12-04T17:02:11Z", "published_at": null
}

Where a post stands

Where a post stands — reading it moves it along: queued, uploading, processing, published (with url) or failed (with error).

GET/v1/publications/{id}

Parameter path

idstringwajib

The publication's id, as listed or created.

Where a post stands
curl https://eroq.ai/v1/publications/PUBLICATION_ID \
  -H "Authorization: Bearer $EROQ_API_KEY"
{
  "id": "6b0e4f9a-2c1d-4e7b-9a3f-5d8c7b6a1e2f", "object": "publication", "provider": "instagram",
  "connection": "43e1743a-8302-43b7-b05c-91d20f44febb", "handle": "eroq.ai", "kind": "reel",
  "status": "published", "url": "https://www.instagram.com/reel/DRk3…/", "error": null,
  "created_at": "2026-12-04T17:02:11Z", "published_at": "2026-12-04T17:03:40Z"
}

The workspace's latest posts, studio and API, newest first

The workspace's latest posts, studio and API, newest first (?limit= up to 100, default 20).

GET/v1/publications

Parameter query

limitinteger

1 to 100, default 20.

The workspace's latest posts, studio and API, newest first
curl "https://eroq.ai/v1/publications?limit=20" \
  -H "Authorization: Bearer $EROQ_API_KEY"
{ "object": "list", "data": [{ "id": "6b0e…", "object": "publication", "provider": "instagram", "kind": "carousel", "status": "published", "url": "https://www.instagram.com/p/DRk4…/" }] }