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