import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
d4sign: {
type: "app",
app: "d4sign",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.d4sign.$auth.api_url}/testcall`,
params: {
tokenAPI: `${this.d4sign.$auth.token_api}`,
cryptKey: `${this.d4sign.$auth.crypt_key}`,
},
})
},
})
D4Sign uses API keys for authentication. When you connect your D4Sign account, Pipedream securely stores the keys so you can easily authenticate to D4Sign APIs in both code and no-code steps.