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