Skip to main content

Account

Tags: account, authentication

Endpoints

  • GET - Get Current Account
  • POST - Update Current Account

Get Current Account

GET /api/v2/account

Description:

Retrieve the current user's account information

Retrieve user information based on user_id.

Returns a logged-out account object (with loggedIn=false) if not authenticated. This endpoint accepts optional authentication.

Authorization: Requires scopes:

Response: See AccountResponse


Update Current Account

POST /api/v2/account

Description:

Update the current user's account information

Update user information.

Authentication: Requires authenticated user

Parameters:

Response: See AccountResponse