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