with Mux and Documenso?
Add a recipient to an existing Documenso document. [See the documentation](See the documentation)
Adds an asset track (for example, subtitles) to an asset. See the documentation
Create a new document in Documenso from a pre-existing template. See the documentation
Mux is a powerful API that simplifies the process of working with video and audio data. By leveraging Mux on Pipedream, you unlock the potential to automate video and audio streaming workflows, analyze media performance, and integrate seamlessly with other services to enrich your media content strategy. With Mux's ability to manage video assets, including uploading, encoding, and delivering content across devices, combined with Pipedream's serverless execution model, you can create dynamic, scalable, and highly customized media operations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mux: {
type: "app",
app: "mux",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.mux.com/video/v1/assets`,
headers: {
"Content-Type": `application/json`,
},
auth: {
username: `${this.mux.$auth.access_key}`,
password: `${this.mux.$auth.secret_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
documenso: {
type: "app",
app: "documenso",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.documenso.$auth.url}/api/v1/documents`,
headers: {
"Authorization": `${this.documenso.$auth.api_token}`,
},
})
},
})