---
title: "Update user email and password"
method: POST
path: "/users/email"
tags: ["Users"]
---

# Update user email and password

`POST /users/email`

REQUIRED SCOPES <code>[‘users:write’]</code><br>This API endpoint is used to update the email address of the user. <br><br>The required parameter to update user’s email is the relevant user’s password which is used to confirm the email update operation. <br><br>As a result of this API request, you are able to change the email record in the database.

## Query parameters

- `current_password` string, required
- `email` string, required

## Response `200`

OK

- UserResource — Class UserResource
  - `id` integer
  - `email` string
  - `first_name` string
  - `last_name` string
  - `full_name` string
  - `role` string
  - `inbox_id` integer
  - `organization_id` integer
  - `photo_url` string
  - `unread` integer
  - `number` string
  - `formatted_number` string
  - `isRingEverywhere` boolean
  - `organizationNumber` object[]
    - `id` integer
    - `country` string
    - `number` string
    - `formatted_number` string
    - `mms` string
  - `userPermissions` string[]

---

[API](https://skmtc.net/salesmessage/apis/salesmessage-public-api.md) · [All operations](https://skmtc.net/salesmessage/apis/salesmessage-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/salesmessage/salesmessage-public-api/revisions/e96b3e58b041/schema)
