addUserFavorite( )


Developer Preview

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

Adds a page to the current user’s list of favorite dashboard pages. If the user does not have a list, the endpoint creates a new list and adds the favorite page to it.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Dashboard
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
favoriteFavoriteRequired

Favorite page to add to the list.

Returns
Return Type:Promise<AddUserFavoriteResponse>
Did this help?