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

# Change or accept a form value

> Changes one field’s value, checked against the field (a date, a choice among its options, a tick as yes or no), or with new_value null lets it fill from its source again. With accept true instead, accepts a value that waits for a check as it stands. Signatures and numbers Advisor never keeps, such as a tax file number, cannot be set. Answers with the value and the fill.



## OpenAPI

````yaml /openapi/advisor.json patch /clients/{client}/form_fills/{form_fill}/values/{value}
openapi: 3.1.0
info:
  title: Redbark Advisor API
  version: 2.0.0
  description: >-
    Read and write access to one advice firm in Redbark Advisor: clients,
    checklists, documents, money, messages, reports, team and webhooks. Send an
    API key or a connected app’s access token as a bearer token. A credential
    carries scopes, one read and one write per area, and each call says the
    scope it needs. A write scope brings its read scope. Each key may make 120
    requests a minute.
servers:
  - url: https://advisor.redbark.com/api/v1
security:
  - bearerAuth: []
tags:
  - name: Firm
    description: The firm, its name and its branding.
  - name: Team
    description: Team members and their roles.
  - name: Clients
    description: Clients, their people and portal invites.
  - name: Checklists
    description: Checklist templates, the checklists sent to clients and their answers.
  - name: Documents
    description: Documents clients upload and the details read from them.
  - name: Money
    description: Bank connections, accounts, balances and transactions.
  - name: Document types
    description: Document types, their fields and the client facts they fill.
  - name: Forms
    description: Forms filled for clients, their values, and the firm’s Forms library.
  - name: Messages
    description: Messages between the firm and clients.
  - name: Reports
    description: Reports exported for clients.
  - name: Meetings
    description: Client meetings, their agendas, transcripts, File notes and actions.
  - name: Webhooks
    description: Webhook endpoints and their deliveries.
  - name: Webhook events
    description: Events sent to your webhook endpoints.
paths:
  /clients/{client}/form_fills/{form_fill}/values/{value}:
    patch:
      tags:
        - Forms
      summary: Change or accept a form value
      description: >-
        Changes one field’s value, checked against the field (a date, a choice
        among its options, a tick as yes or no), or with new_value null lets it
        fill from its source again. With accept true instead, accepts a value
        that waits for a check as it stands. Signatures and numbers Advisor
        never keeps, such as a tax file number, cannot be set. Answers with the
        value and the fill.
      operationId: update_form_fill_value
      parameters:
        - name: client
          in: path
          required: true
          schema:
            type: string
            minLength: 1
            maxLength: 60
            description: The client id, from list_clients.
        - name: form_fill
          in: path
          required: true
          schema:
            type: string
            minLength: 1
            maxLength: 60
            description: The form fill id, from list_form_fills.
        - name: value
          in: path
          required: true
          schema:
            type: string
            minLength: 1
            maxLength: 60
            description: The value id, from list_form_fill_values.
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                new_value:
                  anyOf:
                    - anyOf:
                        - type: string
                          maxLength: 2000
                        - type: 'null'
                    - type: 'null'
                  description: >-
                    The value to write, or null to fill it from its source
                    again.
                accept:
                  anyOf:
                    - type: boolean
                      enum:
                        - true
                    - type: 'null'
                  description: Accept the value that waits for a check, as it stands.
      responses:
        '200':
          description: Success.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdatedFormFillValue'
        '400':
          description: The request is not valid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: The API key or access token is missing, wrong, expired or revoked.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '402':
          description: >-
            subscription_required: the firm has no active subscription, so it
            cannot add or invite clients or send checklists. plan_seat_limit:
            the firm’s plan has no room for the change, such as a second advisor
            on Solo or a 21st team member on Firm.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: >-
            The credential lacks the scope this call needs, the call is for
            admins only, or the member it acts as has left the firm.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: No such resource in this firm.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: >-
            The resource is in a state that does not allow this, such as an
            archived client.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '413':
          description: The request body is too large.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Too many requests. See the Retry-After header.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Something went wrong on our side. Try again.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearerAuth:
            - forms:write
components:
  schemas:
    UpdatedFormFillValue:
      type: object
      properties:
        object:
          type: string
          enum:
            - form_fill_value
        id:
          type: string
        field_id:
          type: string
        label:
          type: string
        type:
          type: string
          enum:
            - text
            - checkbox
            - radio
            - dropdown
            - option_list
            - signature
            - table
            - unknown
        section:
          anyOf:
            - type: string
            - type: 'null'
        page:
          type: number
        role:
          anyOf:
            - type: string
            - type: 'null'
        state:
          type: string
          enum:
            - filled
            - to_check
            - missing
            - left_for_client
          description: >-
            filled, to_check (a member checks it before the form downloads),
            missing, or left_for_client (signatures and numbers Advisor never
            keeps).
        value:
          anyOf:
            - type: string
            - type: 'null'
          description: What is written to the form, formatted for the field.
        display:
          type: string
          description: The value as a person reads it.
        proposed_value:
          anyOf:
            - type: string
            - type: 'null'
          description: The value found, while it waits for a check.
        source:
          anyOf:
            - type: object
              properties:
                kind:
                  type: string
                  enum:
                    - fact
                    - person
                    - account
                    - firm
                    - derived
                    - checklist_answer
                    - member
                label:
                  type: string
                fact_id:
                  anyOf:
                    - type: string
                    - type: 'null'
                person_id:
                  anyOf:
                    - type: string
                    - type: 'null'
                account_id:
                  anyOf:
                    - type: string
                    - type: 'null'
                member_id:
                  anyOf:
                    - type: string
                    - type: 'null'
                checklist_item_id:
                  anyOf:
                    - type: string
                    - type: 'null'
              required:
                - kind
                - label
                - fact_id
                - person_id
                - account_id
                - member_id
                - checklist_item_id
              additionalProperties: true
              description: Where the value came from.
            - type: 'null'
        to_check_reason:
          anyOf:
            - type: string
              enum:
                - runs_disagreed
                - fact_old
                - sources_disagree
                - low_confidence
                - overflows
                - not_an_option
                - fund_type_unknown
                - provider_unclear
                - owner_unclear
                - depends_on_choice
                - answer_differs
                - business_unclear
                - firm_unclear
                - several_funds
                - state_box_unseen
                - printed_differs
            - type: 'null'
        edited_by_member_id:
          anyOf:
            - type: string
            - type: 'null'
        reviewed_at:
          anyOf:
            - type: string
              description: An ISO 8601 time in UTC.
            - type: 'null'
        form_fill:
          $ref: '#/components/schemas/FormFill'
      required:
        - object
        - id
        - field_id
        - label
        - type
        - section
        - page
        - role
        - state
        - value
        - display
        - proposed_value
        - source
        - to_check_reason
        - edited_by_member_id
        - reviewed_at
        - form_fill
      additionalProperties: true
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            type:
              type: string
              enum:
                - invalid_request_error
                - authentication_error
                - permission_error
                - rate_limit_error
                - api_error
            code:
              type: string
            message:
              type: string
            param:
              anyOf:
                - type: string
                - type: 'null'
            request_id:
              type: string
          required:
            - type
            - code
            - message
            - param
            - request_id
          additionalProperties: true
      required:
        - error
      additionalProperties: true
    FormFill:
      type: object
      properties:
        object:
          type: string
          enum:
            - form_fill
        id:
          type: string
        number:
          type: number
        client_id:
          type: string
        name:
          type: string
        form_id:
          anyOf:
            - type: string
            - type: 'null'
          description: The library form it was filled from, or null for a one-off upload.
        layout_id:
          type: string
        group_id:
          anyOf:
            - type: string
            - type: 'null'
          description: Fills made together for each member of a couple share it.
        status:
          type: string
          enum:
            - draft
            - waiting_on_client
            - ready
          description: >-
            draft (values to check or missing), waiting_on_client (asked through
            a checklist item) or ready (nothing left to check or give; it can be
            downloaded).
        detection:
          type: string
          enum:
            - waiting
            - running
            - ready
            - failed
          description: >-
            Finding the form’s fields: waiting or running while we read a new
            form, ready, or failed.
        mapped:
          type: boolean
          description: >-
            Whether the form’s fields are matched to sources yet. A new form
            takes up to two minutes.
        people:
          type: array
          items:
            type: object
            properties:
              role:
                type: string
                description: The place on the form, such as applicant_1.
              person_id:
                type: string
            required:
              - role
              - person_id
            additionalProperties: true
          description: Which client person is each person on the form.
        checklist_item_id:
          anyOf:
            - type: string
            - type: 'null'
          description: The checklist item that asked the client for the missing fields.
        counts:
          type: object
          properties:
            filled:
              type: number
            to_check:
              type: number
            missing:
              type: number
            left_for_client:
              type: number
          required:
            - filled
            - to_check
            - missing
            - left_for_client
          additionalProperties: true
          description: How many fields are in each state.
        created_at:
          type: string
          description: An ISO 8601 time in UTC.
        updated_at:
          type: string
          description: An ISO 8601 time in UTC.
        downloaded_at:
          anyOf:
            - type: string
              description: An ISO 8601 time in UTC.
            - type: 'null'
      required:
        - object
        - id
        - number
        - client_id
        - name
        - form_id
        - layout_id
        - group_id
        - status
        - detection
        - mapped
        - people
        - checklist_item_id
        - counts
        - created_at
        - updated_at
        - downloaded_at
      additionalProperties: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        A firm API key, shown once when it is made, or a connected app’s OAuth
        access token. Each operation lists the scope it needs, such as
        clients:write.

````

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