The GoCanvas API enables you to build applications that can create, edit, and view Canvas documents.
With the GoCanvas API, you can:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
gocanvas: {
type: "app",
app: "gocanvas",
}
},
async run({steps, $}) {
const data = {
"username": `${this.gocanvas.$auth.username}`,
}
return await axios($, {
url: `https://www.gocanvas.com/apiv2/forms.xml`,
headers: {
Authorization: `Bearer ${this.gocanvas.$auth.api_key}`,
},
data,
})
},
})
GoCanvas uses API keys for authentication. When you connect your GoCanvas account, Pipedream securely stores the keys so you can easily authenticate to GoCanvas APIs in both code and no-code steps.
Go to Account > Account Settings. Scroll down to the Security Settings > API Keys and click Settings.
On this page, check the box to Enable API Keys and then click Create API Key.
For username, use your email address such as test_user@gocanvas.com. See docs.