Memberstack
memberstackMemberstack is a platform that enables developers to add user authentication, payments, and member management to their websites without writing backend code.
Acciones disponibles (7)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Create MemberMEMBERSTACK_CREATE_MEMBERAcciónTool to create a new member in your application. use after gathering email, password, optional plans, custom fields, metadata, and redirect.
MEMBERSTACK_CREATE_MEMBERAcciónTool to create a new member in your application. use after gathering email, password, optional plans, custom fields, metadata, and redirect.
Parámetros de entrada
jsonobjectArbitrary JSON data for the member (replaces existing JSON).
emailstringObligatorioThe member's unique email address
plansobject[]Array of free plan objects to assign to the member on creation.
metaDataobjectMetadata for the member (replaces existing metadata).
passwordstringObligatorioThe member's password
customFieldsobjectCustom fields for the member (replaces existing fields).
loginRedirectstringURL path to redirect to after login
Parámetros de salida
dataobjectObligatorioThe newly created member object
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete MemberMEMBERSTACK_DELETE_MEMBERAcciónTool to permanently delete a member from your application. use after confirming you no longer need the member's data and have the member id.
MEMBERSTACK_DELETE_MEMBERAcciónTool to permanently delete a member from your application. use after confirming you no longer need the member's data and have the member id.
Parámetros de entrada
idstringObligatorioThe ID of the member to delete.
deleteStripeCustomerbooleanWhether to delete the associated Stripe customer. Defaults to false.
cancelStripeSubscriptionsbooleanWhether to cancel the associated Stripe subscriptions. Defaults to false.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get MemberMEMBERSTACK_GET_MEMBERAcciónTool to retrieve a specific member by id or email. use when you need to fetch member profile details for a given identifier (id or email). example: "get member mem sb 12345".
MEMBERSTACK_GET_MEMBERAcciónTool to retrieve a specific member by id or email. use when you need to fetch member profile details for a given identifier (id or email). example: "get member mem sb 12345".
Parámetros de entrada
id_or_emailstringObligatorioThe member's ID (starting with 'mem_') or URL-encoded email address.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List MembersMEMBERSTACK_LIST_MEMBERSAcciónTool to retrieve a paginated list of all members in your application. use when you need to iterate through members with cursor-based pagination.
MEMBERSTACK_LIST_MEMBERSAcciónTool to retrieve a paginated list of all members in your application. use when you need to iterate through members with cursor-based pagination.
Parámetros de entrada
afterintegerThe endCursor after which to start listing members
limitintegerMaximum number of members to return (max 200)
orderstringenumSort order for members (ASC or DESC)
ASCDESC
Parámetros de salida
dataobject[]ObligatorioArray of member objects
errorstringError if any occurred during the execution of the action
endCursorintegerCursor for next page
successfulbooleanObligatorioWhether or not the action execution was successful or not
totalCountintegerObligatorioTotal number of members
hasNextPagebooleanObligatorioWhether more results exist
List PlansMEMBERSTACK_LIST_PLANSAcciónTool to list all available membership plans. use when you need to retrieve plan ids and details before assigning or comparing plans.
MEMBERSTACK_LIST_PLANSAcciónTool to list all available membership plans. use when you need to retrieve plan ids and details before assigning or comparing plans.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove Free PlanMEMBERSTACK_REMOVE_FREE_PLANAcciónTool to remove a free plan from an existing member. use after confirming the member's subscription status. example: "remove free plan pln sb 67890 from member mem sb 12345".
MEMBERSTACK_REMOVE_FREE_PLANAcciónTool to remove a free plan from an existing member. use after confirming the member's subscription status. example: "remove free plan pln sb 67890 from member mem sb 12345".
Parámetros de entrada
idstringObligatorioMember ID (starts with 'mem_').
planIdstringObligatorioFree plan ID (starts with 'pln_').
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update MemberMEMBERSTACK_UPDATE_MEMBERAcciónTool to update an existing member's information. use when you have a member id and need to modify their email, customfields, metadata, json data, or loginredirect.
MEMBERSTACK_UPDATE_MEMBERAcciónTool to update an existing member's information. use when you have a member id and need to modify their email, customfields, metadata, json data, or loginredirect.
Parámetros de entrada
idstringObligatorioMember ID (starts with 'mem_')
jsonobjectArbitrary JSON object to replace existing data
emailstringNew email address for the member
metaDataobjectObject of metadata to replace existing ones
customFieldsobjectObject of custom fields to replace existing ones
loginRedirectstringURL path to redirect to after login
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not