Skip to main content

How to retrieve a MemberStack team invite link via the Admin REST API when using SSO in a custom dashboard?

Hey Memberstack team — hoping you can help us figure out the right path forward.

What we're building: A custom app dashboard where team plan owners need to invite their teammates directly from inside our app (not by sending them back to Webflow to open the profile modal).

Our setup:

  • Members purchase a team plan (e.g., "3 Mates") on our Webflow site.
  • After purchase, we use SSO to redirect them straight into our app dashboard.
  • Because of the SSO setup, we've been working primarily against the Admin REST API on our backend rather than the DOM package on the frontend.

Where we're stuck: We need to surface the team invite link to the plan owner inside our dashboard so they can copy/share it with their teammates. We can't find a way to retrieve it.

What we've tried:

  1. GET https://admin.memberstack.com/members/:id_or_email — returns the member's data correctly (auth, customFields, planConnections, etc.) but no team object and no invite link, even for a confirmed team owner.
  2. Looked through the Admin REST API docs for a /teams endpoint that exposes the invite link or token — couldn't find one documented.

Our questions:

  1. Is there an Admin REST API endpoint (documented or not) that returns a team's invite link or invite token for a given team/owner? If so, can you point us to it?
  2. If not, is there a recommended pattern for surfacing the invite link in a custom app dashboard when SSO is already handling login? (e.g., initializing the DOM package alongside SSO purely to call openModal("PROFILE"), or some other approach we're missing.)
  3. Are team-related Admin API endpoints / webhooks on the roadmap? We saw some mentions of this in community threads but couldn't tell the current status.

Appreciate any guidance. Happy to share more details about our setup if helpful.

Thanks

4 comments

  • Tyler Bell
    Tyler Bell

    We are adding the ability for the admin API to return team information.

    We released a set of new features and this is included in it.

    Including Team Info in Admin API Member Requests

    You can now retrieve a member's team memberships in a single Admin API call by adding ?include=teams to the Get Member endpoint.

    Endpoint
    GET https://admin.memberstack.com/members/{id_or_email}?include=teams
    Use your Admin API secret key in the x-api-key header as usual.
     
    0
  • Markese Straughter
    Markese Straughter OP

    Tyler Bell Thank you. Will let you know if we run into any issues. 🖖

    0
  • Tyler Bell
    Tyler Bell

    Is this working for you?

    0
  • Markese Straughter
    Markese Straughter OP

    Tyler Bell Yup, we are looking good. Thanks man.

    0

Please sign in to leave a comment.

Sitemap