with Team SMS and cvr.dev?
Emit new event for each new SMS received. See the documentation
Retrieve all phone numbers owned by the user. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
team_sms: {
type: "app",
app: "team_sms",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://teamsms.io/api/me`,
headers: {
"X-API-KEY": `${this.team_sms.$auth.api_key}`,
"accept": `application/json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
cvr_dev: {
type: "app",
app: "cvr_dev",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.cvr.dev/api/test/apikey`,
headers: {
"Authorization": `${this.cvr_dev.$auth.api_key}`,
},
})
},
})