import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
smashsend: {
type: "app",
app: "smashsend",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.smashsend.com/v1/api-keys/check`,
headers: {
Authorization: `Bearer ${this.smashsend.$auth.api_key}`,
},
})
},
})
Create a new contact or update an existing contact. See the documentation
SmashSend uses API keys for authentication. When you connect your SmashSend account, Pipedream securely stores the keys so you can easily authenticate to SmashSend APIs in both code and no-code steps.