API Reference


User methods allow you display, create, remove and manipulate user accounts within New Spark Media Platform.
Users.getBlockedUsers

Get a list of blocked Users by user id

read more »
Users.getPowerUserRanking
If bylike is set to False.
This method will return a list of users, sorted by their submissions over 7 or 30 days.
f bylike is set to True
This method will return a list of users, sorted by amount of likes on their submissions over 7 or 30 days.
read more »
Users.getUserInfo

Returns information about a specific user.

This method returns all available information about a requested user based on either a user ID or a username. The method requires a user ID or a username. If a username is supplied the vhost parameter is required.

read more »
Users.getUserInfoByPhone
This method returns all available user information about a specific user based on the required phone number . This method requires a valid phone number and a vhost ID. read more »
Users.inviteUsers

This will store a list of users and/or emails that will trigger a notification when the user joins the project.

read more »
Users.reportOffensive

This function marks a particular user as offensive.

Note: A user can report a user as offensive once.

You can pass various optional parameters to this function, including the id of the user who reported the user as offensive and the reason why the user was reported offensive. If you wish to send an email to a particular person upon the use of this function, then you have to set the read more »