Homepage

user

Last edit: Nov 10, 2026

Returns the first user matching all given arguments, or null when no argument
is given. Soft deleted users are included unless is_deleted is false.
Deprecated, use users instead

user(
  email: String
  external_id: String
  id: ID
  is_deleted: Boolean
  options: QueryOptionsInput
  slug: String
): User

Arguments

email (String)

Email of the user

external_id (String)

Identifier of the object in an external system. Used mainly for
import/export, when a third party service is the source of truth

id (ID)

Unique identifier of the object

is_deleted (Boolean)

True returns only soft deleted users, false only not deleted ones

options (QueryOptionsInput)

Per-query execution options, such as reading from the read replica or a custom database timeout

slug (String)

Slug of the user

Type

User

User account of the instance, with its properties and profiles

Questions?

We are always happy to help with any questions you may have.

contact us