Daypost API and MCP
Create a scoped key under Developer in your workspace. Send it as Authorization: Bearer <key> to either endpoint.
MCP
Use /api/mcp with Streamable HTTP in an MCP client that supports a custom Authorization header. Tools are listed according to your key’s permissions.
{
"mcpServers": {
"daypost": {
"type": "http",
"url": "https://mydaypost.com/api/mcp",
"headers": {
"Authorization": "Bearer <DAYPOST_API_KEY>"
}
}
}
}REST API
These paths are relative to /api/v1. The REST API uses JSON, and each workspace can make up to 120 requests per minute.
GET /workspace · GET /channels
Read the plan, enabled platforms and connected accounts. (read)POST /channels/connect · DELETE /channels/{id}
Get a browser link to authorize a channel, or disconnect one. (channels:write)GET /channels/{id}/tiktok
Read current TikTok posting options. (read)GET /posts?start=…&end=… · GET /posts/{id}
Read posts and per-channel delivery status. Dates use ISO 8601. (read)POST /posts · PATCH /posts/{id} · DELETE /posts/{id}
Schedule, edit or cancel pending posts. (posts:write)GET /media · POST /media/{id}/preview
List media and generate private preview links. (read)POST /media/uploads · POST /media/{id}/complete
Reserve a direct upload and confirm the completed file. (media:write)POST /media/inline · PATCH /media/{id} · DELETE /media/{id}
Upload up to 1 MB as base64, set retention, or delete a file. (media:write)POST /billing/checkout · POST /billing/portal
Create Stripe links the owner can open in a browser. (billing:write)
Upload and schedule
- Call
POST /media/uploadswith{ "name": "clip.mp4", "mime": "video/mp4", "bytes": 123456 }. - PUT the raw bytes to the returned signed URL with the returned Content-Type. Send your API key only to Daypost.
- Call
POST /media/{id}/complete. Attach its ID asmediaIdin the post.
{
"requestId": "<unique-uuid>",
"caption": "Behind the scenes",
"mediaId": "<media-uuid>",
"scheduledAt": "2026-12-01T16:00:00Z",
"destinations": [
{
"channelId": "<channel-uuid>",
"options": {}
}
]
}Reuse requestId when retrying a schedule request. Omit scheduledAt to queue for the next worker run. YouTube requires a title, visibility and audience. TikTok requires the creator’s current privacy options, a preview and explicit consent.
Media retention
Uploads are temporary by default. Daypost deletes the private file after all deliveries finish and keeps the post history. Use retention: "library" for a reusable file. Unattached temporary uploads and files needed to review failed or unconfirmed deliveries are kept for at least 24 hours.