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

# Create Offer Template

> Creates an offer template whose field definitions determine the
structure of offers created from it. The response includes the
template's full content.



## OpenAPI

````yaml /openapi.yaml post /api/offer_templates
openapi: 3.0.3
info:
  title: Lendflow API docs
  description: ''
  version: 1.0.0
servers:
  - url: https://api.lendflow.com
security:
  - default: []
tags:
  - name: Authentication
    description: >-

      Lendflow uses API Bearer Tokens to permit access to our API. You can
      register for a new Lendflow API key on our <a style="color:blue;"
      href="https://app.lendflow.com/login">client portal</a> in less than 60
      seconds. The Bearer Token needs to be included in all API requests made to
      the API Service in the following form: <div
      id="auth-example">Authorization: Bearer [YOUR_TOKEN]</div><div
      id="auth-reminder"><div id="edge-green"></div><div
      id="auth-reminder-text">You must replace [YOUR_TOKEN] with your personal
      API key.</div></div>
  - name: Access Tokens
    description: |-

      Create and manage the personal access tokens used to authenticate API
      requests.
  - name: Workflow Management
    description: |-

      Create applications and manage them through every stage of their workflow,
      from intake through decision.
  - name: Documents
    description: |-

      Upload, retrieve, and manage the files attached to an application.
  - name: Placements
    description: |-

      Submit applications to lenders and manage each placement through its
      lifecycle.
  - name: Offers
    description: |-

      Create and manage offers on an application, from initial terms through
      funding.
  - name: Smartviews
    description: |-

      Save and manage reusable application filters that organize your pipeline.
  - name: Workflow Templates
    description: |-

      Browse the workflow templates available for creating applications.
  - name: Consent Templates
    description: |-

      Manage the consent documents presented to applicants for signature.
  - name: Offer Templates
    description: |-

      Manage the templates that define the structure and fields of your offers.
  - name: Data Orchestration
    description: |-

      Run data orchestration templates against applications and review their
      execution logs.
  - name: Attributes
    description: |-

      Define computed attributes and evaluate them against your applications.
  - name: Scorecards
    description: |-

      Run scorecards and scorecard groups against applications and retrieve
      their results.
  - name: Entity Profiles
    description: |-

      Manage the reusable business and individual profiles shared across
      applications.
  - name: Organization
    description: |-

      Manage the users in your organization.
  - name: Metadata
    description: |-

      Attach custom key-value data to your applications and files.
paths:
  /api/offer_templates:
    post:
      tags:
        - Offer Templates
      summary: Create Offer Template
      description: |-
        Creates an offer template whose field definitions determine the
        structure of offers created from it. The response includes the
        template's full content.
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: Must not be greater than 255 characters.
                  example: b
                description:
                  type: string
                  description: Must not be greater than 1000 characters.
                  example: Et animi quos velit et fugiat.
                  nullable: true
                is_enabled:
                  type: boolean
                  description: ''
                  example: true
                is_default:
                  type: boolean
                  description: ''
                  example: false
                content:
                  type: object
                  description: ''
                  example: null
                  properties: {}
                product:
                  type: string
                  description: ''
                  example: arloc
                  enum:
                    - arloc
                    - line_of_credit
                    - receivables_purchase
                    - term_loan
                    - equipment_financing
                    - erc
                    - sba
                funder_id:
                  type: string
                  description: Must match an existing stored value.
                  example: architecto
              required:
                - name
                - is_enabled
                - is_default
                - product
                - funder_id
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                example:
                  data:
                    id: null
                    name: Ramiro Okuneva
                    description: Et fugiat sunt nihil accusantium.
                    product: equipment_financing
                    is_enabled: true
                    is_default: false
                    is_fallback: false
                    funder_id: 4c13f346-7f22-4628-9b19-bcbd74b27b4c
                    client_id: null
                    created_at: null
                    updated_at: null
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                        example: null
                        nullable: true
                      name:
                        type: string
                        example: Ramiro Okuneva
                      description:
                        type: string
                        example: Et fugiat sunt nihil accusantium.
                      product:
                        type: string
                        example: equipment_financing
                      is_enabled:
                        type: boolean
                        example: true
                      is_default:
                        type: boolean
                        example: false
                      is_fallback:
                        type: boolean
                        example: false
                      funder_id:
                        type: string
                        example: 4c13f346-7f22-4628-9b19-bcbd74b27b4c
                      client_id:
                        type: string
                        example: null
                        nullable: true
                      created_at:
                        type: string
                        example: null
                        nullable: true
                      updated_at:
                        type: string
                        example: null
                        nullable: true
components:
  securitySchemes:
    default:
      type: http
      scheme: bearer
      description: >-
        <br>You can register for a new Lendflow API key on our <a
        style="color:blue;" href="https://app.lendflow.com/login">client
        portal</a> in less than 60 seconds. The Bearer Token needs to be
        included in all API requests made to the API Service in the following
        form: <div id="auth-example">Authorization: Bearer
        [YOUR_TOKEN]</div><div id="auth-reminder"><div
        id="edge-green"></div><div id="auth-reminder-text">You must replace
        [YOUR_TOKEN] with your personal API key.</div></div>

````