Skip to main content

user

Returns a User

For a Project access token : it requires a user id and returns the user for the given id For a User access token : returns the signed-in user and all of their data at Swan

(Learn more on authentication)

user(
id: String
): User

Arguments

user.id ● String scalar

Type

User object

The User is the unique user, natural person, of the Swan app.