---
title: "Save the two names and the picture"
method: PUT
path: "/me"
tags: ["me"]
---

# Save the two names and the picture

`PUT /me`

## Request

- Base URL: `https://api.swingfactor.ai/v1`
- URL: `https://api.swingfactor.ai/v1/me`
- Auth: HTTP bearer

## Request body

- ProfileBody
  - `firstName` string, required
  - `lastName` string, required
  - `avatarUrl` string, nullable

## Response `200`

The saved profile.

- Profile
  - `firstName` string, required
  - `lastName` string, required
  - `avatarUrl` string
  - `displayName` string, required: Derived from the two names. Read-only.
  - `onboardedAt` string: Absent until onboarding is finished.

## Other responses

- `401`: No token, or not a valid one: `unauthorized`.

---

[API](https://skmtc.dev/swingfactor/apis/swingfactor-api.md) · [All operations](https://skmtc.dev/swingfactor/apis/swingfactor-api/llms.txt) · [OpenAPI document](https://skmtc.dev/swingfactor/apis/swingfactor-api/revisions/c2fe881a39c3?raw)
