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