import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
textrazor: {
type: "app",
app: "textrazor",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.textrazor.com/account/`,
headers: {
"X-TextRazor-Key": `${this.textrazor.$auth.api_key}`,
},
})
},
})
TextRazor uses API keys for authentication. When you connect your TextRazor account, Pipedream securely stores the keys so you can easily authenticate to TextRazor APIs in both code and no-code steps.
Find your API key in your console