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