import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
offlight: {
type: "app",
app: "offlight",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.offlight.work/auth/check`,
headers: {
"x-api-key": `${this.offlight.$auth.api_token}`,
},
})
},
})
Initiates the creation of a new task in Offlight. See the documentation
OFFLIGHT uses API keys for authentication. When you connect your OFFLIGHT account, Pipedream securely stores the keys so you can easily authenticate to OFFLIGHT APIs in both code and no-code steps.