Skip to main content
PUT
/
v1
/
users
/
me
cURL
curl --request PUT \
  --url https://api.novacal.io/v1/users/me \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "username": "<string>",
  "email": "[email protected]",
  "first_name": "<string>",
  "timezone": "<string>",
  "time_format": 12,
  "start_of_week": 0,
  "last_name": "<string>",
  "avatar": "<string>"
}
'
{
  "success": true,
  "data": {
    "id": 123,
    "name": "<string>",
    "slug": "<string>",
    "description": "<string>",
    "type": "one_on_one",
    "duration": 720,
    "max_group_size": 6,
    "hidden_from_profile": true,
    "color": "<string>",
    "form_fields": [
      {
        "identifier": "<string>",
        "label": "<string>",
        "type": "<string>",
        "placeholder": "<string>",
        "is_required": true,
        "options": [
          "<string>"
        ]
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

User data to update

username
string
required

The unique username for the user (must be unique across users and teams)

Maximum string length: 255
email
string<email>
required

The user's email address (must be unique)

Maximum string length: 255
first_name
string
required

The user's first name

Maximum string length: 255
timezone
string
required

The user's timezone (e.g., America/New_York)

time_format
enum<integer>
required

The user's preferred time format (12 or 24)

Available options:
12,
24
start_of_week
enum<integer>
required

The day that starts the week (0 for Sunday, 1 for Monday)

Available options:
0,
1
last_name
string

The user's last name

Maximum string length: 255
avatar
file

Avatar image file (jpeg, png, jpg, svg, max 1024 KB)

Response

200 - application/json

User updated

success
boolean
required

Indicates whether the request was successful

Example:

true

data
object
required

The response data. Can be an object, array, or null