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

# Vorlage anlegen

> Speichert ein Angebot als wiederverwendbare Vorlage.



## OpenAPI

````yaml assets/openapi-v2-offers.json post /offer-templates
openapi: 3.1.0
info:
  title: Fynn V2 Angebote API
  version: 2026-06
  description: >-
    REST API für Fynn Angebote. Damit legst du Angebote an, veröffentlichst sie
    für deine Empfänger, forderst elektronische Unterschriften an und liest die
    öffentliche Empfängeransicht. Angebote werden in der Regel im Wallet
    erstellt und vom Empfänger in der Offer-View angenommen. Diese API ist für
    Integrationen gedacht, die denselben Ablauf programmatisch abbilden.
    Authentifiziere die Verwaltungs-Endpunkte mit einem API-Token deiner
    Organisation. Die öffentlichen Endpunkte erreichst du über den persönlichen
    Einladungslink ohne Anmeldung.
servers:
  - url: https://coreapi.io
    description: Production
  - url: https://preview.coreapi.io
    description: Sandbox
security:
  - ApiToken: []
tags:
  - name: Offers
    description: Angebote anlegen, veröffentlichen und verwalten.
  - name: Offer templates
    description: Wiederverwendbare Angebotsvorlagen.
  - name: Public offer
    description: Öffentliche Empfängeransicht über den Einladungslink.
paths:
  /offer-templates:
    post:
      tags:
        - Offer templates
      summary: Vorlage anlegen
      description: Speichert ein Angebot als wiederverwendbare Vorlage.
      operationId: createOfferTemplate
      parameters: []
      requestBody:
        description: The new OfferTemplate resource
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OfferTemplate-OfferTemplateWrite'
        required: true
      responses:
        '201':
          description: OfferTemplate resource created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OfferTemplate-OfferTemplateRead'
          links: {}
        '400':
          description: Invalid input
        '422':
          description: Unprocessable entity
      deprecated: false
      security:
        - ApiToken: []
components:
  schemas:
    OfferTemplate-OfferTemplateWrite:
      type: object
      description: ''
      deprecated: false
      required:
        - name
      properties:
        name:
          type: string
        sections:
          type: array
          items:
            type: string
        type:
          default: section
          example: section
          type: string
          enum:
            - section
            - page
            - block
            - block_group
    OfferTemplate-OfferTemplateRead:
      type: object
      description: ''
      deprecated: false
      properties:
        id:
          readOnly: true
          type: string
        name:
          type: string
        sections:
          type: array
          items:
            type: string
        type:
          default: section
          example: section
          type: string
          enum:
            - section
            - page
            - block
            - block_group
      required:
        - name
  securitySchemes:
    ApiToken:
      type: http
      scheme: bearer
      description: >-
        API-Token der Organisation. Sende es als Authorization: Bearer api_...
        Das Token ist fest an genau eine Organisation gebunden.

````