import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
loqate: {
type: "app",
app: "loqate",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.addressy.com/EmailValidation/Batch/Validate/v1.20/json.ws`,
params: {
Key: `${this.loqate.$auth.service_key}`,
Emails: `{enter_email_here}`,
},
})
},
})
Loqate uses API keys for authentication. When you connect your Loqate account, Pipedream securely stores the keys so you can easily authenticate to Loqate APIs in both code and no-code steps.
To retrieve your Service Key,