> 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

Insert text to a given text shape

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="https://1155212587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mgoqdluo05I2RXHZpTr-887967055%2Fuploads%2Fa5yaY10YHgXKpUttQ5A7%2Ftemplate.png?alt=media&amp;token=99c4abc4-c3d1-4c18-9bae-31af1b5e9150" alt=""><figcaption></figcaption></figure>

***

<figure><img src="https://1155212587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mgoqdluo05I2RXHZpTr-887967055%2Fuploads%2FJjgqgc9NQJsRTEbONtdd%2Foutput.png?alt=media&amp;token=593bd38f-7c65-4d57-8820-cb3d64547a37" 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 %}
