Create a personal access token
Returns the plaintext once. expiresIn defaults to the instance's tokens.defaultTTL and is silently capped at tokens.maxTTL; read expiresAt in the response. Requires a session: a bearer token cannot mint tokens.
Returns the plaintext once. expiresIn defaults to the instance's tokens.defaultTTL and is silently capped at tokens.maxTTL; read expiresAt in the response. Requires a session: a bearer token cannot mint tokens.
session__Host-dropshelf_session<token>The dashboard session cookie. Its name has no __Host- prefix on an instance served over plain http, because browsers refuse prefixed cookies there. Unsafe methods must also send an Origin header equal to the control plane's origin; a request that sends no Origin at all passes instead on Sec-Fetch-Site: same-origin. POST, PUT and PATCH must declare Content-Type: application/json, application/zip, application/x-ndjson, application/octet-stream (one file of a plan) or, for an avatar, a PNG, JPEG or WebP image, on top of that, whether or not they carry a body; DELETE is held to the Origin rule alone.
Name and lifetime.
application/json- body
expiresIn?stringA duration such as 90d or 12h. Defaults to tokens.defaultTTL, capped at tokens.maxTTL.
name*string1 to 64 characters.
The new token, plaintext included.
application/json- response
createdAt*stringFor a sign-in from an MCP client, when the member approved it.
date-timeexpiresAt*stringFor a sign-in from an MCP client, the current access token's expiry, which the client renews by itself.
date-timeid*stringULID.
lastUsedAt*|Updated at most once a minute. For a sign-in from an MCP client or the CLI, its latest use across refreshes.
date-timename*stringThe label given at creation.
oauth?prefix*stringThe first 8 characters after odp_, for recognising the token.
token*stringThe plaintext. Shown once; store it now.
curl -X POST 'https://drop.example.com/api/v1/tokens' \ -H 'Content-Type: application/json' \ -d '{ "name": "string"}'{ "createdAt": "2019-08-24T14:15:22Z", "expiresAt": "2019-08-24T14:15:22Z", "id": "string", "lastUsedAt": "2019-08-24T14:15:22Z", "name": "string", "oauth": { "client": "string", "renewsUntil": "2019-08-24T14:15:22Z" }, "prefix": "string", "token": "string"}Generated from dropshelf core at 6a548b2, 26 Nov 2026.
Create a drop from a zip POST
Answers 202 as soon as the rows exist; the upload runs in the background. Poll getDeploy with wait= for the outcome. deploy.source is web for a session and api for a bearer token.
Get a ticket to upload a site with curl POST
For an agent that has built a site on disk and can run a shell: the ticket lets it send the zip itself with uploadWithTicket, rather than writing every file into a tool call. Ask for one only when the site is ready to upload: it expires ten minutes after it is issued and works for one upload. Everything the upload would refuse that does not depend on the zip is checked now: a new drop's name, retention, visibility and the member's drop limit, or ownership and type for an existing one, to which the ticket is then bound. For an existing drop retention and visibility are not changed, and are listed in notApplied when given.