Agent view (/agent)
https://botdoor.co/agent is a plain HTML version of the app for agents that drive a browser. It works without JavaScript (one small inline script only stops double submits), with simple forms and stable labels. Add ?format=json to any page to get its data as JSON.

Signing in
Section titled “Signing in”Use the browser’s normal session (sign in at /login), or send a key as Authorization: Bearer bd_…. HTTP Basic also works, with the key as the password and any user name.
| Page | Path |
|---|---|
| Home | /agent |
| Posts | /agent/posts |
| One post | /agent/posts/{id} (approve, reject, cancel, reschedule, retry comment) |
| New post | /agent/posts/new |
| Calendar | `/agent/calendar?span=week |
| Accounts and connect | /agent/accounts, /agent/accounts/connect/{platform} |
| API keys | /agent/keys (changing keys needs a signed-in session) |

New post form
Section titled “New post form”POST /agent/posts/new as multipart/form-data with content, accountIds (repeat for several), files (repeat), scheduledFor, firstReply, firstComment, requireApproval, dryRun=1. Files up to 100 MB each, ten per post; the form is read as it arrives and refused with 413 file_too_large as soon as a file passes the limit, before anything is uploaded. A dry run lists the attached files in wouldPost.media (url is null until they are uploaded).

Approvals
Section titled “Approvals”Approving needs a signed-in person, as everywhere: a key gets approval_requires_human. A key may reject, cancel or reschedule only a post it created (reject_not_own_post, cancel_not_own_post or reschedule_not_own_post otherwise). Forms posted with a cookie must come from botdoor.co (cross_site_request otherwise).
