with TelTel and Memix?
Generate a Memix share URL with a random template using the supplied caption. See the docs here
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
teltel: {
type: "app",
app: "teltel",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.teltel.io/v2/autodialers`,
headers: {
"x-api-key": `${this.teltel.$auth.api_key}`,
},
params: {
fields: `id,name,created_at,campaign_type`,
},
})
},
})
Generate a Memix share URL with a random template using the supplied caption
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
memix: {
type: "app",
app: "memix",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.memix.com/v1/templates/doge`,
headers: {
"accept": `application/json`,
},
})
},
})