import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sign_plus: {
type: "app",
app: "sign_plus",
}
},
async run({steps, $}) {
const data = {
"sandbox": true
}
return await axios($, {
method: "post",
url: `https://restapi.sign.plus/v2/templates`,
headers: {
Authorization: `Bearer ${this.sign_plus.$auth.api_key}`,
"content-type": `application/json`,
},
data,
})
},
})
Sign.Plus uses API keys for authentication. When you connect your Sign.Plus account, Pipedream securely stores the keys so you can easily authenticate to Sign.Plus APIs in both code and no-code steps.