Standard publishing flow
The automated publishing workflow is:- Authenticate with your Dohoo API key.
- Upload or select a media file.
- Wait until the file is ready.
- Retrieve your connected social accounts.
- Choose the target connection ID.
- 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 theX-API-Key header.
Step 2 — Upload media
For media posts, first request a presigned upload URL.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.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.
