List importable units from a provider, or import one
Credentials are used for this call only and never stored. Without projectId the response is a listing of importable units; with projectId it is an import result whose source can be passed straight to deployApp.
Authorization
cloady Personal API token (cldy_…)
In: header
Path Parameters
Value in
- "railway"
- "render"
- "vercel"
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/workspaces/string/import/railway" \ -H "Content-Type: application/json" \ -d '{ "credentials": { "token": "string" } }'{ "units": [ { "id": "string", "name": "string", "group": "string", "summary": "string", "importable": true, "reason": "string" } ]}Delete a workspace (requires full scope) DELETE
Previous Page
Upload project files to deploy POST
Send each file's path and content. The response's uploadId goes into deployApp or inspectSource as source { type: "upload", uploadId }. A single .zip file is taken as the whole project. Up to 3000 files and 50 MB; an upload that no app uses within an hour is deleted.