Account

Get current user

Get current user info including name, email and tokens left.

GET /api/v1/me answers the same data and the rest of the account with it: the team, the plan, the marketplaces and every quota. The answer of this endpoint carries Deprecation: true and a Link header that names the successor. No Sunset header goes out: nobody has set the date on which this endpoint stops.

get/api/v1/users/me

Request

  • Base URL: https://app.sellerassistant.app (the document declares no server; this is the origin it was published from)
  • URL: https://app.sellerassistant.app/api/v1/users/me
  • Auth: one of:
    • API key in query parameter api_key
    • API key in header X-Api-Key
    • OAuth 2 (authorization code, authorization URL https://app.sellerassistant.app/oauth/authorize, token URL https://app.sellerassistant.app/oauth/token, scopes: read_write)

Response

Current user info

idnumber required

ID of user

emailstring required

Email of user

namestring required

Name of user

currentTeamRolestring required

Role of user in the current team

currentTeamIdnumber required

ID of the current team

tokensLeftnumber required

API requests left

tokensUsednumber required

API requests used

tokensLimitnumber required

API requests limit

tokensRefillAtstring date required

API requests refill date

Example response

{
  "id": 123,
  "email": "test@gmail.com",
  "name": "My Name",
  "currentTeamRole": "admin",
  "currentTeamId": 1,
  "tokensLeft": 555,
  "tokensUsed": 445,
  "tokensLimit": 1000,
  "tokensRefillAt": "2024-10-02T00:00:00.000000Z"
}

Changes

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