The ProfitWell API enables you to build powerful subscription analytics and optimization solutions. With it, you can access key insights from your subscription data that allows you to make smarter decisions, boost customer retention, and increase revenue.
Here are some of the key features you can create with the ProfitWell API:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
profitwell: {
type: "app",
app: "profitwell",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.profitwell.com/v2/plans/`,
headers: {
"Authorization": `${this.profitwell.$auth.api_token}`,
},
})
},
})
ProfitWell uses API keys for authentication. When you connect your ProfitWell account, Pipedream securely stores the keys so you can easily authenticate to ProfitWell APIs in both code and no-code steps.
To retrieve your API token,