> For the complete documentation index, see [llms.txt](https://docs.powerpointgeneratorapi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.powerpointgeneratorapi.com/examples/text-shape/add-text.md).

# Add text

1. Select the shape by `name` you want to modify. See [here](/knowledge-base/finding-shape-names.md) to find shape names.
2. Use the `text` field to assign new text to the shape.

Reference: [textbox](/json-template-syntax/shapes/textbox.md)

Download: [input.zip](https://drive.google.com/uc?export=download\&id=1CTmGoTD2KN3_zZS3cA7_AakBkxnD8Pff) | [output.pptx](https://drive.google.com/uc?export=download\&id=17ETLu1CxO2SGK2vFTLC5copByznJhcX2)

{% columns %}
{% column width="41.66666666666667%" %}

<figure><img src="/files/oBEixzRrCBTWLiWYbATs" alt=""><figcaption></figcaption></figure>

***

<figure><img src="/files/nPDcKQ5uY6F9h36C2qz2" alt=""><figcaption></figcaption></figure>
{% endcolumn %}

{% column width="58.33333333333333%" %}
{% code lineNumbers="true" %}

```json
{
  "presentation": {
    "template": "template.pptx",
    "slides": [
      {
        "slide_index": 0,
        "shapes": [
          {
            "name": "Title 1",
            "text": "Automate PowerPoint Generation"
          },
          {
            "name": "Subtitle 2",
            "text": "Create, fill and manage PowerPoint documentations through simple API requests."
          }
        ]
      }
    ]
  }
}

```

{% endcode %}
{% endcolumn %}
{% endcolumns %}
