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

# Update a dynamic smart list

> Dynamic smart lists are user-created, filter-defined audience segments — distinct from the read-only, system-generated `/lists/smart` cohorts (`subscribers`, `followers`, etc.) and from the static, manually-curated `/lists/custom` lists. A dynamic smart list's membership is computed from a stored filter definition over relationship, spend, engagement, and memory dimensions, and is re-evaluated on read. Spend condition values are in USD cents (e.g. `5000` for $50).

This resource requires the account's dynamic smart list builder to be enabled; a 403 response means it is not.

> [!NOTE]
>
> **Required scope**
>
> * `write:chat` — Create new chats and send messages. This scope is required for any chat-related actions that modify data.


## OpenAPI

````yaml /openapi-v1.json patch /v1/chats/lists/dynamic/{uuid}
openapi: 3.1.0
info:
  title: Fanvue API
  version: '0.1'
servers:
  - url: https://api.fanvue.com
security: []
paths:
  /v1/chats/lists/dynamic/{uuid}:
    patch:
      summary: Update a dynamic smart list
      description: >-
        Dynamic smart lists are user-created, filter-defined audience segments —
        distinct from the read-only, system-generated `/lists/smart` cohorts
        (`subscribers`, `followers`, etc.) and from the static, manually-curated
        `/lists/custom` lists. A dynamic smart list's membership is computed
        from a stored filter definition over relationship, spend, engagement,
        and memory dimensions, and is re-evaluated on read. Spend condition
        values are in USD cents (e.g. `5000` for $50).


        This resource requires the account's dynamic smart list builder to be
        enabled; a 403 response means it is not.
      operationId: updateDynamicSmartList
      parameters:
        - $ref: '#/components/parameters/ApiVersionHeader'
        - schema:
            type: string
            format: uuid
            description: Dynamic smart list UUID
          required: true
          description: Dynamic smart list UUID
          name: uuid
          in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  minLength: 1
                  maxLength: 50
                icon:
                  type:
                    - string
                    - 'null'
                  maxLength: 16
                definition:
                  type: object
                  properties:
                    version:
                      type: number
                      enum:
                        - 2
                      description: 'Spec version: always 2. Time windows are integer seconds'
                    match:
                      type: string
                      enum:
                        - any
                    groups:
                      type: array
                      items:
                        type: object
                        properties:
                          conditions:
                            type: array
                            items:
                              type: object
                              properties:
                                dimension:
                                  type: string
                                operator:
                                  type: string
                                value:
                                  description: >-
                                    Dimension-dependent condition value; spend
                                    dimensions take USD cents (e.g. 5000 for
                                    $50)
                              required:
                                - dimension
                                - operator
                            minItems: 1
                        required:
                          - conditions
                      minItems: 1
                    exclude:
                      type: array
                      items:
                        type: object
                        properties:
                          dimension:
                            type: string
                          operator:
                            type: string
                          value:
                            description: >-
                              Dimension-dependent condition value; spend
                              dimensions take USD cents (e.g. 5000 for $50)
                        required:
                          - dimension
                          - operator
                    includeUnreachable:
                      type: boolean
                      description: >-
                        false limits the list to fans a send can reach (active
                        subscription or follow); omit to include every match
                  required:
                    - version
                    - match
                    - groups
      responses:
        '204':
          description: Dynamic smart list updated
        '400':
          description: >-
            Bad Request - API version not supported OR validation failed OR
            invalid UUID
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/UnsupportedVersionError'
                  - $ref: '#/components/schemas/ValidationError'
                  - $ref: '#/components/schemas/InvalidUuidError'
        '401':
          $ref: '#/components/responses/UnauthorizedResponse'
        '403':
          $ref: '#/components/responses/UnauthorizedResponse'
        '404':
          description: Dynamic smart list not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                required:
                  - message
        '409':
          description: A dynamic smart list with this name already exists
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                required:
                  - message
        '410':
          $ref: '#/components/responses/SunsetVersionResponse'
        '429':
          $ref: '#/components/responses/RateLimitResponse'
      security:
        - BearerAuth:
            - write:chat
components:
  parameters:
    ApiVersionHeader:
      name: X-Fanvue-API-Version
      in: header
      required: true
      schema:
        type: string
        default: '2025-06-26'
        example: '2025-06-26'
      description: API version to use for the request
  schemas:
    UnsupportedVersionError:
      type: object
      properties:
        error:
          type: string
        message:
          type: string
      required:
        - error
        - message
      description: API version not supported
    ValidationError:
      type: object
      properties:
        errors:
          type: array
          items:
            type: string
      required:
        - errors
      description: Request validation failed
    InvalidUuidError:
      type: object
      properties:
        message:
          type: string
      required:
        - message
      description: Invalid UUID format provided
  responses:
    UnauthorizedResponse:
      description: Unauthorized Response
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
            required:
              - error
    SunsetVersionResponse:
      description: API version no longer supported (sunset)
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
              message:
                type: string
              nextVersion:
                type: string
            required:
              - error
              - message
    RateLimitResponse:
      description: Too many requests - rate limit exceeded
      headers:
        Retry-After:
          description: Number of seconds to wait before retrying the request
          schema:
            type: integer
        X-RateLimit-Limit:
          description: The maximum number of requests allowed in the current window
          schema:
            type: integer
        X-RateLimit-Remaining:
          description: The number of requests remaining in the current window
          schema:
            type: integer
        X-RateLimit-Reset:
          description: The Unix timestamp (seconds) when the rate limit window resets
          schema:
            type: integer
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
            required:
              - error
  securitySchemes:
    BearerAuth:
      type: oauth2
      description: >-
        OAuth 2.0 access token, presented as a JWT bearer token in the
        `Authorization` header. Obtain a token via the authorization-code flow;
        the scopes granted to the token determine which operations it may call.
      flows:
        authorizationCode:
          authorizationUrl: https://auth.fanvue.com/oauth2/auth
          tokenUrl: https://auth.fanvue.com/oauth2/token
          refreshUrl: https://auth.fanvue.com/oauth2/token
          scopes:
            read:self: >-
              Access your own user profile information, including basic account
              details and settings.
            read:chat: >-
              Read chat conversations, messages, and chat-related data. This
              includes viewing chat lists and message history.
            write:chat: >-
              Create new chats and send messages. This scope is required for any
              chat-related actions that modify data.
            read:experience: >-
              Exchange a fan's experience token for the resolved experience and
              the fan's identity, so an embedded fan-facing experience can
              render the right content.
            write:experience: >-
              Request that the creator publish or unpublish a fan-facing
              experience. The app mints a request token; the creator confirms
              and Fanvue performs the change.
            read:fan: Access fan-related data and information within the platform.
            read:post: Read posts, including post details, comments, likes, and tips.
            write:post: Create, edit, and manage posts and content on behalf of users.
            read:media: Access media files, images, videos, and other content assets.
            write:media: >-
              Upload, modify, and manage media files and content assets. Also
              required for vault folder management.
            read:creator: >-
              Access creator profiles, content, and creator-specific
              information.
            write:creator: Modify creator profiles, settings, and creator-specific data.
            read:insights: >-
              Access analytics, metrics, and insights data for performance
              tracking.
            read:tracking_links: >-
              Read tracking links and the users associated with them, including
              per-user tracking metadata.
            write:tracking_links: Create and delete tracking links.
            read:agency: Read agency information, including the agency's team members.
            write:agency: >-
              Manage agency team members and invites, including inviting new
              team members and creators.

````

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