> ## Documentation Index
> Fetch the complete documentation index at: https://docs.salessequencer.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Upload my profile picture

> Center-crops the image to a 256px square PNG and replaces the user's avatar. Accepts .jpg, .jpeg, .png, .webp, .gif, max 6000x6000 pixels (and the app's upload size cap). Refuses with a flash on no file, wrong type, empty file, oversize dimensions or unreadable image.

**Minimum role:** `view` (`x-min-role`). **Destructive:** `false` (`x-destructive`).



## OpenAPI

````yaml /openapi.json post /profile/avatar
openapi: 3.0.3
info:
  title: Sales Sequencer API
  version: '1'
  description: >-
    Every Sales Sequencer action over HTTP. Each call runs as the API key's
    creator, with that user's role, in the key's workspace. Auth: X-API-Key
    header.
servers:
  - url: https://api.salessequencer.com/api/v1
security:
  - key: []
paths:
  /profile/avatar:
    post:
      tags:
        - Profile
      summary: Upload my profile picture
      description: >-
        Center-crops the image to a 256px square PNG and replaces the user's
        avatar. Accepts .jpg, .jpeg, .png, .webp, .gif, max 6000x6000 pixels
        (and the app's upload size cap). Refuses with a flash on no file, wrong
        type, empty file, oversize dimensions or unreadable image.


        **Minimum role:** `view` (`x-min-role`). **Destructive:** `false`
        (`x-destructive`).
      operationId: profile_upload_avatar
      parameters: []
      requestBody:
        content:
          multipart/form-data:
            schema:
              properties:
                avatar:
                  description: Image file.
                  format: binary
                  type: string
              required:
                - avatar
              type: object
      responses:
        '200':
          description: >-
            Redirect; flash 'Profile picture updated.' The avatar is then served
            at /static/avatars/user_<id>.png.
components:
  securitySchemes:
    key:
      in: header
      name: X-API-Key
      type: apiKey

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.