Skip to main content
POST
Write or Append File

Authorizations

Authorization
string
header
required

ZeroDrive Personal API Key (zdk_), device token, or OAuth 2.0 Bearer token

Body

application/json
path
string
required

Target vault path

content
string

UTF-8 text content

content_base64
string

Base64 data for binary files

source_url
string

URL to download directly into vault

content_type
string

MIME type (optional)

append
boolean
default:false

Append to existing file

Response

200

File written successfully