social.coves.actor.updateProfile

coves.social

Documentation

Update the authenticated user's profile

main procedure

Update the authenticated user's profile

Input

Encodingapplication/json
avatarBlob string Optional

Base64-encoded avatar image data (png, jpeg, or webp; decoded size limit 1MB)

maxLength: 1400000 bytes
avatarMimeType string Optional

MIME type of the avatar image (image/png, image/jpeg, image/webp)

maxLength: 128 bytes
bannerBlob string Optional

Base64-encoded banner image data (png, jpeg, or webp; decoded size limit 2MB)

maxLength: 2800000 bytes
bannerMimeType string Optional

MIME type of the banner image (image/png, image/jpeg, image/webp)

maxLength: 128 bytes
bio string Optional

User bio. Stored as the `description` field of the social.coves.actor.profile record.

maxLength: 2560 bytesmaxGraphemes: 256 graphemes
displayName string Optional

Optional display name

maxLength: 640 bytesmaxGraphemes: 64 graphemes

Output

Encodingapplication/json
cid stringcid Required

CID of the updated profile record

uri stringat-uri Required

AT-URI of the updated profile record

Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://bsky.social)
Enter valid JSON for the request body
View raw schema
{
  "type": "procedure",
  "input": {
    "schema": {
      "type": "object",
      "properties": {
        "bio": {
          "type": "string",
          "maxLength": 2560,
          "description": "User bio. Stored as the `description` field of the social.coves.actor.profile record.",
          "maxGraphemes": 256
        },
        "avatarBlob": {
          "type": "string",
          "maxLength": 1400000,
          "description": "Base64-encoded avatar image data (png, jpeg, or webp; decoded size limit 1MB)"
        },
        "bannerBlob": {
          "type": "string",
          "maxLength": 2800000,
          "description": "Base64-encoded banner image data (png, jpeg, or webp; decoded size limit 2MB)"
        },
        "displayName": {
          "type": "string",
          "maxLength": 640,
          "description": "Optional display name",
          "maxGraphemes": 64
        },
        "avatarMimeType": {
          "type": "string",
          "maxLength": 128,
          "description": "MIME type of the avatar image (image/png, image/jpeg, image/webp)"
        },
        "bannerMimeType": {
          "type": "string",
          "maxLength": 128,
          "description": "MIME type of the banner image (image/png, image/jpeg, image/webp)"
        }
      }
    },
    "encoding": "application/json"
  },
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "uri",
        "cid"
      ],
      "properties": {
        "cid": {
          "type": "string",
          "format": "cid",
          "description": "CID of the updated profile record"
        },
        "uri": {
          "type": "string",
          "format": "at-uri",
          "description": "AT-URI of the updated profile record"
        }
      }
    },
    "encoding": "application/json"
  },
  "description": "Update the authenticated user's profile"
}

Lexicon Garden

@