Communications platform as a service
The 8x8 API enables developers to create powerful communication solutions and
seamlessly integrate them with their applications and products. With just a few
lines of code, you can make and receive phone calls, send and receive text
messages, and securely manage you users’ contact directory.
Some of the many things that can be built with the 8x8 API include:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
wavecell: {
type: "app",
app: "wavecell",
}
},
async run({steps, $}) {
const data = {
"destination": ``,
"text": ``,
"source": ``,
}
return await axios($, {
method: "post",
url: `https://api.wavecell.com/sms/v1/${this.wavecell.$auth.subAccountId}/single`,
headers: {
Authorization: `Bearer ${this.wavecell.$auth.api_key}`,
},
data,
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})