You can do so much with the Textlocal API! Textlocal is an easy-to-use platform for sending and receiving mobile and SMS messages, making it a great avenue for businesses to communicate with their customers. Here are a few examples of what you can build with the Textlocal API:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
textlocal: {
type: "app",
app: "textlocal",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.txtlocal.com/balance`,
params: {
apiKey: `${this.textlocal.$auth.api_key}`,
},
})
},
})
This Action can be used to send text messages to either individual numbers or entire contact groups. See the docs here Note: While both numbers and group_id are optional parameters, one or the other must be included in the request for the message to be sent.
Textlocal uses API keys for authentication. When you connect your Textlocal account, Pipedream securely stores the keys so you can easily authenticate to Textlocal APIs in both code and no-code steps.
Get your api key in your settings > API keys.