with Campaign Monitor and Mumble?
Creates a new subscriber on a specific list. See the documentation
Edits the customer with the specified phone number. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
campaign_monitor: {
type: "app",
app: "campaign_monitor",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.createsend.com/api/v3.3/primarycontact.json`,
headers: {
Authorization: `Bearer ${this.campaign_monitor.$auth.oauth_access_token}`,
"Content-Type": `application/json; charset=utf-8`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mumble: {
type: "app",
app: "mumble",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.mumble.co.il/mumbleapi/get-labels`,
headers: {
"mumble-api-key": `${this.mumble.$auth.api_key}`,
},
})
},
})