API introduction
What this is
Section titled “What this is”The Dropslate REST API is the same contract the dashboard and MCP both use - apps/api/openapi.json, also served live at GET /v1/openapi.json. This page is the practical path: get a key, run the upload → post → status scenario end to end, then use the generated OpenAPI reference for every field.
Get a key
Section titled “Get a key”Settings → API keys → New key (owners and admins). Name it for what it’s for, and grant write if it needs to publish - without it, a key only reads accounts, media and posts. The full key (ds_live_...) is shown once, right after creation - copy it then, because the server stores only its hash and prefix afterward. The API comes with paid plans, which are not on sale yet: on Free, creating a key answers 402 quota_exceeded.
The key is not for a prompt. It belongs in a client’s environment or a workflow tool’s credential store (an n8n credential, a Make connection, a .env file), never in text an AI agent reads: an agent that can read its own instructions can read a key pasted into them just as easily.
Upload → post → status
Section titled “Upload → post → status”The acceptance scenario for this API is the working example: the same six calls in curl, Node and Python, run end to end against the live server.
GET /accounts- the account to publish to, chosen by itsplatformandstatus: "ok", never the first one in the list.POST /media/uploadswith the file’s realsizein bytes - a different number answerssize_mismatchat the next step.PUTthe bytes touploadUrl- the URL is signed on its own, so noAuthorizationheader.GET /media/{id}untilstatusisready- processing runs on its own, and a post planned before that has the issuemedia_not_ready.POST /posts/plan, read every row, thenPOST /postswith the same body andconfirm: true. A YouTube target needs atitle.GET /posts/{id}untilliveorfailed.
Next: Authentication, Rate limits, Errors, or the field-by-field OpenAPI reference.