with Systeme.io and SzybkiSMS?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
systeme_io: {
type: "app",
app: "systeme_io",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.systeme.io/api/contacts`,
headers: {
"x-api-key": `${this.systeme_io.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
szybkisms: {
type: "app",
app: "szybkisms",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.szybkisms.$auth.api_url}/ping`,
headers: {
Authorization: `Bearer ${this.szybkisms.$auth.access_token}`,
},
})
},
})