Skip to content
Navigation

Join files into one

Joins 2 to 20 files, in the order you list them, into a single new file.

{ "files": ["call-part1.mp3", "call-part2.mp3"] }

Each entry is a file id or a file name. Every file must be the same kind:

  • Audio — the recordings are concatenated. format (mp3, m4a or wav) forces the output container; without it the inputs' own container is kept. The result is named <first>.joined.<ext>.
  • PDF — the documents are merged into one. The result is named <first>.merged.pdf.

Mixing audio with PDFs answers 400. The files must be under 40 MB in total, otherwise the call answers 413 too_large.

Learn more: Working with files

POST
https://api.cloudraker.com/v1/spaces/{spaceId}/files/stitch
Try it
Path parameters
Request body
Live API request

This request can change data or incur charges for the selected organization.

Authorization

  • bearerAuth
    HTTP
    required

Path parameters

  • spaceId
    string
    required

Request body JSON required

  • files
    array of
    string
    required
    minLength: 1
  • format
    optional
    mp3
    or
    m4a
    or
    wav

Returns

201

The joined file.

JSON
  • object
    string
    required
  • id
    string
    required
  • name
    string
    required
  • mimeType
    string
    required
  • status
    uploading
    or
    processing
    or
    ready
    or
    failed
    required
  • createdAt
    string
    required
  • parentFileId
    optional
    string
  • metadata
    optional
    map of
    string
  • error
    optional
    string
  • uploadUrl
    optional
    string
  • uploadExpiresAt
    optional
    string
  • urls
    optional
    object
    • content
      optional
      string
    • markdown
      optional
      string
    • json
      optional
      string

400

Mixed or unsupported file types (invalid_request).

404

Unknown file.

409

Ambiguous name (ambiguous_file_name).

413

More than 40 MB in total (too_large).

429

Rate limited. The /v1 API allows at least 67 requests per minute per organization (about 1,000 requests per 15 minutes) — a guaranteed floor, enforced per edge location, so a geographically spread caller may get more. Wait for the Retry-After interval and retry — the error is retryable.
JSON
  • code
    rate_limited
    required
  • message
    string
    required
  • retryable
    true
    required
  • requestId
    string
    required
  • docUrl
    optional
    string

Type to search…

↑↓ navigate↵ selectEsc close