Memberstack is an API that enables developers to easily add membership features to their websites and apps. With Memberstack, developers can add features such as login/logout, signup/login, payment processing, and more. Memberstack also makes it easy to manage users and their data.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
memberstack: {
type: "app",
app: "memberstack",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.memberstack.com/v1/members`,
headers: {
"X-API-KEY": `${this.memberstack.$auth["X-API-KEY"]}`,
},
})
},
})
Memberstack uses API keys for authentication. When you connect your Memberstack account, Pipedream securely stores the keys so you can easily authenticate to Memberstack APIs in both code and no-code steps.
You can retrieve an API key in the Memberstack dashboard.