onMemberCreated( )


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Note: This method registers a callback function as an event handler. Subscribe your app to the relevant event via the Webhooks page in the Wix Dev Center to enable it. For more information, see Handle Events With Webhooks.

Triggered when a member is created.

The site owner can configure the site to automatically approve members or require manual approval.

A member who has been approved either automatically or manually has a status of APPROVED. A created member waiting for approval has a status of PENDING. A PENDING member cannot log into the site.

Permissions
Manage Bookings Services and Settings
Manage Members
Read Members and Contacts - all read permissions
Read Members
Manage Portfolio
Manage Restaurants - all permissions
Manage Members and Contacts - all permissions
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
handlerfunction

handler(event: MemberCreatedEnvelope): void | Promise<void>

Did this help?