Skip to content

Kirby 4.5.0

GET /api/users/:id

Retrieve a user

Query parameters

Parameter Example Description
pretty pretty=true|null Pretty prints the result. Only useful for debugging.
select select=name,email|null Defines the fields that will be returned for the user.

User fields

The following fields are available in the user model and can be fetched with the select parameter:

  • avatar
  • blueprint
  • content
  • email
  • files
  • id
  • language
  • name
  • next
  • options
  • panelImage
  • permissions
  • prev
  • role
  • roles
  • username
  • uuid