v50

latestOpenAPI 3.1.0Creative Force Client Subscription Termsraw.githubusercontent.com2026-07-137852387.4 KB
Users

Upload a user file

Uploads a file to the specified field for the user identified by the specified slug.

post/user/{user_slug}/upload/{field_slug}

Headers

Accept'application/vnd.Creative Force.v2.3+json' | 'application/vnd.Creative Force.v2.3+xml' required

Defines the response type.

Request body

filenamestring required

Original filename of the uploaded file, including the extension.

datastring byte required

Base64-encoded contents of the file.

The encoded payload must round-trip cleanly through standard base64 decoding; payloads with stray characters, incorrect padding, or other malformed encoding are rejected.

Example request

{
  "filename": "example.pdf",
  "data": "aGVsbG8gd29ybGQ="
}

Response

User file uploaded.

filenamestring

Original filename of the uploaded file, including the extension.

tokenstring

Opaque identifier for the stored file. Used as the {token} path parameter on /file/{token}.

linkstring uri

Canonical URL for retrieving the uploaded file.

Example response

{
  "filename": "example.pdf",
  "token": "AbCdEfGhIjKlMnOp",
  "link": "https://api.au.cr4ce.com/file/AbCdEfGhIjKlMnOp"
}