import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pro_ledger: {
type: "app",
app: "pro_ledger",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.pro-ledger.com/api/v1/auth/check_api_key`,
headers: {
"X-API-Key": `${this.pro_ledger.$auth.api_key}`,
},
})
},
})
Create a new record in the Pro Ledger platform. See the documentation
Pro Ledger uses API keys for authentication. When you connect your Pro Ledger account, Pipedream securely stores the keys so you can easily authenticate to Pro Ledger APIs in both code and no-code steps.