With the Revue API you can build powerful newsletters that engage and excite your readers. Create custom newsletters that are tailored to your content and your audience. Publish rich, mobile-optimized newsletters in minutes by integrating the Revue API into your website.
With the Revue API you can easily create and deliver newsletters to your existing subscribers with just a few lines of code. Here are some examples of what you can build with the Revue API:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
revue: {
type: "app",
app: "revue",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.getrevue.co/api/v2/accounts/me`,
headers: {
"Authorization": `Token ${this.revue.$auth.api_key}`,
},
})
},
})
Revue uses API keys for authentication. When you connect your Revue account, Pipedream securely stores the keys so you can easily authenticate to Revue APIs in both code and no-code steps.
You can find your API token at the bottom of: getrevue.co/app/integrations. See docs.