soundcloud-api-ts - v1.15.0
    Preparing search index...

    Interface UploadTrackParams

    Parameters for uploadTrack (POST /tracks multipart). Field names follow the official track[…] form schema.

    interface UploadTrackParams {
        artist?: string;
        artwork_data?: ArrayBuffer | Blob | File | Uint8Array<ArrayBufferLike>;
        asset_data: ArrayBuffer | Blob | File | Uint8Array<ArrayBufferLike>;
        commentable?: boolean;
        description?: string;
        downloadable?: boolean;
        embeddable_by?: "all" | "me" | "none";
        filename?: string;
        genre?: string;
        isrc?: string;
        label_name?: string;
        license?: string;
        permalink?: string;
        purchase_url?: string;
        release?: string;
        release_date?: string;
        sharing?: "public" | "private";
        streamable?: boolean;
        tag_list?: string;
        title: string;
    }
    Index

    Properties

    artist?: string

    Optional artist name for the upload (track[artist]). Returned as metadata_artist.

    artwork_data?: ArrayBuffer | Blob | File | Uint8Array<ArrayBufferLike>

    Artwork image (track[artwork_data]). PRO users.

    asset_data: ArrayBuffer | Blob | File | Uint8Array<ArrayBufferLike>

    Audio file bytes. File/Blob in browsers; Blob/Uint8Array in Node 20+.

    commentable?: boolean
    description?: string
    downloadable?: boolean
    embeddable_by?: "all" | "me" | "none"
    filename?: string

    Optional filename when asset_data is not a File

    genre?: string
    isrc?: string
    label_name?: string
    license?: string
    permalink?: string
    purchase_url?: string
    release?: string
    release_date?: string

    Write-only release date yyyy-mm-dd

    sharing?: "public" | "private"
    streamable?: boolean
    tag_list?: string
    title: string

    Track title (required)