Sign in

Create document (file)

documented

Create a new document by uploading a PDF/file.

POST /document/file.jsonDocumentno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.yumpu.com/2.0/document/file.json" \
  -X POST \
  -H "X-ACCESS-TOKEN: {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: multipart/form-data" \
  -F "file=@{{$file_path}}" \
  -F "title={{$title}}" \
  -F "description={{$description}}" \
  -F "category={{$category}}" \
  -F "language={{$language}}" \
  -F "tags={{$tags}}" \
  -F "visibility={{$visibility}}"