import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
team_sms: {
type: "app",
app: "team_sms",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://teamsms.io/api/me`,
headers: {
"X-API-KEY": `${this.team_sms.$auth.api_key}`,
"accept": `application/json`,
},
})
},
})
Emit new event for each new SMS received. See the documentation
Retrieve all phone numbers owned by the user. See the documentation
Team SMS uses API keys for authentication. When you connect your Team SMS account, Pipedream securely stores the keys so you can easily authenticate to Team SMS APIs in both code and no-code steps.