Skip to main content
This guide explains the basic Dohoo API workflow for AI agents, n8n workflows, Make scenarios, Zapier automations, and custom applications.

Standard publishing flow

The automated publishing workflow is:
  1. Authenticate with your Dohoo API key.
  2. Upload or select a media file.
  3. Wait until the file is ready.
  4. Retrieve your connected social accounts.
  5. Choose the target connection ID.
  6. Publish or schedule the post through the relevant platform endpoint.

Requirements

Before using the API, make sure you have:
  • A Dohoo account on the Business or Agency plan
  • A Dohoo API key
  • At least one connected social media account
  • A media file if you are publishing image or video content
  • The correct platform endpoint for the social network you want to publish to
API access is available on the Business and Agency plans. Blogger accounts do not include API access.

Step 1 — Authenticate requests

Every Dohoo API request must include your API key in the X-API-Key header.

Step 2 — Upload media

For media posts, first request a presigned upload URL.
The response includes a fileId and an uploadUrl.

Step 3 — Upload the file bytes

Upload the actual file to the returned presigned URL.

Step 4 — Check processing status

After uploading video media, check whether the file is ready before publishing.

Step 5 — Retrieve social connections

List the social accounts connected to your Dohoo account.
Save the connectionId for the account where you want to publish.

Step 6 — Publish to the target platform

Use the correct publishing endpoint for the social platform. Each platform has its own page in the API Reference.

Instagram API

Publish photos and videos to Instagram.

TikTok API

Publish videos to TikTok.

YouTube API

Publish videos to YouTube.

Pinterest API

Create and publish Pinterest pins.

AI workflow pattern

Best practices

  • Check upload status before publishing video files.
  • Use platform-specific captions instead of one identical caption everywhere.
  • Respect daily publishing limits for each social network.
  • Add a review step for sensitive campaigns.
  • Store connection IDs securely inside your workflow tool.
  • Use scheduling instead of sending many posts at the same minute.