/
/Turso Platform API
DocsSign in
Sign in
  • APIs
  • Generators
  • Stacks
  • Projects
  • Docs
  • History
  • Schema
Checked 4h ago · Updated 2mo ago
  • getList Databases
  • postCreate Database
  • getRetrieve Database
  • deleteDelete Database
  • getRetrieve Database Configuration
  • patchUpdate Database Configuration
  • getList Database Instances
  • getRetrieve Database Instance
  • postGenerate Database Auth Token
  • getRetrieve Database Usage
  • getRetrieve Database Stats
  • postInvalidate All Database Auth Tokens
  • getList Groups
  • postCreate Group
  • getRetrieve Group
  • deleteDelete Group
  • getRetrieve Group Configuration
  • patchUpdate Group Configuration
  • postTransfer Group
  • postUnarchive Group
  • postAdd Location to Group
  • deleteRemove Location from Group
  • postUpdate Databases in a Group
  • postCreate Group Auth Token
  • postInvalidate All Group Auth Tokens
  • getList Locations
  • getList Organizations
  • getRetrieve Organization
  • patchUpdate Organization
  • getList Plans
  • getList Invoices
  • getCurrent Subscription
  • getOrganization Usage
  • getList Members
  • postAdd Member
  • getRetrieve Member
  • deleteRemove Member
  • patchUpdate Member Role
  • getValidate API Token
  • getList API Tokens
  • postCreate API Token
  • deleteRevoke API Token
  • getList Organization API Tokens
  • deleteRevoke Organization API Token
  • getList Audit Logs
  • getList Invites
  • postInvite Organization Member
  • deleteDelete Invite
  • getGet Current User

Get Current User

Returns information about the currently authenticated user.

get/v1/user

Response

Successful response

Example response

{
  "user": {
    "username": "iku",
    "name": "Iku Turso",
    "email": "iku@turso.tech",
    "avatarUrl": "https://avatars.githubusercontent.com/u/12345",
    "plan": "scaler"
  }
}

Changes