The User Object

A user represents your personal user account that you use to log into Lemon Squeezy.


Attributes

name

The name of the user.


email

The email address of the user.


color

A randomly generated hex color code for the user. We use this internally as the background color of an avatar if the user has not uploaded a custom avatar.


avatar_url

A URL to the avatar image for this user. If the user has not uploaded a custom avatar, this will point to their Gravatar URL.


has_custom_avatar

true if the user has uploaded a custom avatar image.


createdAt

An ISO 8601 formatted date-time string indicating when the object was created.


updatedAt

An ISO 8601 formatted date-time string indicating when the object was last updated.

{
  "type": "users",
  "id": "1",
  "attributes": {
    "name": "John Doe",
    "email": "[email protected]",
    "color": "#898FA9",
    "avatar_url": "https://www.gravatar.com/avatar/1ace5b3965c59dbcd1db79d85da75048?d=blank",
    "has_custom_avatar": false,
    "createdAt": "2024-05-24T14:08:31.000000Z",
    "updatedAt": "2024-08-26T13:24:54.000000Z"
  }
}

Was this page helpful?