# Users

> Wheelhouse Pro API. Web version: https://docs.usewheelhouse.com/pro/reference/users · OpenAPI spec: https://docs.usewheelhouse.com/pro/openapi.yaml · Index of all docs pages: https://docs.usewheelhouse.com/llms.txt

Registering each end user is a requirement of using our API. It allows us to isolate
billing information and may enable future APIs or integrations.

Once registered, each user will receive a specific API key that must be included
in requests for that user's listings.

Additionally, if you have a customer who already has a Wheelhouse account with linked listings, the user can grant
you API access to their listings by generating a User API Key here: https://app.usewheelhouse.com/u/account/api_token.
Once they have created this key, they give it to you and you can use it in the [X-User-API-Key header](https://docs.usewheelhouse.com/pro/authentication.md#user-api-key) to retrieve and
update their listings and pull price recommendations.

To register a customer who already has a Wheelhouse account, send their User API Key in the `X-User-API-Key`
header when you call `POST /user_registration`. Without it, an email that belongs to an existing Wheelhouse
account you did not register is rejected with **409**. Registering a user you already registered again is
allowed, and does not change their email or password.

**Important:** A user's id (`external_user_id` in the User payload) MUST be unique across environments. In systems where uniqueness cannot be guaranteed, we recommend prepending the id with the environment. For example, an integrator may be using the primary key in their User database table as the `external_user_id`. If they had separate databases per environment, it would be possible for these ids to collide. Instead, the integrator could send an `external_user_id` of the format `test-{user_primary_key}` and `prod-{user_primary_key}`.

## Endpoints

- [POST /user_registration](https://docs.usewheelhouse.com/pro/reference/create-user.md): Create a new end user
- [PUT /user](https://docs.usewheelhouse.com/pro/reference/update-user.md): Update user info
- [DELETE /accounts](https://docs.usewheelhouse.com/pro/reference/deactivate-account.md): Deactivate channel account
