Help Centre / API and MCP
How do I schedule a post with the overads API?
Included in Growth, the one overads plan. API keys, webhooks and the MCP server are part of the plan.
Send one request to the overads API: POST https://api.overads.io/public/v1/posts with the copy, the ids of the connected accounts and a scheduledAt time. overads answers 201 with the post, and publishes it at that time unless your workspace holds posts for approval.
What you need
- An API key from Settings > API (the API keys and MCP page) with the scopes
connections:readandposts:write. Addmedia:writeif the post carries a file you upload, andposts:readto read the post back later. - At least one social account connected in the app. The API posts to accounts that are already connected; connecting one is done in the app.
Step 1: find the connection ids
A post targets connection ids, not channel names. List them first.
curl https://api.overads.io/public/v1/connections \
-H "Authorization: Bearer sk_live_YOUR_KEY"Each row has an id, a platform, the account's name and a tokenStatus:
tokenStatus | Meaning |
|---|---|
valid | The connection works. |
expiring_soon | The connection works and is inside seven days of expiry. |
expired | Past expiry, or the connection is not active. A post to it is refused with CONNECTION_EXPIRED. Reconnect the account in the app. |
unknown | The platform reported no expiry date. |
Step 2: create the scheduled post
This is the request Brew & Bloom's website sends when the autumn menu goes live. One LinkedIn page, one image by public URL, scheduled for a Friday morning.
curl -X POST https://api.overads.io/public/v1/posts \
-H "Authorization: Bearer sk_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: autumn-menu-2026-a" \
-d '{
"content": "The autumn menu starts Friday. Maple oat latte, pear danish, and the cinnamon bun is back.",
"connectionIds": ["3f1c1a2e-6b2a-4a0e-9a5f-0d5a7d0f2b11"],
"scheduledAt": "2026-12-04T03:30:00Z",
"mediaUrls": ["https://cdn.example.com/autumn-menu.jpg"]
}'| Field | Required | Meaning |
|---|---|---|
content | Yes | The shared copy, 1 to 10,000 characters. |
connectionIds | Yes | 1 to 20 ids from the connections list. |
scheduledAt | No | When to publish, ISO 8601 with a time zone. Leave it out and the post is saved as a draft. |
mediaUrls | No | Up to 10 public https image or video URLs. overads downloads each one into its own storage. |
mediaIds | No | Up to 10 ids of files you uploaded. See upload media through the API. |
variants | No | Different copy for one channel, for example a shorter version for X. |
platformSettings | No | Per-channel delivery settings. An unknown key is refused with PLATFORM_SETTING_UNKNOWN. |
requireApproval | No | Set true to send this one post through approval even when the workspace does not require it. |
Unknown fields are refused, never ignored, so a typo in a field name fails loudly with a 400.
Step 3: read the answer
The answer is 201 with the post in data and a warnings list.
{
"data": {
"id": "b6a0f6b2-1d0e-4d4a-8f2f-0c1f2a3b4c5d",
"status": "scheduled",
"approvalStatus": "none",
"scheduledAt": "2026-12-04T03:30:00.000Z",
"platforms": ["linkedin"],
"targets": [
{ "connectionId": "3f1c…", "platform": "linkedin", "status": "pending", "postedId": null, "permalink": null }
]
},
"warnings": []
}statusisscheduled. The other values aredraft,publishing,published,partial_published,failedandcancelled.targetshas one row per account. After delivery each row carriespostedIdandpermalinkon success, or the platform's own error text on failure.warningslists things that happened without failing the call. Read it every time.
How the time is read
- Send the time in UTC with a
Z, or with an explicit offset. That avoids any doubt about the zone. - A time up to five minutes in the past is moved to now, with a
SCHEDULED_TIME_COERCEDwarning. This keeps a script from failing when a slow upload ran before the request. - A time further in the past is refused with
SCHEDULED_TIME_IN_PAST. - No
scheduledAtmeans a draft. Schedule it later with a PATCH that sets the time. GET /best-timessuggests slots from your workspace's own publish history.
Post to several channels at once
Put several ids in connectionIds and one post goes to each account. Each channel has its own limits, and every target is checked when the post is created. If the copy is too long for one channel the whole request is refused with TOO_LONG, and the message names the channel and its cap. Give that channel its own shorter copy:
{
"content": "The autumn menu starts Friday. Maple oat latte, pear danish, and the cinnamon bun is back.",
"connectionIds": ["3f1c1a2e-…", "9a77c0de-…"],
"scheduledAt": "2026-12-04T03:30:00Z",
"variants": { "twitter": { "content": "Autumn menu from Friday. The cinnamon bun is back." } }
}The limits for each channel are in channel limits.
Change, cancel or publish now
| To do this | Call |
|---|---|
| Move the time or edit the copy | PATCH /posts/:id with only the fields that change |
| Cancel | DELETE /posts/:id. The post is kept with status cancelled; nothing is removed from any platform. |
| Publish immediately | POST /posts/:id/publish. The call returns after delivery was attempted on every target. |
| Check delivery | GET /posts/:id and read targets |
Once a post is publishing, published, partially published or cancelled, an edit is refused with POST_NOT_EDITABLE. Create a new post instead.
When the post lands as pending
If the workspace has Require approval switched on, the same request still answers 201, but approvalStatus is pending and warnings carries APPROVAL_REQUIRED. The post is real and scheduled. It publishes after a member approves it in the app. See why an API post is pending approval.
Errors you may meet
| Code | Status | Meaning | Recovery |
|---|---|---|---|
CONNECTION_NOT_FOUND | 404 | A connectionIds entry is not in this workspace. | List with GET /connections. |
CONNECTION_EXPIRED | 409 | The connection is not active or its token has expired. | Reconnect the account in the app. |
SCHEDULED_TIME_IN_PAST | 400 | scheduledAt is more than five minutes in the past. | Send a future time, or omit it for a draft. |
MEDIA_REQUIRED | 400 | The post targets Instagram and carries no media. | Add mediaUrls or mediaIds. |
MEDIA_URL_REFUSED | 400 | The URL is not public https, did not answer 2xx, or did not return an image or video. | Host the file on a public https URL. |
POST_NOT_EDITABLE | 409 | The post is publishing, published, partially published or cancelled. | Create a new post. |
SCOPE_MISSING | 403 | The key lacks the route's scope. | Create a key with the scope. |
A post to three accounts that lands on two is not an error. The call succeeds and the account that failed is in targets with the platform's message. Read targets, not only the HTTP status.
Common questions
Can I schedule a post without choosing a time?
Yes. Leave out scheduledAt and overads saves a draft. Send a PATCH with a time when you are ready to schedule it.
How do I avoid creating the same post twice on a retry?
Send an Idempotency-Key header with the request and reuse the same key on the retry. overads replays the first result instead of creating a second post.
Can the API connect a new social account?
The posts API works with accounts that are already connected. A person connects an account in the app, and the connections list then returns its id.
How many accounts can one post go to?
Up to 20 connection ids in one request. Each account gets its own row in targets.
Is there a sandbox?
No separate sandbox is documented. Leave out scheduledAt to create a draft, which never publishes, and cancel it with DELETE when you are done.
