User

Get Current User

Get the current user information

get/api/users/@me

Request

  • Base URL: https://nodesty.com
  • URL: https://nodesty.com/api/users/@me
  • Auth: API key in header Authorization

Response

Current user information

addressstring

User's address

banStatus'BANNED_AND_CANNOT_CREATE_TICKETS' | 'BANNED_BUT_CAN_CREATE_TICKETS' | 'NOT_BANNED'

The ban status of the user

citystring

User's city

companyNamestring nullable

User's company name, if applicable

countrystring

User's country

currencystring

User's currency

currencySymbolstring

Symbol for the user's currency

currentSessionIdstring

ID of the user's current session

emailstring

User's email address

firstNamestring

User's first name

fullNamestring

User's full name

idstring

Unique identifier for the user

lastNamestring

User's last name

phoneNumberstring

User's phone number in international format

postCodestring

User's postal code

statestring

User's state

taxIdstring nullable

User's tax identification number, if applicable

totpEnabledboolean

Whether TOTP (Authentication App) is enabled for the user

Example response

{
  "address": "123 Main St",
  "banStatus": "NOT_BANNED",
  "city": "New York",
  "companyName": "Example Corp",
  "country": "US",
  "currency": "USD",
  "currencySymbol": "$",
  "currentSessionId": "abcdef123456",
  "email": "john.doe@example.com",
  "firstName": "John",
  "fullName": "John Doe",
  "id": "12345",
  "lastName": "Doe",
  "phoneNumber": "+1 1234567890",
  "postCode": "10001",
  "state": "NY",
  "stats": {
    "activeServices": 5,
    "activeTickets": 1,
    "balance": 150.75,
    "unpaidInvoices": 2
  },
  "taxId": "TAX123456",
  "totpEnabled": true
}

Changes

No recorded changes to this operation across all 3 revisions of this API.