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