SMS API and Voice API platform
Emit new event when a new SMS is received. See the docs.
The Plivo API provides a powerful platform for developers to create powerful and innovative telecommunications applications. With the API, developers can build anything from a simple IVR to voice bots and SIP Trunks. Whether you want to create a cloud-based VoIP solution or a custom PBX, the Plivo API makes it possible.
Some of the top applications that you can build with the Plivo API are:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
plivo: {
type: "app",
app: "plivo",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.plivo.com/v1/Account/${this.plivo.$auth.auth_id}/Message/`,
auth: {
username: `${this.plivo.$auth.auth_id}`,
password: `${this.plivo.$auth.auth_token}`,
},
})
},
})
package main
import (
"fmt"
pd "github.com/PipedreamHQ/pipedream-go"
)
func main() {
// Access previous step data using pd.Steps
fmt.Println(pd.Steps)
// Export data using pd.Export
data := make(map[string]interface{})
data["name"] = "Luke"
pd.Export("data", data)
}