import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
binalyze_air: {
type: "app",
app: "binalyze_air",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.binalyze_air.$auth.subdomain}.binalyze.io/api/public/organizations`,
headers: {
Authorization: `Bearer ${this.binalyze_air.$auth.api_token}`,
},
})
},
})
Binalyze AIR uses API keys for authentication. When you connect your Binalyze AIR account, Pipedream securely stores the keys so you can easily authenticate to Binalyze AIR APIs in both code and no-code steps.