---
title: "Update user profile"
method: POST
path: "/users/profile"
tags: ["Users"]
---

# Update user profile

`POST /users/profile`

REQUIRED SCOPES <code>[‘users:write’]</code><br>This API endpoint enables you to update the current user’s specific personal information in the system. <br><br>Each contact (user) has 4 fields which can be updated by default: <ul><li>First name</li> <li>Last name</li> <li>Email</li> <li>Phone number</li></ul><p>These fields of a user’s profile document with JSON objects are replaced by data that’s included in the request. New keys and their values are added to the profile document.</p>

## Query parameters

- `first_name` string, required
- `last_name` string, required
- `email` string
- `number` string

## 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[]

## Other responses

- `500` — Error

---

[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)
