import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
postiz: {
type: "app",
app: "postiz",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.postiz.$auth.api_url}/public/v1/integrations`,
headers: {
"authorization": `${this.postiz.$auth.api_key}`,
},
})
},
})
Postiz uses API keys for authentication. When you connect your Postiz account, Pipedream securely stores the keys so you can easily authenticate to Postiz APIs in both code and no-code steps.