import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
yay_com: {
type: "app",
app: "yay_com",
}
},
async run({steps, $}) {
const data = {
"a": `h`,
}
return await axios($, {
url: `https://${this.yay_com.$auth.api_hostname}/authenticated`,
headers: {
"x-auth-reseller": `${this.yay_com.$auth.reseller}`,
"x-auth-user": `${this.yay_com.$auth.user}`,
"x-auth-password": `${this.yay_com.$auth.password}`,
},
data,
})
},
})
Emit new event when a contact is added to a phone book. See the documentation
Initiates an outbound call to a specified number. See the documentation
Yay.com uses API keys for authentication. When you connect your Yay.com account, Pipedream securely stores the keys so you can easily authenticate to Yay.com APIs in both code and no-code steps.