---
title: SureMembers REST API
date: 2026-08-31T07:18:00Z
modified: 2026-09-22T19:51:44Z
permalink: "https://techarticles.co.uk/suremembers-rest-api/"
type: post
status: publish
excerpt: ""
wpid: 6308
categories:
  - Coding
  - General
  - Premium
  - SureMembers
timestamp: 2026-09-22T19:51:44Z
tags:
  - Coding
  - General
  - Premium
  - SureMembers
---

**This is a premium article to release one of my code snippets,**

When you purchase access to this tutorial, you get the same code used in this video walkthrough, as-is, with no support or refunds.

You will also get any updates I make to this particular snippet; all you need to do is redownload them when an update is made.

Please Note: 
**If I turn it into a different tool, you will not get access to that tool, but your access to this snippet will remain.**

## Please watch the video to know what the script does

![](https://i.ytimg.com/vi/OZv07nyraog/maxresdefault.jpg)

✅ List [SureMembers](https://ta0.uk/SureMembers) Access Groups
✅ Search WordPress Users
✅ Lookup Users by Email Address
✅ Grant Membership Access
✅ Revoke Membership Access
✅ Authenticate using WordPress Application Passwords
✅ Integrate with automation platforms such as [FlowMattic](https://ta0.uk/flowmattic), n8n, [OttoKit](https://ta0.uk/OttoKit), Make.com, Zapier and custom applications.

In this demo, I walk through:

- Listing available SureMembers groups
- Looking up users
- Granting a membership
- Revoking a membership
- Verifying the changes inside WordPress
- Secure authentication using the WordPress REST API

---

**Method Endpoint**

GET /groups
GET /groups?search=
GET /users
GET /users?per\_page=
GET /users?search=
GET /users?email=
POST /users/{id}/groups/{group}
DELETE /users/{id}/groups/{group}
POST /users/by-email/{email}/groups/{group}
DELETE /users/by-email/{email}/groups/{group}

The API authenticates using WordPress Application Passwords over HTTPS, so it’s designed to be used securely by trusted external applications.

The Plugin Code is below. The best way to use this code is to add it to your plugins folder in a folder called suremember-secure-api with a PHP file called suremember-secure-api.php. It should work fine, though, from your functions.php file or good snippet editors like WPCodeBox

Please read the readme before using the code

    **Read ME File** 

   

The Plugin Code is below. The best way to use this code is to add it to your plugins folder in a folder called suremember-secure-api with a PHP file called suremember-secure-api.php. It should work fine, though, from your functions.php file or good snippet editors like WPCodeBox

    **SureMembers Secure REST API** 

   

**Update Log:**

Initial Release – August 2026