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

# Update Profile Settings

> Update brand and AI auto-reply settings for a connection profile.

AI auto-replies need complete brand details for the selected profile. They are included in your Mallary plan.


## OpenAPI

````yaml POST /api/v1/settings
openapi: 3.0.3
info:
  title: Mallary API
  version: 1.6.0
  description: >
    Public API for multi-platform publishing, analytics, media upload, and
    webhooks.


    Authentication:

    - Use header `Authorization: Bearer {api_key}`.

    - API key identity is authoritative. Do not use `user_id` to identify a
    caller.


    Connection profiles:

    - Omit `profile_id` to use the authenticated user's default profile.

    - Send the profile's random public `profile_id` when you want to publish,
    list posts, read post analytics or audience counts, list platforms, update
    settings, or disconnect a platform for a non-default profile.

    - Use `GET /api/v1/profiles` to list profile IDs.

    - Total social media accounts: Starter 5 ($15/month), Pro 15 ($29/month),
    Business 100 ($95/month). Posts are unlimited. Scheduling, analytics, and AI
    auto-replies are included. X publishing and comments use credits at cost;
    analytics and account lookups use no credits. Existing customers keep their
    current terms; use the authenticated workspace limits.


    Rate limits (per user, per minute) depend on subscription plan:

    - plan_id 1: 75 req/min

    - plan_id 2: 150 req/min

    - plan_id 3: 750 req/min

    - plan_id 4: 1500 req/min
servers:
  - url: https://mallary.ai
    description: Production
security:
  - bearerAuth: []
externalDocs:
  description: Full product docs
  url: https://docs.mallary.ai/
paths:
  /api/v1/settings:
    post:
      summary: Update profile settings
      description: >-
        Updates brand and AI auto-reply settings for the selected connection
        profile.
      operationId: updateSettings
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SettingsUpdateRequest'
      responses:
        '200':
          description: Settings updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsResponse'
        '400':
          description: Invalid settings or incomplete auto-reply profile
        '401':
          description: Missing or invalid API key
        '403':
          description: >-
            AI auto-replies are unavailable for the current plan, or supplied
            `user_id` does not match API key owner
components:
  schemas:
    SettingsUpdateRequest:
      type: object
      properties:
        profile_id:
          $ref: '#/components/schemas/ProfileId'
          description: >-
            Connection profile settings to update. Omit to use the default
            profile.
        auto_reply_enabled:
          type: boolean
          description: >-
            Enables AI auto-replies for this profile when the plan and profile
            fields allow it.
        brand_profile:
          type: string
        business_name:
          type: string
        business_description:
          type: string
        website_url:
          type: string
        services:
          type: string
        features:
          type: string
        contact_info:
          type: string
        pricing:
          type: string
        faq:
          type: string
    SettingsResponse:
      type: object
      properties:
        status:
          type: string
          enum:
            - ok
        data:
          type: object
          properties:
            profile_id:
              type: string
              pattern: ^[A-Za-z0-9]{6,32}$
              nullable: true
            auto_reply_enabled:
              type: boolean
            capabilities:
              $ref: '#/components/schemas/Capabilities'
            auto_reply_profile:
              $ref: '#/components/schemas/AutoReplyProfileState'
            warnings:
              type: array
              items:
                $ref: '#/components/schemas/AutoReplyWarning'
            brand_profile:
              type: string
            business_name:
              type: string
            business_description:
              type: string
            website_url:
              type: string
            services:
              type: string
            features:
              type: string
            contact_info:
              type: string
            pricing:
              type: string
            faq:
              type: string
            business_profile_prefill_at:
              type: string
              nullable: true
            business_profile_prefill_next_allowed_at:
              type: string
              nullable: true
            business_profile_prefill_retry_after_seconds:
              type: integer
    ProfileId:
      type: string
      pattern: ^[A-Za-z0-9]{6,32}$
      example: AbC123xYz90
      description: Random public connection profile ID returned by `GET /api/v1/profiles`.
    Capabilities:
      type: object
      properties:
        can_schedule:
          type: boolean
        can_analytics:
          type: boolean
        can_auto_reply:
          type: boolean
        tier:
          $ref: '#/components/schemas/CapabilityTier'
        max_accounts_per_platform:
          type: integer
    AutoReplyProfileState:
      type: object
      properties:
        ready:
          type: boolean
        missing_fields:
          type: array
          items:
            type: string
    AutoReplyWarning:
      type: object
      properties:
        scope:
          type: string
        platform:
          type: string
        code:
          type: string
        severity:
          type: string
          enum:
            - warning
            - error
            - info
        message:
          type: string
        details:
          nullable: true
        retry_at:
          type: string
          nullable: true
        expires_at:
          type: string
          nullable: true
        updated_at:
          type: string
          nullable: true
    CapabilityTier:
      type: string
      enum:
        - free
        - starter
        - pro
        - business
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Use `Authorization: Bearer {api_key}`'

````

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