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

# Patch user profile

> Patch the user profile details



## OpenAPI

````yaml /openapi/application.json patch /api/v1/profile
openapi: 3.1.0
info:
  title: WiseApp API — Aplicação
  description: >-
    Referência completa da API do WiseApp: plataforma (provisionamento),
    aplicação (conta), cliente (canais públicos) e MCP.
  version: 1.1.0
servers:
  - url: https://chat.wiseapp360.com
    description: Sua instalação WiseApp
security: []
paths:
  /api/v1/profile:
    patch:
      tags:
        - Profile
      summary: Patch user profile
      description: Patch the user profile details
      operationId: patchProfile
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: The name of the user
                email:
                  type: string
                  description: The email of the user
                password:
                  type: string
                  description: The password of the user
                password_confirmation:
                  type: string
                  description: The password confirmation of the user
                display_name:
                  type: string
                  description: The display name of the user in the UI
                account_id:
                  type: integer
                  description: >-
                    Active account used to store the avatar on the matching
                    membership for multi-account users
                availability:
                  type: string
                  enum:
                    - online
                    - offline
                    - busy
                  description: The availability status of the user
                auto_offline:
                  type: boolean
                  description: Whether the user is auto offline
                message_signature:
                  type: string
                  description: Message signature
            example:
              name: Sample resource
              email: agent@example.com
              password: Sample text
              password_confirmation: Sample text
              display_name: Sample resource
              account_id: 1
              availability: online
              auto_offline: true
              message_signature: Sample text
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/user'
              example:
                id: 1
                access_token: Sample text
                account_id: 1
                available_name: Sample resource
                avatar_url: https://example.com/resource
                confirmed: true
                display_name: Sample resource
                message_signature: Sample text
                email: agent@example.com
                hmac_identifier: Sample text
                inviter_id: 1
                name: Sample resource
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/bad_request_error'
              example:
                error: Unauthorized
      security:
        - userApiKey: []
components:
  schemas:
    user:
      type: object
      properties:
        id:
          type: number
        access_token:
          type: string
        account_id:
          type: number
        available_name:
          type: string
        avatar_url:
          type: string
        confirmed:
          type: boolean
        display_name:
          type:
            - string
            - 'null'
        message_signature:
          type:
            - string
            - 'null'
        email:
          type: string
        hmac_identifier:
          type: string
        inviter_id:
          type:
            - number
            - 'null'
        name:
          type: string
        provider:
          type: string
        pubsub_token:
          type: string
        role:
          type: string
          enum:
            - agent
            - administrator
        ui_settings:
          type: object
        uid:
          type: string
        type:
          type:
            - string
            - 'null'
        custom_attributes:
          type: object
          description: >-
            Available for users who are created through platform APIs and has
            custom attributes associated.
        accounts:
          type: array
          items:
            type: object
            properties:
              id:
                type: number
              name:
                type: string
              status:
                type: string
              active_at:
                type:
                  - string
                  - 'null'
                format: date-time
              role:
                type: string
                enum:
                  - administrator
                  - agent
              permissions:
                type: array
                items:
                  type: string
              availability:
                type: string
              availability_status:
                type: string
              auto_offline:
                type: boolean
              avatar_url:
                type: string
                description: Optional avatar configured for this account membership.
              custom_role_id:
                type:
                  - number
                  - 'null'
              custom_role:
                type:
                  - object
                  - 'null'
    bad_request_error:
      title: data
      type: object
      properties:
        description:
          type: string
        errors:
          type: array
          items:
            $ref: '#/components/schemas/request_error'
    request_error:
      type: object
      properties:
        field:
          type: string
        message:
          type: string
        code:
          type: string
  securitySchemes:
    userApiKey:
      type: apiKey
      in: header
      name: api_access_token
      description: >-
        Token de acesso do usuário (Perfil → Token de acesso). Dá acesso
        conforme o papel do usuário e age em nome dele.

````

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