# Is it a good idea to use Ghost client frontend for only membership functionality until API arrives

**URL:** <https://forum.ghost.org/t/is-it-a-good-idea-to-use-ghost-client-frontend-for-only-membership-functionality-until-api-arrives/14574>\
**Category:** Memberships & subscriptions\
**Created:** [May 22, 2020, 8:59am UTC](https://forum.ghost.org/t/is-it-a-good-idea-to-use-ghost-client-frontend-for-only-membership-functionality-until-api-arrives/14574 "2020-05-22T08:59:33Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![maxkoretskyi](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@maxkoretskyi](https://forum.ghost.org/u/maxkoretskyi)\
**Post date:** [May 22, 2020, 8:59am UTC](https://forum.ghost.org/t/is-it-a-good-idea-to-use-ghost-client-frontend-for-only-membership-functionality-until-api-arrives/14574/1 "2020-05-22T08:59:33Z")

</div>

So I’ve been waiting for decoupled membership functionality (API) for quite some time, but since it’s not yet ready, I decided to go around this.

Here’s the current plan:

- I’m using Gatsby for frontend + Netlify Identity for authentication
- When somebody wants to become a member and clicks on ‘Become a member’ I redirect them to [members.mysite.com](http://members.mysite.com) where customized Ghost Casper theme is shown. I don’t need to redesign the entire theme, I’ll just need to style a few pages involved in setting up membership.
- Once they sign up, I retrieve members from Ghost DB and update my Netlify DB used for membership on the main site with Gatsby.

One thing though that I’m worried about is whether I’ll be able to somehow get the list of all members from Ghost to sync them with Netlify Identity.

Any thoughts? @vikaspotluri123 @DavidDarnes

---

<div class="post-metadata">

**Author:** ![egg](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/egg/32/1691_2.png) [@egg](https://forum.ghost.org/u/egg)\
**Post date:** [May 22, 2020, 9:50am UTC](https://forum.ghost.org/t/is-it-a-good-idea-to-use-ghost-client-frontend-for-only-membership-functionality-until-api-arrives/14574/2 "2020-05-22T09:50:58Z")

</div>

I think you can achieve something like this with Zapier!

Here’s some examples: [https://ghost.org/docs/members/zapier/](https://ghost.org/docs/members/zapier/)

---

<div class="post-metadata">

**Author:** ![DavidDarnes](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/daviddarnes/32/3533_2.png) [@DavidDarnes](https://forum.ghost.org/u/DavidDarnes)\
**Post date:** [May 22, 2020, 11:45am UTC](https://forum.ghost.org/t/is-it-a-good-idea-to-use-ghost-client-frontend-for-only-membership-functionality-until-api-arrives/14574/3 "2020-05-22T11:45:55Z")

</div>

Hey @maxkoretskyi 👋

I think @egg is right, you could do this with Zapier, however I couldn’t see an option to link with Netlify Identity specifically: [Connect your Ghost to Netlify integration in 2 minutes | Zapier](https://zapier.com/apps/ghost/integrations/netlify/)

I’ve been looking into this recently and my plan was to use Netlify Forms and keep Ghost as the authentication part:

> **[Connect your Ghost to Netlify integration in 2 minutes | Zapier](https://zapier.com/apps/netlify/integrations/ghost)**
>
> Set up the Ghost trigger, and make magic happen automatically in Netlify. Zapier's automation tools make it easy to connect Ghost and Netlify. Come try it. It's free.

Using Forms I can keep the subscribe option static and then leave Ghost to handle member management and members ‘admin’ area if you see what I mean.

I’m keen to explore this more though as there’s a lot of potential to be unlocked with Ghost, Zapier and Netlify together ⚡

---

<div class="post-metadata">

**Author:** ![maxkoretskyi](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@maxkoretskyi](https://forum.ghost.org/u/maxkoretskyi)\
**Post date:** [May 23, 2020, 7:48am UTC](https://forum.ghost.org/t/is-it-a-good-idea-to-use-ghost-client-frontend-for-only-membership-functionality-until-api-arrives/14574/4 "2020-05-23T07:48:22Z")

</div>

@egg, @DavidDarnes thanks for the suggestions!

I tried to set up membership with Ghost but since Stripe is the only supported payment option which is not available in my country I couldn’t make this work. So instead I set up Patreon profile and added Zapier integration with Ghost so that when a new member is added/updated/deleted on Patreon this is reflected in my Ghost membership instance.

Now I need to figure out what to do with authentication. **I would rather use Ghost auth service instead of Netlify’s Identity but I’m not sure how to distinguish between users (editors, writers etc.) and members.** Is there any documentation on this or where can I find the information? This [doc](https://ghost.org/docs/api/v3/admin/#authentication) describes the flow related to users. Is it also applicable to membership feature? I checked DB structure and there are different tables `users` and `members` so I’m not sure how auth handles members.

If there’s no way to use Ghost’s auth service for members, I’m thinking about retrieving all members from Ghost using admin API from inside Netlify’s lambda function. Although the API is not public, it exists and works. I can then use a webhook on Ghost when a new member is added to trigger the function and update Netlify’s Identity users list.

---

<div class="post-metadata">

**Author:** ![DavidDarnes](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/daviddarnes/32/3533_2.png) [@DavidDarnes](https://forum.ghost.org/u/DavidDarnes)\
**Post date:** [May 26, 2020, 2:26pm UTC](https://forum.ghost.org/t/is-it-a-good-idea-to-use-ghost-client-frontend-for-only-membership-functionality-until-api-arrives/14574/5 "2020-05-26T14:26:19Z")

</div>

I think the latter option might be better for your use case. However, as you’ve discovered, the API related to members does work but is not publicly documented. This is because Members is still a beta feature, and is still in active development. Please bear this in mind when working with Ghost as a headless CMS and Members (beta) 😊

---

<div class="post-metadata">

**Author:** ![maxkoretskyi](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@maxkoretskyi](https://forum.ghost.org/u/maxkoretskyi)\
**Post date:** [May 26, 2020, 2:41pm UTC](https://forum.ghost.org/t/is-it-a-good-idea-to-use-ghost-client-frontend-for-only-membership-functionality-until-api-arrives/14574/6 "2020-05-26T14:41:43Z")

</div>

Cool, thanks, I’ll be waiting for public decoupled membership feature release.

---

<div class="post-metadata">

**Author:** ![ghostuser4123](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/ghostuser4123/32/8225_2.png) [@ghostuser4123](https://forum.ghost.org/u/ghostuser4123)\
**Post date:** [June 8, 2020, 9:53am UTC](https://forum.ghost.org/t/is-it-a-good-idea-to-use-ghost-client-frontend-for-only-membership-functionality-until-api-arrives/14574/7 "2020-06-08T09:53:33Z")

</div>

Thanks for the alternative solution @DavidDarnes. I will look into this too.

How far are you from supporting API functionality for memberships?

---

<div class="post-metadata">

**Author:** ![DavidDarnes](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/daviddarnes/32/3533_2.png) [@DavidDarnes](https://forum.ghost.org/u/DavidDarnes)\
**Post date:** [June 8, 2020, 2:21pm UTC](https://forum.ghost.org/t/is-it-a-good-idea-to-use-ghost-client-frontend-for-only-membership-functionality-until-api-arrives/14574/8 "2020-06-08T14:21:34Z")

</div>

The best way to keep updated is to follow our [changelog](https://ghost.org/changelog), as well as keeping an eye out right here on [our community forum](https://forum.ghost.org) 😊

---

<div class="post-metadata">

**Author:** ![thimiraonline](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/thimiraonline/32/22599_2.png) [@thimiraonline](https://forum.ghost.org/u/thimiraonline)\
**Post date:** [April 8, 2023, 4:30am UTC](https://forum.ghost.org/t/is-it-a-good-idea-to-use-ghost-client-frontend-for-only-membership-functionality-until-api-arrives/14574/9 "2023-04-08T04:30:43Z")

</div>

Is this documentation now available for public use?

---

<div class="post-metadata">

**Author:** ![DavidDarnes](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/daviddarnes/32/3533_2.png) [@DavidDarnes](https://forum.ghost.org/u/DavidDarnes)\
**Post date:** [April 9, 2023, 9:51am UTC](https://forum.ghost.org/t/is-it-a-good-idea-to-use-ghost-client-frontend-for-only-membership-functionality-until-api-arrives/14574/10 "2023-04-09T09:51:26Z")

</div>

Looks like the members endpoint of the Admin API is documented here [Ghost Admin API Documentation](https://ghost.org/docs/admin-api/#members)
