Contents

Open the sample contract

Copies Scaffold's bundled sample, a fictional two-page mutual NDA with five tracked changes and their reasons, into the signed-in person's workspace. The request body is ignored. Each person has at most one live sample: while it exists this returns it again, and after it is deleted a new one is made. The sample doesn't count toward the Free plan's document limit.

POST /uploads/sample

Headers

  • Authorization string Required

    Bearer <session token>: the signed-in user’s Scaffold session token.

  • x-org-id string Required

Returns

  • document object

    The persisted upload/document row, as returned by every route that creates or mutates upload content (create, save draft, rename, delete, new version, revision-apply, redline edits).

    Show 19 fields
    • id string
    • artifactId string | null
    • orgId string
    • createdByUserId string | null
    • fileName string
    • mimeType string
    • sizeBytes integer
    • purpose string

      One of source_doc playbook

    • clientReferenceId string | null
    • documentSeriesId string
    • documentVersion integer
    • parentUploadId string | null
    • versionKind string

      One of original working_draft

    • storageKey string | null
    • contentSha256 string | null
    • hasBinary boolean
    • status string
    • createdAt string
    • updatedAt string
  • created boolean