The Instagram Publish endpoint lets you post photos and videos to a connected Instagram account without leaving your application. Pass a valid connection ID, a file reference, and an optional caption to schedule or immediately publish content to any Instagram profile you’ve linked in the Dohoo dashboard.Documentation Index
Fetch the complete documentation index at: https://docs.dohoo.ai/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint
Request headers
| Header | Required | Description |
|---|---|---|
X-API-Key | ✅ | Your Dohoo API key |
Content-Type | ✅ | Must be application/json |
Request body
| Field | Type | Required | Description |
|---|---|---|---|
connectionId | string | ✅ | The ID of the Instagram connection to publish from |
fileId | string | ✅ | The ID of the uploaded file (photo or video) |
caption | string | ❌ | Caption text for the post. Maximum 2,200 characters |
Example request
Example response
You can retrieve your
connectionId by calling GET /api/connections/unified. This endpoint returns all active social connections linked to your Dohoo account.