createMember( )


Developer Preview

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

Creates a site member.

After creation, you can use the sendSetPasswordEmail() function in the Members Authentication API to email the member with a link to set their password. The member can log in to the site once they set their password for the first time.

Note: When creating multiple members, set your requests at least 1 second apart to keep below rate limits.

Authentication

This function requires elevated permissions and runs only on the backend and on dashboard pages.

Permissions
Manage Members
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
optionsCreateMemberOptions
Returns
Return Type:Promise<Member>
Did this help?