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

# Upload Placeholder Image

> Upload a placeholder image file. Returns gcs_path and signed_url for inclusion in placeholder data.

This endpoint only handles file upload - it does NOT modify question data.
The frontend should include the returned gcs_path in the placeholder data when saving the template.



## OpenAPI

````yaml post /notes/templates/questions/{question_id}/placeholders/upload
openapi: 3.1.0
info:
  title: Decoda API
  description: External API documentation for the Decoda Health platform.
  version: '1.0'
servers: []
security: []
paths:
  /notes/templates/questions/{question_id}/placeholders/upload:
    post:
      tags:
        - provider
        - scribe
        - note
        - templates
      summary: Upload Placeholder Image
      description: >-
        Upload a placeholder image file. Returns gcs_path and signed_url for
        inclusion in placeholder data.


        This endpoint only handles file upload - it does NOT modify question
        data.

        The frontend should include the returned gcs_path in the placeholder
        data when saving the template.
      operationId: >-
        upload_placeholder_image_notes_templates_questions__question_id__placeholders_upload_post
      parameters:
        - name: TENANT
          in: header
          required: true
          schema:
            type: string
            title: Tenant
          description: The tenant you are making this request on behalf of
        - name: API-KEY
          in: header
          required: true
          schema:
            type: string
            title: Api-Key
          description: Your api key
        - name: question_id
          in: path
          required: true
          schema:
            type: string
            title: Question Id
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: >-
                #/components/schemas/Body_upload_placeholder_image_notes_templates_questions__question_id__placeholders_upload_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TemplateAttachmentUploadResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    Body_upload_placeholder_image_notes_templates_questions__question_id__placeholders_upload_post:
      properties:
        file:
          type: string
          format: binary
          title: File
      type: object
      required:
        - file
      title: >-
        Body_upload_placeholder_image_notes_templates_questions__question_id__placeholders_upload_post
    TemplateAttachmentUploadResponse:
      properties:
        gcsPath:
          type: string
          title: Gcspath
        signedUrl:
          type: string
          title: Signedurl
        originalFilename:
          type: string
          title: Originalfilename
      type: object
      required:
        - gcsPath
        - signedUrl
        - originalFilename
      title: TemplateAttachmentUploadResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````