# update_profile

Change the display name or real name.

`PATCH /v1/profile` · MCP tool `update_profile` · scope `write` · stable · since 2026-09-17

Only sent fields change; realName empty clears. The slug and the login email are read-only.

## Body parameters

- `displayName` (string, optional): Public brand name, at most 80 characters.
- `realName` (string, optional): Legal name shown on the dashboard profile.

## Returns

200: Profile.

- `creatorId` (string, required): The creator's id.
- `slug` (string, required): The creator's URL slug (read-only).
- `displayName` (string, required): The public brand name.
- `realName` (string or null, required): The legal name on the studio profile.
- `bio` (string or null, required): The bio.
- `email` (string, required): The login email (read-only).
- `avatarUrl` (string or null, required): The avatar.
- `socials` (array of SocialLink, required): Social links.
  Fields of SocialLink: https://developers.sceniq.earth/fields/social-link.md
- `role` (string, required): The key owner's role on the creator account. One of `owner`, `editor`.

## Examples

### Set the legal name shown on the studio profile

```bash
curl -X PATCH "https://sceniq.earth/api/v1/profile" \
  -H "Authorization: Bearer $SCENIQ_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "realName": "Mara Sofia Lindgren"
}'
```

MCP `tools/call`:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "update_profile",
    "arguments": {
      "realName": "Mara Sofia Lindgren"
    }
  }
}
```

Response 200:

```json
{
  "creatorId": "k97c2m4vx8r1q0d6s5t3n9p2w7y4h8b1",
  "slug": "mara-lindgren",
  "displayName": "Mara Lindgren",
  "realName": "Mara Sofia Lindgren",
  "bio": "Landscape photographer. I plan every trip around the light and share the exact spots, times and parking so you can do the same.",
  "email": "mara@example.com",
  "avatarUrl": "https://quiet-heron-512.convex.cloud/api/storage/mara-lindgren-avatar.webp",
  "socials": [
    {
      "platform": "instagram",
      "handle": "mara.firstlight",
      "url": "https://www.instagram.com/mara.firstlight/",
      "followerCount": 184000
    },
    {
      "platform": "youtube",
      "handle": "marafirstlight",
      "url": "https://www.youtube.com/@marafirstlight",
      "followerCount": 52300
    },
    {
      "platform": "tiktok",
      "handle": "mara.firstlight",
      "url": "https://www.tiktok.com/@mara.firstlight"
    }
  ],
  "role": "owner"
}
```

### Rename the public brand and clear the legal name (empty string)

```bash
curl -X PATCH "https://sceniq.earth/api/v1/profile" \
  -H "Authorization: Bearer $SCENIQ_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "displayName": "Mara Lindgren Photography",
  "realName": ""
}'
```

MCP `tools/call`:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "update_profile",
    "arguments": {
      "displayName": "Mara Lindgren Photography",
      "realName": ""
    }
  }
}
```

Response 200:

```json
{
  "creatorId": "k97c2m4vx8r1q0d6s5t3n9p2w7y4h8b1",
  "slug": "mara-lindgren",
  "displayName": "Mara Lindgren Photography",
  "realName": null,
  "bio": "Landscape photographer. I plan every trip around the light and share the exact spots, times and parking so you can do the same.",
  "email": "mara@example.com",
  "avatarUrl": "https://quiet-heron-512.convex.cloud/api/storage/mara-lindgren-avatar.webp",
  "socials": [
    {
      "platform": "instagram",
      "handle": "mara.firstlight",
      "url": "https://www.instagram.com/mara.firstlight/",
      "followerCount": 184000
    },
    {
      "platform": "youtube",
      "handle": "marafirstlight",
      "url": "https://www.youtube.com/@marafirstlight",
      "followerCount": 52300
    },
    {
      "platform": "tiktok",
      "handle": "mara.firstlight",
      "url": "https://www.tiktok.com/@mara.firstlight"
    }
  ],
  "role": "owner"
}
```

## Errors

- `invalid_argument` (400): A required field is missing, a field is unknown, or a value does not match its type (the Convex validator's path and value are in the message).
- `invalid_request` (400): A writer refused a value: a map link on a host that is not allowed, a title that is too long, a date that does not exist, too many items in a list. The message is the writer's own sentence.
- `unauthenticated` (401): The request carries no key. Send it as Authorization: Bearer sk_sceniq_... (or X-Api-Key).
- `invalid_api_key` (401): The key is unknown, revoked or expired.
- `api_scope_required` (403): A read-only key called a write operation, or a key without the publish option called publish_changes.
- `forbidden` (403): The key belongs to a creator account that is no longer active.
- `payload_too_large` (413): A JSON body over 2 MB, an image over 6 MB, a batch upload over 19 MB, or an MCP message over 2 MB.
- `rate_limited` (429): Over a limit: requests per key per minute, per creator per hour, uploads per key per minute, or check_links per guide per hour.
- `internal_error` (500): An unexpected failure. The message is hidden on purpose.

Reference: https://developers.sceniq.earth/reference/update_profile
