Memberstack
App · 7 actions
Manage your Memberstack members: list, find, create, update and delete them, check sign-in tokens, and see your data tables.
Actions
| Action | What it does |
|---|---|
| Create member | Add a member to your app, with a password, custom fields and metadata if you like. |
| Delete member | Permanently delete a member. |
| Get member | Look up one member by id or email address. |
| List data tables | List your data tables with their fields and access rules. |
| List members | List your app's members with their email, custom fields and plans. |
| Update member | Change a member's email, custom fields, metadata, JSON, sign-in page, verified state or profile image. |
| Verify member token | Check that a member's sign-in token (the JWT from their browser) is genuine and not expired, and get the member it belongs to. |
Create member
Add a member to your app, with a password, custom fields and metadata if you like.
Inputs
- Email
emailtextRequired - The new member's email address. It must not belong to another member.
- Password
passwordtext - The member's password. Leave empty only if your app signs members in without passwords.
- Custom fields
custom_fieldsobject - Your custom fields as field name and value. Names are the field ids from Memberstack's Custom Fields settings.
- Metadata
meta_dataobject - Your own keys and values to keep on the member.
- Member JSON
json_dataobject - Free-form JSON to store on the member (up to 1 MB).
- Page after sign-in
login_redirecttext - Where the member lands after signing in, such as /welcome.
Outputs
memberobject- The member
Example output
{
"member": {
"auth": {
"email": "jo@example.com"
},
"createdAt": "2026-10-15T09:00:00.000Z",
"customFields": {
"firstName": "Jo"
},
"id": "mem_abc123",
"json": {},
"lastLogin": "2026-10-16T09:00:00.000Z",
"loginRedirect": "/welcome",
"metaData": {
"source": "API"
},
"permissions": [],
"planConnections": [
{
"active": true,
"id": "con_xyz789",
"payment": null,
"planId": "pln_free123",
"planName": "Free",
"status": "ACTIVE",
"type": "FREE"
}
],
"profileImage": null,
"stripeCustomerId": null,
"teams": null,
"verified": true
}
}Delete member
Permanently delete a member. This cannot be undone. Optionally delete their Stripe customer and cancel their subscriptions too.
Inputs
- Member ID
member_idtextRequired - The member's id (starts with mem_), from 'List members' or an earlier step.
- Delete their Stripe customer
delete_stripe_customertrue/false - Also delete the member's customer record in Stripe.Default:
false. - Cancel their Stripe subscriptions
cancel_stripe_subscriptionstrue/false - Also cancel the member's subscriptions in Stripe.Default:
false.
Outputs
deletedtrue/false- Always true once deleted
member_idtext- The member deleted
Example output
{
"deleted": true,
"member_id": "mem_abc123"
}Get member
Look up one member by id or email address. 'Found' is false, rather than an error, when no member matches.
Inputs
- Member ID or email
membertextRequired - The member's id (mem_...) or email address.
- Include teams
include_teamstrue/false - Also return the teams the member belongs to.Default:
false.
Outputs
foundtrue/false- Whether a member matched
memberobject- The member, empty if none matched
Example output
{
"found": true,
"member": {
"auth": {
"email": "jo@example.com"
},
"createdAt": "2026-10-15T09:00:00.000Z",
"customFields": {
"firstName": "Jo"
},
"id": "mem_abc123",
"json": {},
"lastLogin": "2026-10-16T09:00:00.000Z",
"loginRedirect": "/welcome",
"metaData": {
"source": "API"
},
"permissions": [],
"planConnections": [
{
"active": true,
"id": "con_xyz789",
"payment": null,
"planId": "pln_free123",
"planName": "Free",
"status": "ACTIVE",
"type": "FREE"
}
],
"profileImage": null,
"stripeCustomerId": null,
"teams": null,
"verified": true
}
}List data tables
List your data tables with their fields and access rules.
Inputs
None.
Outputs
countnumber- How many tables there are
tableslist- The data tables
Example output
{
"count": 1,
"tables": [
{
"createRule": "AUTHENTICATED",
"createdAt": "2026-01-15T10:30:00.000Z",
"deleteRule": "ADMIN_ONLY",
"fields": [
{
"defaultValue": null,
"id": "cm2xyz789ghi012abc",
"key": "name",
"name": "Product Name",
"referencedTableId": null,
"required": true,
"tableOrder": 0,
"type": "TEXT"
}
],
"id": "tbl_cm1abc123def456",
"key": "products",
"name": "Products",
"readRule": "PUBLIC",
"updateRule": "AUTHENTICATED_OWN",
"updatedAt": "2026-01-20T14:45:00.000Z"
}
]
}List members
List your app's members with their email, custom fields and plans. Gets one page; to see more, run it again with the next page it gives.
Inputs
- Page size
limitnumber - How many to return, 1 to 100.From 1 to 100.
- Next page cursor
aftertext - The 'next_cursor' from an earlier page, to get the page after it.
- Order
ordertext - Sort by sign-up. Defaults to oldest first.One of:
ASC(Oldest first (default)),DESC(Newest first). - Include member JSON
include_jsontrue/false - Also return each member's stored JSON. Slower on big pages.Default:
false.
Outputs
countnumber- How many are on this page
has_next_pagetrue/false- Whether another page follows
memberslist- The members
next_cursortext- Pass as 'Next page cursor' for the next page
total_countnumber- How many members the app has in all
Example output
{
"count": 1,
"has_next_page": false,
"members": [
{
"auth": {
"email": "jo@example.com"
},
"createdAt": "2026-10-15T09:00:00.000Z",
"customFields": {
"firstName": "Jo"
},
"id": "mem_abc123",
"json": {},
"lastLogin": "2026-10-16T09:00:00.000Z",
"loginRedirect": "/welcome",
"metaData": {
"source": "API"
},
"permissions": [],
"planConnections": [
{
"active": true,
"id": "con_xyz789",
"payment": null,
"planId": "pln_free123",
"planName": "Free",
"status": "ACTIVE",
"type": "FREE"
}
],
"profileImage": null,
"stripeCustomerId": null,
"teams": null,
"verified": true
}
],
"next_cursor": "",
"total_count": 1
}Update member
Change a member's email, custom fields, metadata, JSON, sign-in page, verified state or profile image. Only what you fill in changes.
Inputs
- Member ID
member_idtextRequired - The member's id (starts with mem_), from 'List members' or an earlier step.
- Email
emailtext - A new email address. Leave empty to keep it.
- Custom fields
custom_fieldsobject - Your custom fields as field name and value. Names are the field ids from Memberstack's Custom Fields settings. Only the ones you give change; the rest are kept.
- Metadata
meta_dataobject - Metadata keys to set. Only the ones you give change; the rest are kept.
- Member JSON
json_dataobject - New member JSON. This replaces all of the member's JSON, so include everything to keep. Leave empty to keep it.
- Page after sign-in
login_redirecttext - A new landing page after sign-in. Leave empty to keep it.
- Email verified
verifiedtext - Mark the member's email as verified or not. Leave empty to keep it.One of:
true(Verified),false(Not verified). - Profile image address
profile_imagetext - The address (https://...) of a new profile image. Leave empty to keep it.
Outputs
memberobject- The member
Example output
{
"member": {
"auth": {
"email": "jo@example.com"
},
"createdAt": "2026-10-15T09:00:00.000Z",
"customFields": {
"firstName": "Jo"
},
"id": "mem_abc123",
"json": {},
"lastLogin": "2026-10-16T09:00:00.000Z",
"loginRedirect": "/welcome",
"metaData": {
"source": "API"
},
"permissions": [],
"planConnections": [
{
"active": true,
"id": "con_xyz789",
"payment": null,
"planId": "pln_free123",
"planName": "Free",
"status": "ACTIVE",
"type": "FREE"
}
],
"profileImage": null,
"stripeCustomerId": null,
"teams": null,
"verified": true
}
}Verify member token
Check that a member's sign-in token (the JWT from their browser) is genuine and not expired, and get the member it belongs to.
Inputs
- Member token
tokentextRequired - The member's sign-in token, such as from a request your site received.
Outputs
member_idtext- The member the token belongs to, empty if invalid
tokenobject- What a member token says
validtrue/false- Whether the token is genuine and unexpired
Example output
{
"member_id": "mem_abc123",
"token": {
"aud": "app_abc123",
"exp": 1782624476,
"iat": 1781414876,
"id": "mem_abc123",
"iss": "https://client.memberstack.com",
"type": "member"
},
"valid": true
}