Category: REST API

Login User

EndPoint Endpoint : wp-json/wpuser/v1/user/login Method : POST Users are accessible through the WordPress REST API at the  /wpuser/ endpoint. To list user, send a POST request to the wp-json/wpuser/v1/user/login endpoint Example Request Example Request https://wpuserplus.com/wp-json/wpuser/v1/user/login Arguments wp_user_email_name * Login name for the user. Email / Username / Mobile number Required wp_user_password * Password for the user. Required * indicate …

Login User Read More »

Generate Token

EndPoint Endpoint : wp-json/wpuser/v1/token/generate Method : POST Users are accessible through the WordPress REST API at the  /wpuser/ endpoint. To list user, send a POST request to the wp-json/wpuser/v1/token/generate endpoint Example Request Example Request https://wpuserplus.com/wp-json/wpuser/v1/token/generate Arguments wp_user_email_name * Login name for the user. Email / Username / Mobile number Required wp_user_password * Password for the user. Required * indicate …

Generate Token Read More »

Validate Token

EndPoint Endpoint : wp-json/wpuser/v1/token/validate Method : POST Users are accessible through the WordPress REST API at the  /wpuser/ endpoint. To list user, send a POST request to the wp-json/wpuser/v1/token/validate endpoint Example Request Example Request https://wpuserplus.com/wp-json/wpuser/v1/token/validate Arguments Pass AUTHORIZATION token in header Response { “code“: “jwt_auth_valid_token“, “user_id“: 2, “data“: { “status“: 200 } }

Update User

EndPoint Endpoint : wp-json/wpuser/v1/user/register Method : POST Users are accessible through the WordPress REST API at the  /wpuser/ endpoint. To list user, send a POST request to the wp-json/wpuser/v1/user/register endpoint Example Request Example Request https://wpuserplus.com/wp-json/wpuser/v1/user/register Arguments user_login * Login name for the user. Required user_email * The email address for the user. Required user_pass * Password for the user. …

Update User Read More »

Forgot Password

EndPoint Endpoint : wp-json/wpuser/v1/user/forgot Method : POST Users are accessible through the WordPress REST API at the  /wpuser/ endpoint. To list user, send a POST request to the wp-json/wpuser/v1/user/forgot endpoint Example Request Example Request https://wpuserplus.com/wp-json/wpuser/v1/user/forgot Arguments wp_user_email * Email ID for the user. Required * indicate Required fields. Response Status : Success { “message“: “Check your email address for …

Forgot Password Read More »

Login OTP

Let your user signup on your wordpress website simply with their mobile number. If your don’t remeber password and don’t want waste time to reset password and want login site in shot time then this is best solution. User First Enter username and on click ‘Login with OTP’ It will send OTP on registered email …

Login OTP Read More »

REST API

The WPUser WordPress REST API provides API endpoints for WordPress data types that allow developers to interact with sites remotely by sending and receiving JSON  objects. When you send content to or make a request to the API, the response will be returned in JSON. This enables developers to create, view and update WordPress user from client-side JavaScript or from external …

REST API Read More »

List Users

EndPoint Endpoint : wp-json/wpuser/v1/users Method : GET Users are accessible through the WordPress REST API at the  /wpuser/ endpoint. To list user, send a GET request to the wp-json/wpuser/v1/users  endpoint Example Request Example Request https://wpuserplus.com/wp-json/wpuser/v1/users Arguments page Current page of the collection. Default: 1 per_page Maximum number of items to be returned in result set. Default: 10 approve Return only Approved …

List Users Read More »

View User

EndPoint Endpoint : wp-json/wpuser/v1/users/<id> Method : GET Users are accessible through the WordPress REST API at the  /wpuser/ endpoint. To list user, send a GET request to the wp-json/wpuser/v1/users/<id>  endpoint Example Request Example Request https://wpuserplus.com/wp-json/wpuser/v1/users/1 Arguments id User Id. Unique identifier for the user.

Register User

EndPoint Endpoint : wp-json/wpuser/v1/user/register Method : POST Users are accessible through the WordPress REST API at the  /wpuser/ endpoint. To list user, send a POST request to the wp-json/wpuser/v1/user/register endpoint Example Request Example Request https://wpuserplus.com/wp-json/wpuser/v1/user/register Arguments user_login * Login name for the user. Required user_email * The email address for the user. Required user_pass * Password for the user. …

Register User Read More »

Help-Desk