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

# Pull Title Data

> Pull or resync data for an existing title entry



## OpenAPI

````yaml POST /title/{id}/data
openapi: 3.0.1
info:
  title: Cardinal Gray OpenAPI
  description: OpenAPI for automating vehicle title work
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://dev.cardinalgray.com
    description: Development
  - url: https://api.cardinalgray.com
    description: Production
security:
  - bearerAuth: []
paths:
  /title/{id}/data:
    post:
      description: Pull or update data for an existing title entry
      parameters:
        - $ref: '#/components/parameters/id'
      requestBody:
        description: Data sources to fetch from
        content:
          application/json:
            schema:
              type: object
              properties:
                sync_nmvtis:
                  type: boolean
                  description: >-
                    Fetch data from NMVTIS (National Motor Vehicle Title
                    Information System)
                  default: false
                sync_public:
                  type: boolean
                  description: Fetch data from public DMV websites.
                  default: false
                sync_private:
                  type: boolean
                  description: >-
                    Fetch vehicle title and registrant information from private
                    DMV portals.
                  default: false
                dppa_exemption:
                  type: string
                  description: >-
                    Driver's Privacy Protection Act exemption code; required if
                    sync_nmvtis or sync_private is set to true,
                  default: legitimate_business_need
        required: true
      responses:
        '200':
          description: Data enrichment or processing initiated successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  entryId:
                    type: string
                    description: ID of the title entry being processed
                  job_status:
                    $ref: '#/components/schemas/JobStatus'
                    description: Will be 'enriching' if successful, 'error' if failed
                    example: enriching
                required:
                  - entryId
                  - job_status
        '400':
          description: Invalid request parameters or title entry not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Response'
        '403':
          description: Organization lacks necessary permissions
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Response'
        '500':
          $ref: '#/components/responses/InternalServerError'
      security:
        - bearerAuth: []
components:
  parameters:
    id:
      name: id
      in: path
      required: true
      schema:
        type: string
      description: Unique identifier of the title entry
  schemas:
    JobStatus:
      type: string
      enum:
        - pending
        - input_parsing
        - enriching
        - generating_forms
        - complete
        - error
      description: >-
        Processing status of the title entry workflow. Statuses: 'pending' -
        Initial state when job is created; 'input_parsing' - Processing uploaded
        documents and extracting data; 'enriching' - Enriching data with
        NMVTIS/DMV data or calculating fees; 'generating_forms' - Generating DMV
        forms for submission; 'complete' - Successfully completed all
        processing; 'error' - Error state for any processing failures
    Response:
      type: object
      properties:
        error:
          type: string
          description: Error message
        statusCode:
          type: number
          description: HTTP status code
  responses:
    InternalServerError:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Response'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````