---
title: "POST /api/openai/pdfs"
method: POST
path: "/api/openai/pdfs"
---

# POST /api/openai/pdfs

`POST /api/openai/pdfs`

Fill an existing template's text and picture layers with content and create a pdf; refetch `api/openai/templates` if you cant find the template

## Request body

- CreatePdfLayerPayload — The payload to define the content of layers
  - `template_uuid` string — The UUID of the template
  - `layer_modifications` object[] — This array holds a list of template layer modifications
    - `layer_name` string, required — The name of the layer
    - `property_name` 'image' | 'video' | 'text', required — These are the different properties currently supported by this model.
    - `property_value` string, required

## Response `200`

OK

---

[API](https://skmtc.net/placid/apis/placid-natural-language-api.md) · [All operations](https://skmtc.net/placid/apis/placid-natural-language-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/placid/placid-natural-language-api/versions/38d825ae5705/schema)
