Title: Create users using WP REST API
Last modified: June 4, 2022

---

# Create users using WP REST API

 *  Resolved [griego62](https://wordpress.org/support/users/griego62/)
 * (@griego62)
 * [4 years ago](https://wordpress.org/support/topic/create-users-using-wp-rest-api/)
 * I am trying to register users on my WordPress site through Postman using Basic
   Auth and form-data method with username, email and password keys and their corresponding
   values. I have selected the POST request and this is my URL structure: `website/
   wp-json/wp/v2/users`. I am using the JSON API. Unfortunately, the return is `{"
   status": "ok", "json_api_version": "2.3.0", "controllers": [ "users", "core" ]`
   but the user is never registered. Can somebody please tell me what I’m doing 
   wrong?

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [4 years ago](https://wordpress.org/support/topic/create-users-using-wp-rest-api/#post-15708965)
 * The feedback is wrong. I suspect you are doing something wrong in your request,
   possibly in the form-data specifications. Or you have a plugin in use that makes
   changes at this point. In my test just now in a plugin-free WordPress installation,
   creating it the way you described worked without any problems.
 *  Thread Starter [griego62](https://wordpress.org/support/users/griego62/)
 * (@griego62)
 * [4 years ago](https://wordpress.org/support/topic/create-users-using-wp-rest-api/#post-15709162)
 * Thank you for your reply [@threadi](https://wordpress.org/support/users/threadi/)!
   
   Unfortunately, I had no luck. I deactivated all plugins, yet I was unable to 
   create a user. These are my [form-data specifications](https://u.pcloud.link/publink/show?code=XZDzUzVZi8CeWxSyeOQJOmEmzHSC2yICfgCX).
   I also recreated my .htaccess but to no avail. Is there anything else I can try?
    -  This reply was modified 4 years ago by [griego62](https://wordpress.org/support/users/griego62/).
 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [4 years ago](https://wordpress.org/support/topic/create-users-using-wp-rest-api/#post-15709174)
 * Just had a look where “json_api_version” comes from. It is not present in the
   wordpress core: [https://github.com/WordPress/WordPress/search?q=json_api_version&type=code](https://github.com/WordPress/WordPress/search?q=json_api_version&type=code)
 * So this return must come from something else that you are using.
 * As a hint: you have to create a REST API password for the user you are logging
   in with. You can find this under “Edit Profile” at the bottom. You may have already
   done this, otherwise you would get a different error message.
 *  Thread Starter [griego62](https://wordpress.org/support/users/griego62/)
 * (@griego62)
 * [4 years ago](https://wordpress.org/support/topic/create-users-using-wp-rest-api/#post-15709239)
 * [@threadi](https://wordpress.org/support/users/threadi/) the json api version
   the response shows is that of the JSON API plugin installed on my WP site. How
   could I do the request without using it?
 * I didn’t really understand your comment about the REST API password. Are you 
   referring to the authorization?
 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [4 years ago](https://wordpress.org/support/topic/create-users-using-wp-rest-api/#post-15709249)
 * You do not need an extra plugin for it. Deactivate it and set your application
   password (it will be generated) in your user profile as described. You can than
   login via REST API with your username and the generated password. More about 
   it: [https://make.wordpress.org/core/2020/11/05/application-passwords-integration-guide/](https://make.wordpress.org/core/2020/11/05/application-passwords-integration-guide/)
 *  Thread Starter [griego62](https://wordpress.org/support/users/griego62/)
 * (@griego62)
 * [4 years ago](https://wordpress.org/support/topic/create-users-using-wp-rest-api/#post-15710595)
 * Thank you, [@threadi](https://wordpress.org/support/users/threadi/) !
    I have
   been able to create a user eliminating the JSON API and following the instructions
   in the link you provided. Not that difficult in the end. I got diverted by using
   the plugin. I appreciate your time and patience. Cheers!
 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [4 years ago](https://wordpress.org/support/topic/create-users-using-wp-rest-api/#post-15710612)
 * Glad I could help. Sometimes there are things that can be solved much easier 
   😉 You are welcome to set the topic to solved.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Create users using WP REST API’ is closed to new replies.

## Tags

 * [wp rest api](https://wordpress.org/support/topic-tag/wp-rest-api/)

 * In: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
 * 7 replies
 * 3 participants
 * Last reply from: [threadi](https://wordpress.org/support/users/threadi/)
 * Last activity: [4 years ago](https://wordpress.org/support/topic/create-users-using-wp-rest-api/#post-15710612)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
