Users

Update the current user

Update the currently logged in user.

put/v1/users/me

Request

  • Base URL: https://api.sensay.io
  • URL: https://api.sensay.io/v1/users/me
  • Auth: API key in header X-ORGANIZATION-SECRET and API key in header X-USER-ID and API key in header X-USER-ID-TYPE

Headers

X-API-Versionstring
Example:2025-03-25
Content-Encoding'gzip'

Content encoding for request body compression. Optional - when used, client is responsible for gzipping and sending binary data.

Request body

emailstring email

The email address

idstring required

The ID of the user

namestring

The name of the user (max 50 chars, letters/numbers/spaces and ( ) . , ' - /)

Example request

{
  "email": "user@example.com",
  "id": "johndoe",
  "linkedAccounts": [
    {
      "accountType": "discord"
    }
  ],
  "name": "John Doe"
}

Response

The updated User entity

emailstring email

The email address

idstring required

The ID of the user

namestring

The name of the user

successtrue required

Indicates the request was successful

Example response

{
  "email": "user@example.com",
  "id": "johndoe",
  "linkedAccounts": [
    {
      "accountType": "discord"
    }
  ],
  "name": "John Doe",
  "success": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.