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