import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
catch_all_verifier: {
type: "app",
app: "catch_all_verifier",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.catchallverifier.com/api/v1/verify/single`,
headers: {
"authorization": `${this.catch_all_verifier.$auth.api_key}`,
"accept": `application/json`,
},
params: {
id: `${this.catch_all_verifier.$auth.single_verification_id}`,
},
})
},
})
Catch-all Verifier uses API keys for authentication. When you connect your Catch-all Verifier account, Pipedream securely stores the keys so you can easily authenticate to Catch-all Verifier APIs in both code and no-code steps.