Experiences

Upload digital download files

Attaches already-uploaded files to a digital download experience as deliverables. Upload the bytes first with POST /files (presigned upload), then reference the resulting ids here: { "file_ids": ["file_..."] }. Appends to the existing set and de-duplicates, so re-sending an already-attached id is a safe no-op. Returns the full file list.

post/experiences/{experience_id}/files

Request

  • Base URL: https://api.crevio.co/v1
  • URL: https://api.crevio.co/v1/experiences/{experience_id}/files
  • Auth: API key in header Authorization

Path parameters

experience_idstring required

The digital download experience ID

Headers

Idempotency-Keystring

Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.

Request body

file_idsstring[] required

Ids of files already uploaded via POST /files (e.g. "file_abc123") to attach as deliverables

Response

Files attached

object'list' required
has_moreboolean required
urlstring required

Changes

No recorded changes to this operation across all 2 revisions of this API.