import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
retable: {
type: "app",
app: "retable",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.retable.io/v1/public/workspace`,
headers: {
"ApiKey": `${this.retable.$auth.api_key}`,
},
})
},
})
Retable uses API keys for authentication. When you connect your Retable account, Pipedream securely stores the keys so you can easily authenticate to Retable APIs in both code and no-code steps.
Sign in and copy your API key from the API Settings page.