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

# Mappable source fields

> GET /webhook/hubspot/source-fields/

Lists the fields available from a Scanova source (a form, a lead list, or a QR Code's page component) to map into HubSpot properties. Exactly one source query parameter is required.

<Note>
  Requires the account's `INTEGRATION_HUBSPOT` quota.
</Note>

<ParamField query="form_id" type="string">
  A Form-builder form's `form_id` — extracts fields from the form's own field definitions.
</ParamField>

<ParamField query="lead_id" type="string">
  A lead list's `lead_id` — extracts fields from its captured-data schema.
</ParamField>

<ParamField query="qr_id" type="string">
  A QR Code's `qrid` — extracts fields from one of its embedded page components. Requires `form_type` alongside it.
</ParamField>

<ParamField query="form_type" type="string">
  Which embedded component to read when using `qr_id` — one of `custom_form`, `rsvp`, `feedback`.
</ParamField>

<RequestExample>
  ```bash cURL By form theme={null}
  curl --request GET \
    --url 'https://api.scanova.io/webhook/hubspot/source-fields/?form_id=f_8f2a1c' \
    --header 'Authorization: YOUR_API_KEY'
  ```

  ```bash cURL By QR page component theme={null}
  curl --request GET \
    --url 'https://api.scanova.io/webhook/hubspot/source-fields/?qr_id=Qa1b2c3d4e5f6g7h8&form_type=custom_form' \
    --header 'Authorization: YOUR_API_KEY'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "fields": [
      { "name": "email", "label": "Email address" },
      { "name": "full_name", "label": "Full name" }
    ]
  }
  ```
</ResponseExample>

`400` if none of `form_id`, `lead_id`, `qr_id` is provided. `404` if the referenced form/lead list/QR Code isn't owned by this account.

## Related

* [CRM properties](/api-reference/management-api/integrations/hubspot-properties) — the HubSpot side of the mapping.
* [Test a HubSpot configuration](/api-reference/management-api/integrations/hubspot-config-test)
* [Management API overview](/api-reference/management-api/overview) — the auth scheme and quota architecture this endpoint is part of.


## OpenAPI

````yaml api-reference/openapi/management-api.json GET /webhook/hubspot/source-fields/
openapi: 3.1.0
info:
  title: Scanova Management API (v2)
  description: >-
    The complete Scanova Management API — every endpoint available at
    api.scanova.io (QR codes, folders, tags, leads, forms, analytics, plans,
    shared users & roles), plus the token-creation and usage-stats endpoints
    used to authenticate against it. Every path and request/response shape below
    was verified live against a real API key and the actual running backend
    (Phase 7, 2026-08-16) — not guessed from reading urls.py alone.
  version: 2.0.0
servers:
  - url: https://api.scanova.io
    description: Management API — QR/folder/tag/lead/form/analytics/plans endpoints
security:
  - apiKeyAuth: []
paths:
  /webhook/hubspot/source-fields/:
    get:
      summary: Mappable source fields
      operationId: listManagedHubspotSourceFields
      parameters:
        - name: form_id
          in: query
          required: false
          schema:
            type: string
        - name: lead_id
          in: query
          required: false
          schema:
            type: string
        - name: qr_id
          in: query
          required: false
          schema:
            type: string
        - name: form_type
          in: query
          required: false
          schema:
            type: string
      responses:
        '200':
          description: Fields available from the given source.
          content:
            application/json:
              example:
                fields:
                  - name: email
                    label: Email address
        '400':
          description: None of form_id/lead_id/qr_id was provided.
        '404':
          description: The referenced source isn't owned by this account.
components:
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: >-
        Send your Management API key as the raw value of the Authorization
        header — no "Bearer " or "Token " prefix, and no other characters.
        Example: `Authorization: 401f7ac837da42b97f613d789819ff93537bee6a`. A
        header containing more than one space-separated part is rejected
        outright. Requests also require the request's Host header to be the
        management API host (e.g. api.scanova.io) — the same key sent to the
        regular API host will not authenticate.

````