With Lob's API, you can:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
lob: {
type: "app",
app: "lob",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.lob.com/v1/addresses`,
auth: {
username: this.lob.$auth.secret_api_key,
password: ''
},
})
},
})
Completely removes a postcard from production. This can only be done if the postcard has a send_date
and the send_date
has not yet passed. See docs here.
Lob uses API keys for authentication. When you connect your Lob account, Pipedream securely stores the keys so you can easily authenticate to Lob APIs in both code and no-code steps.
Enter your Live Lob secret API key below.
You can find this key under your account settings in the Lob dashboard.
Alternatively, you can use your Test Secret API Key, but you'll need to create a new Lob Connected Account in Pipedream in order to make Live requests.