Skip to main content

Concatenate audio files asynchronously.

POST 

/operator/async-concat-audio

This endpoint concatenates audio files exactly like the normal concat audio endpoint. In contrast to that endpoint, it returns immediately with a task ID instead of waiting for the audio to be processed, which means it is not affected by the request timeout of your automation platform. The URL of the concatenated file is sent to the webhook given in sendTo, and can also be retrieved by passing the task ID to the /code/taskstatus endpoint. Use this endpoint whenever the combined length of your audio files is large enough that the synchronous endpoint runs into a timeout. The execution of this module costs 500 credits, and the credits are only deducted once the concatenation has succeeded.

Request​

Header Parameters

    ipaas string

Bodyrequired

    audiostring[]required

    An array of URLs to the audio files to concatenate. Minimum 2 required.

    Possible values: >= 2

    Example: ["https://example.com/audio1.mp3","https://example.com/audio2.mp3"]
    formatstring

    The desired output audio file format. Default is mp3.

    Possible values: [flac, m4a, mp3, ogg, wav]

    fileNamestring

    The name of the concatenated audio file.

    silencenumber[]

    The amount of silence that should be inserted between the audio files in seconds.

    sendTostring

    The URL of the webhook the response will be sent to.

Responses​

Success

Schema
    statusstringrequired

    Always pending, since the task was queued.

    taskIdstringrequired

    The ID of the task, which can be passed to /code/taskstatus.