Skip to main content
GET
Get the current user

Authorizations

Authorization
string
header
required

API key authentication using Bearer token format. The CLI's ta auth access tokens are also accepted; because they name a user rather than a workspace, a user in several workspaces selects one with the x-testerarmy-team header (workspace id or slug).

Headers

x-testerarmy-team
string

Workspace id or slug to act on, for user-scoped tokens.

Response

The current user and their workspaces

user
object
required
teamId
string<uuid> | null
required
teams
object[]
required